Class ResultProvenance

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

@MetaschemaAssembly(formalName="Result Provanance", description="Contains information about how and when a result was detected.", name="resultProvenance", moduleClass=SarifModule.class) public class ResultProvenance extends Object implements gov.nist.secauto.metaschema.core.model.IBoundObject
Contains information about how and when a result was detected.
  • Constructor Details

    • ResultProvenance

      public ResultProvenance()
    • ResultProvenance

      public ResultProvenance(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
    • getFirstDetectionTimeUtc

      public ZonedDateTime getFirstDetectionTimeUtc()
    • setFirstDetectionTimeUtc

      public void setFirstDetectionTimeUtc(ZonedDateTime value)
    • getLastDetectionTimeUtc

      public ZonedDateTime getLastDetectionTimeUtc()
    • setLastDetectionTimeUtc

      public void setLastDetectionTimeUtc(ZonedDateTime value)
    • getConversionSources

      public List<PhysicalLocation> getConversionSources()
    • setConversionSources

      public void setConversionSources(List<PhysicalLocation> value)
    • addConversionSource

      public boolean addConversionSource(PhysicalLocation item)
      Add a new PhysicalLocation item to the underlying collection.
      Parameters:
      item - the item to add
      Returns:
      true
    • removeConversionSource

      public boolean removeConversionSource(PhysicalLocation item)
      Remove the first matching PhysicalLocation item from the underlying collection.
      Parameters:
      item - the item to remove
      Returns:
      true if the item was removed or false otherwise
    • toString

      public String toString()
      Overrides:
      toString in class Object