Class Edge
java.lang.Object
se.bjurr.violations.lib.model.generated.sarif.Edge
Represents a directed edge in a graph.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()A string that uniquely identifies the edge within its graph.getLabel()Encapsulates a message intended to be read by the end user.Key/value pairs that provide additional information about the object.Identifies the source node (the node at which the edge starts).Identifies the target node (the node at which the edge ends).inthashCode()voidA string that uniquely identifies the edge within its graph.voidEncapsulates a message intended to be read by the end user.voidsetProperties(PropertyBag properties) Key/value pairs that provide additional information about the object.voidsetSourceNodeId(String sourceNodeId) Identifies the source node (the node at which the edge starts).voidsetTargetNodeId(String targetNodeId) Identifies the target node (the node at which the edge ends).toString()withProperties(PropertyBag properties) withSourceNodeId(String sourceNodeId) withTargetNodeId(String targetNodeId)
-
Constructor Details
-
Edge
public Edge()
-
-
Method Details
-
getId
A string that uniquely identifies the edge within its graph. (Required) -
setId
A string that uniquely identifies the edge 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
-
getSourceNodeId
Identifies the source node (the node at which the edge starts). (Required) -
setSourceNodeId
Identifies the source node (the node at which the edge starts). (Required) -
withSourceNodeId
-
getTargetNodeId
Identifies the target node (the node at which the edge ends). (Required) -
setTargetNodeId
Identifies the target node (the node at which the edge ends). (Required) -
withTargetNodeId
-
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
-