Class LocationRelationship

java.lang.Object
se.bjurr.violations.lib.model.generated.sarif.LocationRelationship

public class LocationRelationship extends Object
Information about the relation of one location to another.
  • Constructor Details

    • LocationRelationship

      public LocationRelationship()
  • Method Details

    • getTarget

      public Integer getTarget()
      A reference to the related location. (Required)
    • setTarget

      public void setTarget(Integer target)
      A reference to the related location. (Required)
    • withTarget

      public LocationRelationship withTarget(Integer target)
    • getKinds

      public Set<String> getKinds()
      A set of distinct strings that categorize the relationship. Well-known kinds include 'includes', 'isIncludedBy' and 'relevant'.
    • setKinds

      public void setKinds(Set<String> kinds)
      A set of distinct strings that categorize the relationship. Well-known kinds include 'includes', 'isIncludedBy' and 'relevant'.
    • withKinds

      public LocationRelationship withKinds(Set<String> kinds)
    • getDescription

      public Message getDescription()
      Encapsulates a message intended to be read by the end user.
    • setDescription

      public void setDescription(Message description)
      Encapsulates a message intended to be read by the end user.
    • withDescription

      public LocationRelationship withDescription(Message description)
    • getProperties

      public PropertyBag getProperties()
      Key/value pairs that provide additional information about the object.
    • setProperties

      public void setProperties(PropertyBag properties)
      Key/value pairs that provide additional information about the object.
    • withProperties

      public LocationRelationship withProperties(PropertyBag properties)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object