Package org.schemastore.json.sarif.x210
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 Summary
ConstructorsConstructorDescriptionResultProvenance(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newPhysicalLocationitem to the underlying collection.gov.nist.secauto.metaschema.core.model.IMetaschemaDatabooleanRemove the first matchingPhysicalLocationitem from the underlying collection.voidsetConversionSources(List<PhysicalLocation> value) voidvoidtoString()
-
Constructor Details
-
ResultProvenance
public ResultProvenance() -
ResultProvenance
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getFirstDetectionTimeUtc
-
setFirstDetectionTimeUtc
-
getLastDetectionTimeUtc
-
setLastDetectionTimeUtc
-
getConversionSources
-
setConversionSources
-
addConversionSource
Add a newPhysicalLocationitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeConversionSource
Remove the first matchingPhysicalLocationitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
toString
-