Class ReportingDescriptorRelationship

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

public class ReportingDescriptorRelationship extends Object
Information about the relation of one reporting descriptor to another.
  • Constructor Details

    • ReportingDescriptorRelationship

      public ReportingDescriptorRelationship()
  • Method Details

    • getTarget

      public ReportingDescriptorReference getTarget()
      Information about how to locate a relevant reporting descriptor. (Required)
    • setTarget

      public void setTarget(ReportingDescriptorReference target)
      Information about how to locate a relevant reporting descriptor. (Required)
    • withTarget

    • getKinds

      public Set<String> getKinds()
      A set of distinct strings that categorize the relationship. Well-known kinds include 'canPrecede', 'canFollow', 'willPrecede', 'willFollow', 'superset', 'subset', 'equal', 'disjoint', 'relevant', and 'incomparable'.
    • setKinds

      public void setKinds(Set<String> kinds)
      A set of distinct strings that categorize the relationship. Well-known kinds include 'canPrecede', 'canFollow', 'willPrecede', 'willFollow', 'superset', 'subset', 'equal', 'disjoint', 'relevant', and 'incomparable'.
    • withKinds

      public ReportingDescriptorRelationship 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 ReportingDescriptorRelationship 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 ReportingDescriptorRelationship 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