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
ConstructorDescriptionResultProvenance
(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Add a newPhysicalLocation
item to the underlying collection.gov.nist.secauto.metaschema.core.model.IMetaschemaData
boolean
Remove the first matchingPhysicalLocation
item from the underlying collection.void
setConversionSources
(List<PhysicalLocation> value) void
void
toString()
-
Constructor Details
-
ResultProvenance
public ResultProvenance() -
ResultProvenance
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getFirstDetectionTimeUtc
-
setFirstDetectionTimeUtc
-
getLastDetectionTimeUtc
-
setLastDetectionTimeUtc
-
getConversionSources
-
setConversionSources
-
addConversionSource
Add a newPhysicalLocation
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeConversionSource
Remove the first matchingPhysicalLocation
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
toString
-