Class Node
java.lang.Object
se.bjurr.violations.lib.model.generated.sarif.Node
Represents a node in a graph.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanArray of child nodes.getId()A string that uniquely identifies the node within its graph.getLabel()Encapsulates a message intended to be read by the end user.A location within a programming artifact.Key/value pairs that provide additional information about the object.inthashCode()voidsetChildren(Set<Node> children) Array of child nodes.voidA string that uniquely identifies the node within its graph.voidEncapsulates a message intended to be read by the end user.voidsetLocation(Location location) A location within a programming artifact.voidsetProperties(PropertyBag properties) Key/value pairs that provide additional information about the object.toString()withChildren(Set<Node> children) withLocation(Location location) withProperties(PropertyBag properties)
-
Constructor Details
-
Node
public Node()
-
-
Method Details
-
getId
A string that uniquely identifies the node within its graph. (Required) -
setId
A string that uniquely identifies the node within its graph. (Required) -
withId
-
getLabel
Encapsulates a message intended to be read by the end user. -
setLabel
Encapsulates a message intended to be read by the end user. -
withLabel
-
getLocation
A location within a programming artifact. -
setLocation
A location within a programming artifact. -
withLocation
-
getChildren
Array of child nodes. -
setChildren
Array of child nodes. -
withChildren
-
getProperties
Key/value pairs that provide additional information about the object. -
setProperties
Key/value pairs that provide additional information about the object. -
withProperties
-
toString
-
hashCode
public int hashCode() -
equals
-