public class Node extends Object
| Constructor and Description |
|---|
Node() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
Set<Node> |
getChildren()
Array of child nodes.
|
String |
getId()
A string that uniquely identifies the node within its graph.
|
Message |
getLabel()
Encapsulates a message intended to be read by the end user.
|
Location |
getLocation()
A location within a programming artifact.
|
PropertyBag |
getProperties()
Key/value pairs that provide additional information about the object.
|
int |
hashCode() |
void |
setChildren(Set<Node> children)
Array of child nodes.
|
void |
setId(String id)
A string that uniquely identifies the node within its graph.
|
void |
setLabel(Message label)
Encapsulates a message intended to be read by the end user.
|
void |
setLocation(Location location)
A location within a programming artifact.
|
void |
setProperties(PropertyBag properties)
Key/value pairs that provide additional information about the object.
|
String |
toString() |
Node |
withChildren(Set<Node> children) |
Node |
withId(String id) |
Node |
withLabel(Message label) |
Node |
withLocation(Location location) |
Node |
withProperties(PropertyBag properties) |
public String getId()
public void setId(String id)
public Message getLabel()
public void setLabel(Message label)
public Location getLocation()
public void setLocation(Location location)
public PropertyBag getProperties()
public void setProperties(PropertyBag properties)
public Node withProperties(PropertyBag properties)
Copyright © 2020 Contrast Security. All rights reserved.