public abstract class AbstractEntity
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
AbstractEntity()
Public constructor to be used by Entity Type Managers
|
AbstractEntity(java.lang.String entityId,
boolean childEntity)
Internal constructor used by EntityTypeManagerHelper.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAttribute(java.lang.String attrName) |
java.util.Set |
getAttributeNames() |
java.util.HashMap |
getAttributes() |
java.lang.String |
getEntityId() |
abstract java.lang.String |
getEntityType() |
boolean |
isChildEntity() |
void |
setAttribute(java.lang.String attrName,
java.lang.Object attrVal) |
java.lang.String |
toString() |
public AbstractEntity()
public AbstractEntity(java.lang.String entityId, boolean childEntity)
entityId
- childEntity
- public abstract java.lang.String getEntityType()
public java.lang.String getEntityId()
public void setAttribute(java.lang.String attrName, java.lang.Object attrVal)
public java.lang.Object getAttribute(java.lang.String attrName)
public java.util.HashMap getAttributes()
public java.util.Set getAttributeNames()
public boolean isChildEntity()
public java.lang.String toString()
toString
in class java.lang.Object