Package gov.nist.secauto.oscal.lib.model
Class PoamItem.Origin
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.model.PoamItem.Origin
-
- Enclosing class:
- PoamItem
@MetaschemaAssembly(formalName="Origin", description="Identifies the source of the finding, such as a tool or person.", name="origin", metaschema=OscalPoamMetaschema.class, remarks="Used to identify the individual and/or tool generated this poam-item.") public static class PoamItem.Origin extends ObjectIdentifies the source of the finding, such as a tool or person.
-
-
Constructor Summary
Constructors Constructor Description Origin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddActor(OriginActor item)Add a newOriginActoritem to the underlying collection.List<OriginActor>getActors()booleanremoveActor(OriginActor item)Remove the first matchingOriginActoritem from the underlying collection.voidsetActors(List<OriginActor> value)StringtoString()
-
-
-
Constructor Detail
-
Origin
public Origin()
-
-
Method Detail
-
getActors
public List<OriginActor> getActors()
-
setActors
public void setActors(List<OriginActor> value)
-
addActor
public boolean addActor(OriginActor item)
Add a newOriginActoritem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeActor
public boolean removeActor(OriginActor item)
Remove the first matchingOriginActoritem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
-