
public abstract class AbstractRelation extends Object implements Relation
| Constructor and Description |
|---|
AbstractRelation(ContextNode contextNode) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Relation other) |
void |
delete()
Deletes this relation.
|
boolean |
equals(Object object) |
Node |
follow()
Follows the relation to the target node.
|
ContextNode |
followContextNode()
Follows the relation to the target context node.
|
LiteralNode |
followLiteralNode()
Follows the relation to the target literal node.
|
ContextNode |
getContextNode()
Every relation has a context node from which it originates.
|
Graph |
getGraph()
Get the graph of this relation.
|
Statement.RelationStatement |
getStatement()
Gets the statement that represents this relation.
|
int |
hashCode() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetTargetXDIAddress, getXDIAddresspublic AbstractRelation(ContextNode contextNode)
public Graph getGraph()
Relationpublic ContextNode getContextNode()
RelationgetContextNode in interface Relationpublic void delete()
Relationpublic Node follow()
Relationpublic ContextNode followContextNode()
RelationfollowContextNode in interface Relationpublic LiteralNode followLiteralNode()
RelationfollowLiteralNode in interface Relationpublic Statement.RelationStatement getStatement()
RelationgetStatement in interface Relationpublic int compareTo(Relation other)
compareTo in interface Comparable<Relation>Copyright © 2017. All rights reserved.