public class Edge extends Object
| Constructor and Description |
|---|
Edge() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
String |
getId()
A string that uniquely identifies the edge within its graph.
|
Message |
getLabel()
Encapsulates a message intended to be read by the end user.
|
PropertyBag |
getProperties()
Key/value pairs that provide additional information about the object.
|
String |
getSourceNodeId()
Identifies the source node (the node at which the edge starts).
|
String |
getTargetNodeId()
Identifies the target node (the node at which the edge ends).
|
int |
hashCode() |
void |
setId(String id)
A string that uniquely identifies the edge within its graph.
|
void |
setLabel(Message label)
Encapsulates a message intended to be read by the end user.
|
void |
setProperties(PropertyBag properties)
Key/value pairs that provide additional information about the object.
|
void |
setSourceNodeId(String sourceNodeId)
Identifies the source node (the node at which the edge starts).
|
void |
setTargetNodeId(String targetNodeId)
Identifies the target node (the node at which the edge ends).
|
String |
toString() |
Edge |
withId(String id) |
Edge |
withLabel(Message label) |
Edge |
withProperties(PropertyBag properties) |
Edge |
withSourceNodeId(String sourceNodeId) |
Edge |
withTargetNodeId(String targetNodeId) |
public String getId()
public void setId(String id)
public Message getLabel()
public void setLabel(Message label)
public String getSourceNodeId()
public void setSourceNodeId(String sourceNodeId)
public String getTargetNodeId()
public void setTargetNodeId(String targetNodeId)
public PropertyBag getProperties()
public void setProperties(PropertyBag properties)
public Edge withProperties(PropertyBag properties)
Copyright © 2020 Contrast Security. All rights reserved.