public class EntityMap.Entity
extends java.lang.Object
Constructor and Description |
---|
EntityMap.Entity() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttribute(java.lang.String attributeName,
java.lang.String defaultVal)
Gets the value that is associated with the given attribute within this
entity or defaultVal if there is no value associated with the given
attribute.
|
java.lang.String |
getID()
Return the identifier (handle) for this entity
|
boolean |
hasID(java.lang.String id)
Returns true if this entity has the given ID
|
void |
setAttribute(java.lang.String attributeName,
java.lang.String attributeVal)
Sets the value that is associated with the given attribute within this entity
|
java.lang.String |
toString() |
public boolean hasID(java.lang.String id)
public java.lang.String getID()
public void setAttribute(java.lang.String attributeName, java.lang.String attributeVal)
public java.lang.String getAttribute(java.lang.String attributeName, java.lang.String defaultVal)
public java.lang.String toString()
toString
in class java.lang.Object