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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addActor
(OriginActor item) Add a newOriginActor
item to the underlying collection.gov.nist.secauto.metaschema.core.model.IMetaschemaData
boolean
removeActor
(OriginActor item) Remove the first matchingOriginActor
item from the underlying collection.void
setActors
(List<OriginActor> value) toString()
-
Constructor Details
-
Origin
public Origin() -
Origin
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getActors
-
setActors
-
addActor
Add a newOriginActor
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeActor
Remove the first matchingOriginActor
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
toString
-