|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Relationship
Relationship between two vertices. The relation itself is a vertex as it has an identity associated to it, and the relation may be related to other relations/vertices.
Method Summary | |
---|---|
void |
decrementConsciousnessLevel()
Decrease the relationship's level of consciousness. |
void |
decrementConsciousnessLevel(int amount)
Decrease the relationship's level of consciousness by the amount. |
int |
getAccessCount()
Return the number of times the relationship has been accessed. |
java.util.Calendar |
getAccessDate()
Return the date the relationship was last accessed. |
int |
getConsciousnessLevel()
Return the relationship's level of consciousness. |
float |
getCorrectness()
Return the fuzzy value of the certainty of the relationship's correctness. |
java.util.Calendar |
getCreationDate()
Return the date the relationship was created. |
int |
getIndex()
Return the index of the relationships in the source's relationships of that type. |
Vertex |
getSource()
|
Vertex |
getTarget()
|
Vertex |
getType()
|
boolean |
hasIndex()
Return if the relationship has an index (preset order). |
void |
incrementAccessCount()
Record that the relationship was accessed, update the access time and increment the access count. |
void |
incrementConsciousnessLevel()
Increase the relationship's level of consciousness. |
void |
incrementConsciousnessLevel(int amount)
Increase the relationship's level of consciousness by the amount. |
boolean |
isInverse()
Return if the relationship is inverse, i.e. |
boolean |
isPinned()
Return if the relationship is pinned to memory, and will not be forgotten. |
void |
setAccessCount(int accessCount)
Set the number of times the relationship has been accessed. |
void |
setAccessDate(java.util.Calendar accessDate)
Set the date the relationship was last accessed. |
void |
setAccessDate(java.util.Date accessDate)
Set the date the relationship was last accessed. |
void |
setConsciousnessLevel(int consciousnessLevel)
Set the relationship's level of consciousness. |
void |
setCorrectness(float correctness)
Set the fuzzy value of the certainty of the relationship's correctness. |
void |
setCreationDate(java.util.Calendar creationDate)
Set the date the relationship was created. |
void |
setCreationDate(java.util.Date creationDate)
Set the date the relationship was created. |
void |
setIndex(int index)
Set the index of the relationships in the source's relationships of that type. |
void |
setPinned(boolean pinned)
Set if the relationship should be pinned to memory. |
void |
setSource(Vertex source)
|
void |
setTarget(Vertex target)
|
void |
setType(Vertex type)
|
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
Vertex getSource()
Vertex getTarget()
Vertex getType()
float getCorrectness()
void setCorrectness(float correctness)
boolean isInverse()
void setSource(Vertex source)
void setTarget(Vertex target)
void setType(Vertex type)
int getIndex()
void setIndex(int index)
boolean hasIndex()
java.util.Calendar getCreationDate()
void setCreationDate(java.util.Calendar creationDate)
void setCreationDate(java.util.Date creationDate)
java.util.Calendar getAccessDate()
void setAccessDate(java.util.Calendar accessDate)
void setAccessDate(java.util.Date accessDate)
int getAccessCount()
void setAccessCount(int accessCount)
void incrementAccessCount()
void incrementConsciousnessLevel()
void incrementConsciousnessLevel(int amount)
void decrementConsciousnessLevel()
void decrementConsciousnessLevel(int amount)
int getConsciousnessLevel()
void setConsciousnessLevel(int consciousnessLevel)
boolean isPinned()
void setPinned(boolean pinned)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |