Class PhysicalLocation
java.lang.Object
se.bjurr.violations.lib.model.generated.sarif.PhysicalLocation
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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanA physical or virtual address, or a range of addresses, in an 'addressable region' (memory or a binary file).Specifies the location of an artifact.A region within an artifact where a result was detected.Key/value pairs that provide additional information about the object.A region within an artifact where a result was detected.inthashCode()voidsetAddress(Address address) A physical or virtual address, or a range of addresses, in an 'addressable region' (memory or a binary file).voidsetArtifactLocation(ArtifactLocation artifactLocation) Specifies the location of an artifact.voidsetContextRegion(Region contextRegion) A region within an artifact where a result was detected.voidsetProperties(PropertyBag properties) Key/value pairs that provide additional information about the object.voidA region within an artifact where a result was detected.toString()withAddress(Address address) withArtifactLocation(ArtifactLocation artifactLocation) withContextRegion(Region contextRegion) withProperties(PropertyBag properties) withRegion(Region region)
-
Constructor Details
-
PhysicalLocation
public PhysicalLocation()
-
-
Method Details
-
getAddress
A physical or virtual address, or a range of addresses, in an 'addressable region' (memory or a binary file). -
setAddress
A physical or virtual address, or a range of addresses, in an 'addressable region' (memory or a binary file). -
withAddress
-
getArtifactLocation
Specifies the location of an artifact. -
setArtifactLocation
Specifies the location of an artifact. -
withArtifactLocation
-
getRegion
A region within an artifact where a result was detected. -
setRegion
A region within an artifact where a result was detected. -
withRegion
-
getContextRegion
A region within an artifact where a result was detected. -
setContextRegion
A region within an artifact where a result was detected. -
withContextRegion
-
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
-