Package gov.nist.secauto.oscal.lib.model
Class PoamItem.Origin
java.lang.Object
gov.nist.secauto.oscal.lib.model.PoamItem.Origin
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
- Enclosing class:
- PoamItem
@MetaschemaAssembly(formalName="Origin",
description="Identifies the source of the finding, such as a tool or person.",
name="origin",
moduleClass=OscalPoamModule.class,
remarks="Used to identify the individual and/or tool generated this poam-item.")
public static class PoamItem.Origin
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
Identifies the source of the finding, such as a tool or person.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddActor(OriginActor item) Add a newOriginActoritem to the underlying collection.gov.nist.secauto.metaschema.core.model.IMetaschemaDatabooleanremoveActor(OriginActor item) Remove the first matchingOriginActoritem from the underlying collection.voidsetActors(List<OriginActor> value) toString()
-
Constructor Details
-
Origin
public Origin() -
Origin
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getActors
-
setActors
-
addActor
Add a newOriginActoritem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeActor
Remove the first matchingOriginActoritem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
toString
-