Class Location

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

@MetaschemaAssembly(formalName="Location", description="A location within a programming artifact.", name="location", moduleClass=SarifModule.class, valueConstraints=@ValueConstraints(expect=@Expect(level=ERROR,test="@id >= -1",message="The id \'{ . }\' is not greater than or equal to \'-1\'."))) public class Location extends Object implements gov.nist.secauto.metaschema.core.model.IBoundObject
A location within a programming artifact.
  • Constructor Details

    • Location

      public Location()
    • Location

      public Location(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
    • getId

      public BigInteger getId()
    • setId

      public void setId(BigInteger value)
    • getPhysicalLocation

      public PhysicalLocation getPhysicalLocation()
    • setPhysicalLocation

      public void setPhysicalLocation(PhysicalLocation value)
    • getLogicalLocation

      public LogicalLocation getLogicalLocation()
    • setLogicalLocation

      public void setLogicalLocation(LogicalLocation value)
    • getMessage

      public Message getMessage()
    • setMessage

      public void setMessage(Message value)
    • toString

      public String toString()
      Overrides:
      toString in class Object