|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Actor
Actors are any entity (such as nouns). Also known as nodes. They have properties and participate in links (relations, arcs, edges).
| Method Summary | |
|---|---|
void |
add(Property prop)
Add the given property to this user. |
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getID()
Return the id (unique within its type) |
java.lang.String |
getMode()
Returns the type (mode) of this actor |
java.util.List<Property> |
getProperty()
Return an array of all properties associated with this actor. |
Property |
getProperty(java.lang.String ID)
Return the property with the given value. |
void |
init(Properties properties)
|
Actor |
prototype()
Return a copy of this Actor that is equal by compareTo() |
void |
removeProperty(java.lang.String ID)
Remove a given property from this actor |
void |
setID(java.lang.String id)
Sets an id unique (which must be its type). |
void |
setMode(java.lang.String type)
Set the type (mode) of this actor. |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
java.lang.String getID()
void setID(java.lang.String id)
id - ID this actor should be set tojava.util.List<Property> getProperty()
Property getProperty(java.lang.String ID)
ID - key-name for the property.
void removeProperty(java.lang.String ID)
ID - key-name of property to remove.void add(Property prop)
prop - property to be addedvoid setMode(java.lang.String type)
type - new type (mode) of this actorjava.lang.String getMode()
Actor prototype()
boolean equals(java.lang.Object o)
equals in class java.lang.Objectvoid init(Properties properties)
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||