Class PhysicalLocation

java.lang.Object
org.schemastore.json.sarif.x210.PhysicalLocation
All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject

@MetaschemaAssembly(formalName="Physical Location", description="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.", name="physicalLocation", moduleClass=SarifModule.class, valueConstraints=@ValueConstraints(expect=@Expect(level=ERROR,test="exists(address|artifactLocation)",message="At least one address or artifactLocation must be provided."))) public class PhysicalLocation extends Object implements gov.nist.secauto.metaschema.core.model.IBoundObject
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 Details

    • PhysicalLocation

      public PhysicalLocation()
    • PhysicalLocation

      public PhysicalLocation(gov.nist.secauto.metaschema.core.model.IMetaschemaData data)
  • Method Details

    • getMetaschemaData

      public gov.nist.secauto.metaschema.core.model.IMetaschemaData getMetaschemaData()
      Specified by:
      getMetaschemaData in interface gov.nist.secauto.metaschema.core.model.IBoundObject
    • getAddress

      public PhysicalLocation.Address getAddress()
    • setAddress

      public void setAddress(PhysicalLocation.Address value)
    • getArtifactLocation

      public ArtifactLocation getArtifactLocation()
    • setArtifactLocation

      public void setArtifactLocation(ArtifactLocation value)
    • getRegion

      public Region getRegion()
    • setRegion

      public void setRegion(Region value)
    • getContextRegion

      public Region getContextRegion()
    • setContextRegion

      public void setContextRegion(Region value)
    • toString

      public String toString()
      Overrides:
      toString in class Object