public class Entity extends Object implements TraitableBean<Entity,Entity>, Serializable
FIELDTMS_FIELD_NAME, MAP_FIELD_NAME, TRAITSET_FIELD_NAME| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
_getDynamicProperties() |
TraitFieldTMS |
_getFieldTMS() |
Map<String,Thing<Entity>> |
_getTraitMap() |
void |
_setBottomTypeCode(BitSet bottomTypeCode) |
void |
_setDynamicProperties(Map map) |
void |
_setFieldTMS(TraitFieldTMS __$$field_Tms$$) |
void |
_setTraitMap(Map map) |
void |
addTrait(String type,
Thing proxy) |
boolean |
equals(Object o) |
BitSet |
getCurrentTypeCode() |
String |
getId() |
Collection<Thing> |
getMostSpecificTraits() |
Thing |
getTrait(String type) |
Collection<String> |
getTraits() |
int |
hashCode() |
boolean |
hasTrait(String type) |
boolean |
hasTraits() |
boolean |
isTraitMapInitialized() |
Collection<Thing<Entity>> |
removeTrait(BitSet typeCode) |
Collection<Thing<Entity>> |
removeTrait(String type) |
void |
setId(String id) |
String |
toString() |
public Entity()
public Entity(String id)
public String getId()
public void setId(String id)
public Map<String,Object> _getDynamicProperties()
_getDynamicProperties in interface TraitableBean<Entity,Entity>public void _setDynamicProperties(Map map)
_setDynamicProperties in interface TraitableBean<Entity,Entity>public TraitFieldTMS _getFieldTMS()
_getFieldTMS in interface TraitableBean<Entity,Entity>public void _setFieldTMS(TraitFieldTMS __$$field_Tms$$)
_setFieldTMS in interface TraitableBean<Entity,Entity>public void _setTraitMap(Map map)
_setTraitMap in interface TraitableBean<Entity,Entity>public Map<String,Thing<Entity>> _getTraitMap()
_getTraitMap in interface TraitableBean<Entity,Entity>public void addTrait(String type, Thing proxy) throws LogicalTypeInconsistencyException
addTrait in interface TraitableBean<Entity,Entity>LogicalTypeInconsistencyExceptionpublic Thing getTrait(String type)
getTrait in interface TraitableBean<Entity,Entity>public boolean hasTrait(String type)
hasTrait in interface TraitableBean<Entity,Entity>public boolean hasTraits()
hasTraits in interface TraitableBean<Entity,Entity>public Collection<Thing<Entity>> removeTrait(String type)
removeTrait in interface TraitableBean<Entity,Entity>public Collection<Thing<Entity>> removeTrait(BitSet typeCode)
removeTrait in interface TraitableBean<Entity,Entity>public Collection<String> getTraits()
getTraits in interface TraitableBean<Entity,Entity>public Collection<Thing> getMostSpecificTraits()
getMostSpecificTraits in interface TraitableBean<Entity,Entity>public BitSet getCurrentTypeCode()
getCurrentTypeCode in interface TraitableBean<Entity,Entity>public boolean isTraitMapInitialized()
public void _setBottomTypeCode(BitSet bottomTypeCode)
_setBottomTypeCode in interface TraitableBean<Entity,Entity>Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.