Class AttachedRelationship
- java.lang.Object
-
- com.graphaware.common.representation.AttachedEntity<Relationship>
-
- com.graphaware.common.representation.AttachedRelationship
-
- All Implemented Interfaces:
AttachedRelationshipExpressions<AttachedNode>
,DetachedRelationshipExpressions
,EntityExpressions
public class AttachedRelationship extends AttachedEntity<Relationship> implements AttachedRelationshipExpressions<AttachedNode>
-
-
Field Summary
-
Fields inherited from class com.graphaware.common.representation.AttachedEntity
entity
-
-
Constructor Summary
Constructors Constructor Description AttachedRelationship(Relationship entity)
AttachedRelationship(Relationship entity, Node pointOfView)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttachedNode
getEndNode()
AttachedNode
getStartNode()
String
getType()
AttachedNode
pointOfView()
-
Methods inherited from class com.graphaware.common.representation.AttachedEntity
equals, getProperties, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.graphaware.common.expression.AttachedRelationshipExpressions
getOtherNode, isIncoming, isOutgoing
-
Methods inherited from interface com.graphaware.common.expression.DetachedRelationshipExpressions
isType
-
Methods inherited from interface com.graphaware.common.expression.EntityExpressions
getProperties, getProperty, getProperty, hasProperty
-
-
-
-
Constructor Detail
-
AttachedRelationship
public AttachedRelationship(Relationship entity)
-
AttachedRelationship
public AttachedRelationship(Relationship entity, Node pointOfView)
-
-
Method Detail
-
getType
public String getType()
- Specified by:
getType
in interfaceDetachedRelationshipExpressions
-
getStartNode
public AttachedNode getStartNode()
- Specified by:
getStartNode
in interfaceAttachedRelationshipExpressions<AttachedNode>
-
getEndNode
public AttachedNode getEndNode()
- Specified by:
getEndNode
in interfaceAttachedRelationshipExpressions<AttachedNode>
-
pointOfView
public AttachedNode pointOfView()
- Specified by:
pointOfView
in interfaceAttachedRelationshipExpressions<AttachedNode>
-
-