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 Object
Identifies 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 boolean
addActor(OriginActor item)
Add a newOriginActor
item to the underlying collection.List<OriginActor>
getActors()
boolean
removeActor(OriginActor item)
Remove the first matchingOriginActor
item from the underlying collection.void
setActors(List<OriginActor> value)
String
toString()
-
-
-
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 newOriginActor
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeActor
public boolean removeActor(OriginActor item)
Remove the first matchingOriginActor
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
-