|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Entity
Entity is the interface for object that represent data from the underlying enterprise information systems.
| Method Summary | |
|---|---|
void |
addData(Object key,
Object value)
Add a piece of information to this Entity |
void |
addLabel(String label)
Add a label to this entity. |
void |
addLabels(Set<String> labels)
Add a set of labels to this entity. |
void |
addTransientData(Object key,
Object value)
Add a piece of transient information to this Entity. |
Map<Object,Object> |
getData()
|
Object |
getData(Object key)
|
String |
getDestination()
|
Object |
getID()
|
Set<String> |
getLabels()
|
Map<Object,Object> |
getTransientData()
|
void |
setData(Map<Object,Object> data)
Set the entire set of data this Entity contains |
void |
setDestination(String destination)
Set the destination (i.e. |
void |
setLabels(Set<String> labels)
Set the set of labels for this entity. |
void |
setTransientData(Map<Object,Object> data)
Set the entire set of transient data this Entity contains |
| Method Detail |
|---|
Object getID()
void addData(Object key,
Object value)
key - the key used to store and retrieve the informationvalue - the information to add
void addTransientData(Object key,
Object value)
key - the key used to store and retrieve the informationvalue - the information to addMap<Object,Object> getData()
Map<Object,Object> getTransientData()
Object getData(Object key)
key - the key with which to get a piece of information
void setData(Map<Object,Object> data)
data - the new datavoid setTransientData(Map<Object,Object> data)
data - the new datavoid addLabel(String label)
label - the label to addvoid addLabels(Set<String> labels)
labels - the set of labels to addSet<String> getLabels()
void setLabels(Set<String> labels)
labels - the new set of labelsString getDestination()
void setDestination(String destination)
destination - the new destination
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||