Class LocationRelationship
java.lang.Object
se.bjurr.violations.lib.model.generated.sarif.LocationRelationship
Information about the relation of one location to another.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanEncapsulates a message intended to be read by the end user.getKinds()A set of distinct strings that categorize the relationship.Key/value pairs that provide additional information about the object.A reference to the related location.inthashCode()voidsetDescription(Message description) Encapsulates a message intended to be read by the end user.voidA set of distinct strings that categorize the relationship.voidsetProperties(PropertyBag properties) Key/value pairs that provide additional information about the object.voidA reference to the related location.toString()withDescription(Message description) withProperties(PropertyBag properties) withTarget(Integer target)
-
Constructor Details
-
LocationRelationship
public LocationRelationship()
-
-
Method Details
-
getTarget
A reference to the related location. (Required) -
setTarget
A reference to the related location. (Required) -
withTarget
-
getKinds
A set of distinct strings that categorize the relationship. Well-known kinds include 'includes', 'isIncludedBy' and 'relevant'. -
setKinds
A set of distinct strings that categorize the relationship. Well-known kinds include 'includes', 'isIncludedBy' and 'relevant'. -
withKinds
-
getDescription
Encapsulates a message intended to be read by the end user. -
setDescription
Encapsulates a message intended to be read by the end user. -
withDescription
-
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
-