public final class Edge
extends java.lang.Object
Constructor and Description |
---|
Edge(Node subject,
Node predicate,
Node object)
Constructor to set subject, predicate and object of edge.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlias()
Get the alias of edge.
|
boolean |
getIsAttributeEdge()
This method get if this edge is attribute edge or not.
|
Node |
getObject()
Get the object of edge.
|
Node |
getPredicate()
Get the predicate of edge.
|
Node |
getSubject()
Get the subject of edge.
|
void |
setAlias(java.lang.String alias)
Set the alias value of edge.
|
public Node getSubject()
public Node getObject()
public java.lang.String getAlias()
public Node getPredicate()
public void setAlias(java.lang.String alias)
alias
- A string to be set as alias value.public boolean getIsAttributeEdge()