Class PlanOfActionAndMilestones
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject,IOscalInstance
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.oscal.lib.model.PlanOfActionAndMilestonesinstance with no metadata.PlanOfActionAndMilestones(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.oscal.lib.model.PlanOfActionAndMilestonesinstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddFinding(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.booleanAdd a newRiskitem to the underlying collection.Get the "Back matter".Get the "Finding".Get the "Import System Security Plan".Get the "Local Definitions".Get the "Document Metadata".dev.metaschema.core.model.IMetaschemaDataGet the "Observation".Get the "POA&M Item".getRisks()Get the "Identified Risk".Get the "System Identification".getUuid()Get the "POA&M Universally Unique Identifier".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) Set the "Back matter".voidsetFindings(List<Finding> value) Set the "Finding".voidsetImportSsp(ImportSsp value) Set the "Import System Security Plan".voidSet the "Local Definitions".voidsetMetadata(Metadata value) Set the "Document Metadata".voidsetObservations(List<Observation> value) Set the "Observation".voidsetPoamItems(List<PoamItem> value) Set the "POA&M Item".voidSet the "Identified Risk".voidsetSystemId(SystemId value) Set the "System Identification".voidSet the "POA&M Universally Unique Identifier".toString()Methods inherited from class dev.metaschema.oscal.lib.model.AbstractOscalInstance
getResourceByUuid
-
Constructor Details
-
PlanOfActionAndMilestones
public PlanOfActionAndMilestones()Constructs a newdev.metaschema.oscal.lib.model.PlanOfActionAndMilestonesinstance with no metadata. -
PlanOfActionAndMilestones
Constructs a newdev.metaschema.oscal.lib.model.PlanOfActionAndMilestonesinstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
getUuid
Get the "POA&M Universally Unique Identifier".A machine-oriented, globally unique identifier with instancescope that can be used to reference this POA&M instance in this OSCAL instance. This UUID should be assigned per-subject, which means it should be consistently used to identify the same subject across revisions of the document.
- Specified by:
getUuidin interfaceIOscalInstance- Returns:
- the uuid value
-
setUuid
Set the "POA&M Universally Unique Identifier".A machine-oriented, globally unique identifier with instancescope that can be used to reference this POA&M instance in this OSCAL instance. This UUID should be assigned per-subject, which means it should be consistently used to identify the same subject across revisions of the document.
- Parameters:
value- the uuid value to set
-
getMetadata
Get the "Document Metadata".Provides information about the containing document, and defines concepts that are shared across the document.
- Specified by:
getMetadatain interfaceIOscalInstance- Returns:
- the metadata value
-
setMetadata
Set the "Document Metadata".Provides information about the containing document, and defines concepts that are shared across the document.
- Parameters:
value- the metadata value to set
-
getImportSsp
Get the "Import System Security Plan".Used by the assessment plan and POA&M to import information about the system.
- Returns:
- the import-ssp value, or
nullif not set
-
setImportSsp
Set the "Import System Security Plan".Used by the assessment plan and POA&M to import information about the system.
- Parameters:
value- the import-ssp value to set, ornullto clear
-
getSystemId
Get the "System Identification".A human-oriented, globally unique identifier with cross-instance scope that can be used to reference this system identification property elsewhere in this or other OSCAL instances. When referencing an externally defined
system identification, thesystem identificationmust be used in the context of the external / imported OSCAL instance (e.g., uri-reference). This string should be assigned per-subject, which means it should be consistently used to identify the same system across revisions of the document.- Returns:
- the system-id value, or
nullif not set
-
setSystemId
Set the "System Identification".A human-oriented, globally unique identifier with cross-instance scope that can be used to reference this system identification property elsewhere in this or other OSCAL instances. When referencing an externally defined
system identification, thesystem identificationmust be used in the context of the external / imported OSCAL instance (e.g., uri-reference). This string should be assigned per-subject, which means it should be consistently used to identify the same system across revisions of the document.- Parameters:
value- the system-id value to set, ornullto clear
-
getLocalDefinitions
Get the "Local Definitions".Allows components, and inventory-items to be defined within the POA&M for circumstances where no OSCAL-based SSP exists, or is not delivered with the POA&M.
- Returns:
- the local-definitions value, or
nullif not set
-
setLocalDefinitions
Set the "Local Definitions".Allows components, and inventory-items to be defined within the POA&M for circumstances where no OSCAL-based SSP exists, or is not delivered with the POA&M.
- Parameters:
value- the local-definitions value to set, ornullto clear
-
getObservations
Get the "Observation".Describes an individual observation.
- Returns:
- the observation value
-
setObservations
Set the "Observation".Describes an individual observation.
- Parameters:
value- the observation value to set
-
addObservation
Add a newObservationitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeObservation
Remove the first matchingObservationitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getRisks
Get the "Identified Risk".An identified risk.
- Returns:
- the risk value
-
setRisks
Set the "Identified Risk".An identified risk.
- Parameters:
value- the risk value to set
-
addRisk
Add a newRiskitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeRisk
Remove the first matchingRiskitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getFindings
Get the "Finding".Describes an individual finding.
- Returns:
- the finding value
-
setFindings
Set the "Finding".Describes an individual finding.
- Parameters:
value- the finding value to set
-
addFinding
Add a newFindingitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeFinding
Remove the first matchingFindingitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getPoamItems
Get the "POA&M Item".Describes an individual POA&M item.
- Returns:
- the poam-item value
-
setPoamItems
Set the "POA&M Item".Describes an individual POA&M item.
- Parameters:
value- the poam-item value to set
-
addPoamItem
Add a newPoamItemitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removePoamItem
Remove the first matchingPoamItemitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getBackMatter
Get the "Back matter".A collection of resources that may be referenced from within the OSCAL document instance.
- Specified by:
getBackMatterin interfaceIOscalInstance- Returns:
- the back-matter value, or
nullif not set
-
setBackMatter
Set the "Back matter".A collection of resources that may be referenced from within the OSCAL document instance.
- Parameters:
value- the back-matter value to set, ornullto clear
-
toString
-