All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.util.entity.Entity

java.lang.Object
   |
   +----semper.util.entity.Entity

public class Entity
extends Object
implements Serializable, Cloneable

Constructor Index

 o Entity()
 o Entity(String)
Construct a Entity object with name

Method Index

 o clone()
redefine clone so that anyone can make clones of us; this is useful in accessor methods of other classes that have an object of this class as an attribute.
 o getName()
Retrieve the name of the entity.
 o setName(String)
Set the name of the entity.
 o toString()
redefine toString() for pretty printing

Constructors

 o Entity
 public Entity(String name)
Construct a Entity object with name

Parameters:
name - of entity
 o Entity
 public Entity()

Methods

 o setName
 public synchronized void setName(String name)
Set the name of the entity.

Parameters:
name - of the entity
 o getName
 public String getName()
Retrieve the name of the entity.

Returns:
name of the entity
 o toString
 public String toString()
redefine toString() for pretty printing

Overrides:
toString in class Object
 o clone
 public synchronized Object clone()
redefine clone so that anyone can make clones of us; this is useful in accessor methods of other classes that have an object of this class as an attribute.

Overrides:
clone in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index