public class GraphRelation extends GraphElement
Constructor and Description |
---|
GraphRelation() |
GraphRelation(String type) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertis(Map<String,Object> props) |
void |
addProperty(String property,
Object value) |
RelationEndPoint |
getFrom() |
Object |
getProperty(String property) |
RelationEndPoint |
getTo() |
String |
getType() |
int |
hashCode() |
void |
overwritePropertis(Map<String,Object> props) |
void |
setFrom(RelationEndPoint from) |
void |
setTo(RelationEndPoint to) |
void |
setType(String type) |
Map<String,Object> |
toGraphMap() |
String |
toString() |
getAction, getElementType, setAction, setElementType
public GraphRelation()
public GraphRelation(String type)
public RelationEndPoint getFrom()
public void setFrom(RelationEndPoint from)
public RelationEndPoint getTo()
public void setTo(RelationEndPoint to)
public String getType()
public void setType(String type)
public Map<String,Object> toGraphMap()
toGraphMap
in class GraphElement
public String toString()
toString
in class GraphElement
Copyright © 2017. All rights reserved.