|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IEntity
It is an interface for the entities which stores a row of data
| Method Summary | |
|---|---|
void |
add(java.lang.String key,
java.lang.Object value)
Adds the attribute name and attribute value |
SyncEntity.ChangeType |
getChangeType()
Returns the change type of the entity. |
java.util.Map<java.lang.String,java.lang.Object> |
getData()
Returns the entity data in a map, where keys are the attribute names and values are corresponding attribute values |
java.lang.String |
getID()
|
java.util.Set<java.lang.String> |
getKeys()
Returns the primary key information of the entity |
EntityType |
getType()
Returns the EntityType object,
which will have the meta information of the entity |
java.lang.String |
getURI()
|
java.lang.Object |
getValue(java.lang.String key)
Returns the attribute value for a specified attribute |
void |
setChangeType(SyncEntity.ChangeType changeType)
Sets the change type of the entity |
| Method Detail |
|---|
java.lang.String getID()
java.lang.String getURI()
java.lang.Object getValue(java.lang.String key)
key - Attribute Name
void add(java.lang.String key,
java.lang.Object value)
key - Attribute Namevalue - Attribute ValueEntityType getType()
EntityType object,
which will have the meta information of the entity
java.util.Set<java.lang.String> getKeys()
java.util.Map<java.lang.String,java.lang.Object> getData()
SyncEntity.ChangeType getChangeType()
void setChangeType(SyncEntity.ChangeType changeType)
changeType -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||