public interface Relationship extends java.lang.Comparable<Relationship>
Modifier and Type | Method and Description |
---|---|
boolean |
checkHashCode() |
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.Date |
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.Date |
getCreationDate()
Return the date the relationship was created.
|
java.lang.Long |
getId() |
int |
getIndex()
Return the index of the relationships in the source's relationships of that type.
|
Vertex |
getMeta() |
Vertex |
getSource() |
Vertex |
getTarget() |
Vertex |
getType() |
boolean |
hasIndex()
Return if the relationship has an index (preset order).
|
boolean |
hasMeta() |
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.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.Date creationDate)
Set the date the relationship was created.
|
void |
setId(java.lang.Long id)
Set the relationship id.
|
void |
setIndex(int index)
Set the index of the relationships in the source's relationships of that type.
|
void |
setMeta(Vertex meta) |
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) |
java.lang.Long getId()
Vertex getSource()
Vertex getTarget()
Vertex getType()
Vertex getMeta()
boolean hasMeta()
float getCorrectness()
void setCorrectness(float correctness)
boolean isInverse()
void setId(java.lang.Long id)
void setSource(Vertex source)
void setTarget(Vertex target)
void setType(Vertex type)
void setMeta(Vertex meta)
int getIndex()
void setIndex(int index)
boolean hasIndex()
java.util.Date getCreationDate()
void setCreationDate(java.util.Date creationDate)
java.util.Date getAccessDate()
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)
boolean checkHashCode()