Package org.schemastore.json.sarif.x210
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA physical or virtual address, or a range of addresses, in an ‘addressable region’ (memory or a binary file). -
Constructor Summary
ConstructorsConstructorDescriptionPhysicalLocation(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptiongov.nist.secauto.metaschema.core.model.IMetaschemaDatavoidvoidvoidsetContextRegion(Region value) voidtoString()
-
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:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getAddress
-
setAddress
-
getArtifactLocation
-
setArtifactLocation
-
getRegion
-
setRegion
-
getContextRegion
-
setContextRegion
-
toString
-