public class NodeLink extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
NodeLink.LinkProperty |
| Modifier and Type | Field and Description |
|---|---|
private Map<NodeLink.LinkProperty,Object> |
linkProperties |
private Relation.ForeignKey |
multiplicity |
private String |
sourceNodeId |
private String |
targetNodeId |
| Constructor and Description |
|---|
NodeLink() |
NodeLink(String sourceNodeId,
String targetNodeId) |
| Modifier and Type | Method and Description |
|---|---|
void |
addLinkProperty(NodeLink.LinkProperty name,
Object propertyValue) |
boolean |
equals(Object obj) |
Map<NodeLink.LinkProperty,Object> |
getLinkProperties() |
Object |
getLinkProperty(NodeLink.LinkProperty name) |
Relation.ForeignKey |
getMultiplicity() |
String |
getSourceNodeId() |
String |
getTargetNodeId() |
int |
hashCode() |
void |
setLinkProperties(Map<NodeLink.LinkProperty,Object> linkProperties) |
void |
setMultiplicity(Relation.ForeignKey multiplicity) |
void |
setSourceNodeId(String sourceNodeId) |
void |
setTargetNodeId(String targetNodeId) |
String |
toString() |
private String sourceNodeId
private String targetNodeId
private Relation.ForeignKey multiplicity
private Map<NodeLink.LinkProperty,Object> linkProperties
public String getSourceNodeId()
public void setSourceNodeId(String sourceNodeId)
sourceNodeId - the sourceNodeId to setpublic String getTargetNodeId()
public void setTargetNodeId(String targetNodeId)
targetNodeId - the targetNodeId to setpublic Relation.ForeignKey getMultiplicity()
public void setMultiplicity(Relation.ForeignKey multiplicity)
multiplicity - the multiplicity to setpublic Map<NodeLink.LinkProperty,Object> getLinkProperties()
public void setLinkProperties(Map<NodeLink.LinkProperty,Object> linkProperties)
linkProperties - the linkProperties to setpublic Object getLinkProperty(NodeLink.LinkProperty name)
public void addLinkProperty(NodeLink.LinkProperty name, Object propertyValue)
Copyright © 2015. All Rights Reserved.