Class Location
java.lang.Object
se.bjurr.violations.lib.model.generated.sarif.Location
A location within a programming artifact.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanA set of regions relevant to the location.getId()Value that distinguishes this location from all other locations within a single result object.The logical locations associated with the result.Encapsulates a message intended to be read by the end user.A physical location relevant to a result.Key/value pairs that provide additional information about the object.An array of objects that describe relationships between this location and others.inthashCode()voidsetAnnotations(Set<Region> annotations) A set of regions relevant to the location.voidValue that distinguishes this location from all other locations within a single result object.voidsetLogicalLocations(Set<LogicalLocation> logicalLocations) The logical locations associated with the result.voidsetMessage(Message message) Encapsulates a message intended to be read by the end user.voidsetPhysicalLocation(PhysicalLocation physicalLocation) A physical location relevant to a result.voidsetProperties(PropertyBag properties) Key/value pairs that provide additional information about the object.voidsetRelationships(Set<LocationRelationship> relationships) An array of objects that describe relationships between this location and others.toString()withAnnotations(Set<Region> annotations) withLogicalLocations(Set<LogicalLocation> logicalLocations) withMessage(Message message) withPhysicalLocation(PhysicalLocation physicalLocation) withProperties(PropertyBag properties) withRelationships(Set<LocationRelationship> relationships)
-
Constructor Details
-
Location
public Location()
-
-
Method Details
-
getId
Value that distinguishes this location from all other locations within a single result object. -
setId
Value that distinguishes this location from all other locations within a single result object. -
withId
-
getPhysicalLocation
A physical location relevant to a result. Specifies a reference to a programming artifact together with a range of bytes or characters within that artifact. -
setPhysicalLocation
A physical location relevant to a result. Specifies a reference to a programming artifact together with a range of bytes or characters within that artifact. -
withPhysicalLocation
-
getLogicalLocations
The logical locations associated with the result. -
setLogicalLocations
The logical locations associated with the result. -
withLogicalLocations
-
getMessage
Encapsulates a message intended to be read by the end user. -
setMessage
Encapsulates a message intended to be read by the end user. -
withMessage
-
getAnnotations
A set of regions relevant to the location. -
setAnnotations
A set of regions relevant to the location. -
withAnnotations
-
getRelationships
An array of objects that describe relationships between this location and others. -
setRelationships
An array of objects that describe relationships between this location and others. -
withRelationships
-
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
-