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
-
Entity()
-
-
Entity(String)
- Construct a Entity object with name
-
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.
-
getName()
- Retrieve the name of the entity.
-
setName(String)
- Set the name of the entity.
-
toString()
- redefine toString() for pretty printing
Entity
public Entity(String name)
- Construct a Entity object with name
- Parameters:
- name - of entity
Entity
public Entity()
setName
public synchronized void setName(String name)
- Set the name of the entity.
- Parameters:
- name - of the entity
getName
public String getName()
- Retrieve the name of the entity.
- Returns:
- name of the entity
toString
public String toString()
- redefine toString() for pretty printing
- Overrides:
- toString in class Object
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