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 AbstractOscalInstance
A 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 boolean
addFinding(Finding item)
Add a newFinding
item to the underlying collection.boolean
addObservation(Observation item)
Add a newObservation
item to the underlying collection.boolean
addPoamItem(PoamItem item)
Add a newPoamItem
item to the underlying collection.boolean
addRisk(Risk item)
Add a newRisk
item to the underlying collection.BackMatter
getBackMatter()
List<Finding>
getFindings()
ImportSsp
getImportSsp()
LocalDefinitions
getLocalDefinitions()
Metadata
getMetadata()
List<Observation>
getObservations()
List<PoamItem>
getPoamItems()
List<Risk>
getRisks()
SystemId
getSystemId()
UUID
getUuid()
boolean
removeFinding(Finding item)
Remove the first matchingFinding
item from the underlying collection.boolean
removeObservation(Observation item)
Remove the first matchingObservation
item from the underlying collection.boolean
removePoamItem(PoamItem item)
Remove the first matchingPoamItem
item from the underlying collection.boolean
removeRisk(Risk item)
Remove the first matchingRisk
item from the underlying collection.void
setBackMatter(BackMatter value)
void
setFindings(List<Finding> value)
void
setImportSsp(ImportSsp value)
void
setLocalDefinitions(LocalDefinitions value)
void
setMetadata(Metadata value)
void
setObservations(List<Observation> value)
void
setPoamItems(List<PoamItem> value)
void
setRisks(List<Risk> value)
void
setSystemId(SystemId value)
void
setUuid(UUID value)
String
toString()
-
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 newObservation
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeObservation
public boolean removeObservation(Observation item)
Remove the first matchingObservation
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
addRisk
public boolean addRisk(Risk item)
Add a newRisk
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeRisk
public boolean removeRisk(Risk item)
Remove the first matchingRisk
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getFindings
public List<Finding> getFindings()
-
setFindings
public void setFindings(List<Finding> value)
-
addFinding
public boolean addFinding(Finding item)
Add a newFinding
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeFinding
public boolean removeFinding(Finding item)
Remove the first matchingFinding
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getPoamItems
public List<PoamItem> getPoamItems()
-
setPoamItems
public void setPoamItems(List<PoamItem> value)
-
addPoamItem
public boolean addPoamItem(PoamItem item)
Add a newPoamItem
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removePoamItem
public boolean removePoamItem(PoamItem item)
Remove the first matchingPoamItem
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getBackMatter
public BackMatter getBackMatter()
-
setBackMatter
public void setBackMatter(BackMatter value)
-
-