org.datamanager.activeentityvalue
Class AttributeCounterEntityValue
java.lang.Object
|
+--org.datamanager.activeentityvalue.AttributeCounterEntityValue
- All Implemented Interfaces:
- ActiveEntityValue, EntityValue, Serializable
- public class AttributeCounterEntityValue
- extends Object
- implements ActiveEntityValue
Reports the number of attributes currently attached to an entity.
This class is presently unused. It's here as an example.
- See Also:
- Serialized Form
Method Summary |
EntityValue |
getEntityValue()
Report an EntityValue containing the number of attributes
currently attached to the entity that this active entity value
works on. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeCounterEntityValue
public AttributeCounterEntityValue(Entity entity)
- Sets the entity this active entity value works on.
(Note that this may be different from the entity that
this active entity value is stored in)
getEntityValue
public EntityValue getEntityValue()
throws DataManagerException
- Report an EntityValue containing the number of attributes
currently attached to the entity that this active entity value
works on.
- Specified by:
getEntityValue
in interface ActiveEntityValue
- Returns:
- The EntityValue generated by this ActiveEntityValue.
DataManagerException
See the Helium Website