Package gov.nist.secauto.oscal.lib.model
Class PlanOfActionAndMilestones
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.model.AbstractOscalInstance
-
- gov.nist.secauto.oscal.lib.model.PlanOfActionAndMilestones
-
- All Implemented Interfaces:
IOscalInstance
@MetaschemaAssembly(formalName="Plan of Action and Milestones (POA&M)", description="A plan of action and milestones which identifies initial and residual risks, deviations, and disposition, such as those required by FedRAMP.", name="plan-of-action-and-milestones", metaschema=OscalPoamMetaschema.class, rootName="plan-of-action-and-milestones", remarks="Either an OSCAL-based SSP must be imported, or a unique system-id must be specified. Both may be present.") public class PlanOfActionAndMilestones extends AbstractOscalInstanceA plan of action and milestones which identifies initial and residual risks, deviations, and disposition, such as those required by FedRAMP.
-
-
Constructor Summary
Constructors Constructor Description PlanOfActionAndMilestones()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddFinding(Finding item)Add a newFindingitem to the underlying collection.booleanaddObservation(Observation item)Add a newObservationitem to the underlying collection.booleanaddPoamItem(PoamItem item)Add a newPoamItemitem to the underlying collection.booleanaddRisk(Risk item)Add a newRiskitem to the underlying collection.BackMattergetBackMatter()List<Finding>getFindings()ImportSspgetImportSsp()LocalDefinitionsgetLocalDefinitions()MetadatagetMetadata()List<Observation>getObservations()List<PoamItem>getPoamItems()List<Risk>getRisks()SystemIdgetSystemId()UUIDgetUuid()booleanremoveFinding(Finding item)Remove the first matchingFindingitem from the underlying collection.booleanremoveObservation(Observation item)Remove the first matchingObservationitem from the underlying collection.booleanremovePoamItem(PoamItem item)Remove the first matchingPoamItemitem from the underlying collection.booleanremoveRisk(Risk item)Remove the first matchingRiskitem from the underlying collection.voidsetBackMatter(BackMatter value)voidsetFindings(List<Finding> value)voidsetImportSsp(ImportSsp value)voidsetLocalDefinitions(LocalDefinitions value)voidsetMetadata(Metadata value)voidsetObservations(List<Observation> value)voidsetPoamItems(List<PoamItem> value)voidsetRisks(List<Risk> value)voidsetSystemId(SystemId value)voidsetUuid(UUID value)StringtoString()-
Methods inherited from class gov.nist.secauto.oscal.lib.model.AbstractOscalInstance
getResourceByUuid
-
-
-
-
Constructor Detail
-
PlanOfActionAndMilestones
public PlanOfActionAndMilestones()
-
-
Method Detail
-
getMetadata
public Metadata getMetadata()
-
setMetadata
public void setMetadata(Metadata value)
-
getImportSsp
public ImportSsp getImportSsp()
-
setImportSsp
public void setImportSsp(ImportSsp value)
-
getSystemId
public SystemId getSystemId()
-
setSystemId
public void setSystemId(SystemId value)
-
getLocalDefinitions
public LocalDefinitions getLocalDefinitions()
-
setLocalDefinitions
public void setLocalDefinitions(LocalDefinitions value)
-
getObservations
public List<Observation> getObservations()
-
setObservations
public void setObservations(List<Observation> value)
-
addObservation
public boolean addObservation(Observation item)
Add a newObservationitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeObservation
public boolean removeObservation(Observation item)
Remove the first matchingObservationitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
addRisk
public boolean addRisk(Risk item)
Add a newRiskitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeRisk
public boolean removeRisk(Risk item)
Remove the first matchingRiskitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getFindings
public List<Finding> getFindings()
-
setFindings
public void setFindings(List<Finding> value)
-
addFinding
public boolean addFinding(Finding item)
Add a newFindingitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeFinding
public boolean removeFinding(Finding item)
Remove the first matchingFindingitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getPoamItems
public List<PoamItem> getPoamItems()
-
setPoamItems
public void setPoamItems(List<PoamItem> value)
-
addPoamItem
public boolean addPoamItem(PoamItem item)
Add a newPoamItemitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removePoamItem
public boolean removePoamItem(PoamItem item)
Remove the first matchingPoamItemitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getBackMatter
public BackMatter getBackMatter()
-
setBackMatter
public void setBackMatter(BackMatter value)
-
-