|
||||||||||
| 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(Page page)
Add a Page object to this class. |
void |
add(Property prop)
Add the given property to this user. |
Actor |
duplicate()
Return a copy of this Actor that is equal by compareTo() |
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getID()
Return the id (unique within its type) |
Page[] |
getPage()
Returns the set of all page objects associated with this actor or null if no page objects havee been created |
Page |
getPage(java.lang.String ID)
Return the page with the given ID (usually a URI String) or null iuf it doesn't exist |
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. |
java.lang.String |
getType()
Returns the type (mode) of this actor |
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 |
setType(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 toProperty[] 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 addedPage[] getPage()
Page getPage(java.lang.String ID)
ID - id of the page to be returned
void add(Page page)
page - Page to be added.void setType(java.lang.String type)
type - new type (mode) of this actorjava.lang.String getType()
Actor duplicate()
boolean equals(java.lang.Object o)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||