Class ReportingDescriptorReference

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

public class ReportingDescriptorReference extends Object
Information about how to locate a relevant reporting descriptor.
  • Constructor Details

    • ReportingDescriptorReference

      public ReportingDescriptorReference()
  • Method Details

    • getId

      public String getId()
      The id of the descriptor.
    • setId

      public void setId(String id)
      The id of the descriptor.
    • withId

    • getIndex

      public Integer getIndex()
      The index into an array of descriptors in toolComponent.ruleDescriptors, toolComponent.notificationDescriptors, or toolComponent.taxonomyDescriptors, depending on context.
    • setIndex

      public void setIndex(Integer index)
      The index into an array of descriptors in toolComponent.ruleDescriptors, toolComponent.notificationDescriptors, or toolComponent.taxonomyDescriptors, depending on context.
    • withIndex

      public ReportingDescriptorReference withIndex(Integer index)
    • getGuid

      public String getGuid()
      A guid that uniquely identifies the descriptor.
    • setGuid

      public void setGuid(String guid)
      A guid that uniquely identifies the descriptor.
    • withGuid

      public ReportingDescriptorReference withGuid(String guid)
    • getToolComponent

      public ToolComponentReference getToolComponent()
      Identifies a particular toolComponent object, either the driver or an extension.
    • setToolComponent

      public void setToolComponent(ToolComponentReference toolComponent)
      Identifies a particular toolComponent object, either the driver or an extension.
    • withToolComponent

      public ReportingDescriptorReference withToolComponent(ToolComponentReference toolComponent)
    • 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 ReportingDescriptorReference 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