Class GraphDetachedRelationship
- java.lang.Object
-
- com.graphaware.common.representation.DetachedEntity<ID,Relationship>
-
- com.graphaware.common.representation.DetachedRelationship<Long,GraphDetachedNode>
-
- com.graphaware.common.representation.GraphDetachedRelationship
-
- All Implemented Interfaces:
DetachedRelationshipExpressions
,EntityExpressions
,Serializable
public class GraphDetachedRelationship extends DetachedRelationship<Long,GraphDetachedNode>
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.graphaware.common.representation.DetachedEntity
NEW
-
-
Constructor Summary
Constructors Constructor Description GraphDetachedRelationship()
GraphDetachedRelationship(long graphId)
GraphDetachedRelationship(long graphId, long startNodeGraphId, long endNodeGraphId, String type, Map<String,Object> properties)
GraphDetachedRelationship(long startNodeGraphId, long endNodeGraphId, String type, Map<String,Object> properties)
GraphDetachedRelationship(Relationship relationship)
GraphDetachedRelationship(Relationship relationship, String[] properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected GraphDetachedNode
endNode(Relationship relationship, NodeIdTransformer<Long> nodeIdTransformer)
Long
getId()
protected GraphDetachedNode
startNode(Relationship relationship, NodeIdTransformer<Long> nodeIdTransformer)
-
Methods inherited from class com.graphaware.common.representation.DetachedRelationship
checkCanCreate, checkCanFetch, create, equals, fetch, getEndNode, getEndNodeGraphId, getStartNode, getStartNodeGraphId, getType, hashCode, setEndNodeGraphId, setStartNodeGraphId, setType
-
Methods inherited from class com.graphaware.common.representation.DetachedEntity
getGraphId, getProperties, populate, produceEntity, propertyKeySetAsStringArray, putProperty, setGraphId, setProperties
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
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
-
GraphDetachedRelationship
public GraphDetachedRelationship()
-
GraphDetachedRelationship
public GraphDetachedRelationship(Relationship relationship)
-
GraphDetachedRelationship
public GraphDetachedRelationship(Relationship relationship, String[] properties)
-
GraphDetachedRelationship
public GraphDetachedRelationship(long graphId)
-
GraphDetachedRelationship
public GraphDetachedRelationship(long startNodeGraphId, long endNodeGraphId, String type, Map<String,Object> properties)
-
-
Method Detail
-
startNode
protected GraphDetachedNode startNode(Relationship relationship, NodeIdTransformer<Long> nodeIdTransformer)
- Specified by:
startNode
in classDetachedRelationship<Long,GraphDetachedNode>
-
endNode
protected GraphDetachedNode endNode(Relationship relationship, NodeIdTransformer<Long> nodeIdTransformer)
- Specified by:
endNode
in classDetachedRelationship<Long,GraphDetachedNode>
-
getId
public Long getId()
- Specified by:
getId
in classDetachedEntity<Long,Relationship>
-
-