Class PoamItem
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRelates the finding to a set of referenced risks that were used to determine the finding.static classIdentifies the source of the finding, such as a tool or person.static classRelates the poam-item to referenced finding(s).static classRelates the poam-item to a set of referenced observations that were used to determine the finding. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newPoamItem.AssociatedRiskitem to the underlying collection.booleanAdd a newLinkitem to the underlying collection.booleanaddOrigin(PoamItem.Origin item) Add a newPoamItem.Originitem to the underlying collection.booleanAdd a newPropertyitem to the underlying collection.booleanAdd a newPoamItem.RelatedFindingitem to the underlying collection.booleanAdd a newPoamItem.RelatedObservationitem to the underlying collection.dev.metaschema.core.datatype.markup.MarkupMultilineGet the "POA&M Item Description".getLinks()Get the "Link".dev.metaschema.core.model.IMetaschemaDataGet the "Origin".getProps()Get the "Property".Get the "Related Finding".Get the "Related Observation".Get the "Associated Risk".dev.metaschema.core.datatype.markup.MarkupMultilineGet the "Remarks".dev.metaschema.core.datatype.markup.MarkupLinegetTitle()Get the "POA&M Item Title".getUuid()Get the "POA&M Item Universally Unique Identifier".booleanRemove the first matchingPoamItem.AssociatedRiskitem from the underlying collection.booleanremoveLink(Link item) Remove the first matchingLinkitem from the underlying collection.booleanremoveOrigin(PoamItem.Origin item) Remove the first matchingPoamItem.Originitem from the underlying collection.booleanremoveProp(Property item) Remove the first matchingPropertyitem from the underlying collection.booleanRemove the first matchingPoamItem.RelatedFindingitem from the underlying collection.booleanRemove the first matchingPoamItem.RelatedObservationitem from the underlying collection.voidsetDescription(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "POA&M Item Description".voidSet the "Link".voidsetOrigins(List<PoamItem.Origin> value) Set the "Origin".voidSet the "Property".voidSet the "Related Finding".voidSet the "Related Observation".voidSet the "Associated Risk".voidsetRemarks(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Remarks".voidsetTitle(dev.metaschema.core.datatype.markup.MarkupLine value) Set the "POA&M Item Title".voidSet the "POA&M Item Universally Unique Identifier".toString()
-
Constructor Details
-
PoamItem
public PoamItem()Constructs a newdev.metaschema.oscal.lib.model.PoamIteminstance with no metadata. -
PoamItem
Constructs a newdev.metaschema.oscal.lib.model.PoamIteminstance 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 Item Universally Unique Identifier".A machine-oriented, globally unique identifier with instance scope that can be used to reference this POA&M item entry 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.
- Returns:
- the uuid value, or
nullif not set
-
setUuid
Set the "POA&M Item Universally Unique Identifier".A machine-oriented, globally unique identifier with instance scope that can be used to reference this POA&M item entry 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, ornullto clear
-
getTitle
Get the "POA&M Item Title".The title or name for this POA&M item .
- Returns:
- the title value
-
setTitle
Set the "POA&M Item Title".The title or name for this POA&M item .
- Parameters:
value- the title value to set
-
getDescription
Get the "POA&M Item Description".A human-readable description of POA&M item.
- Returns:
- the description value
-
setDescription
Set the "POA&M Item Description".A human-readable description of POA&M item.
- Parameters:
value- the description value to set
-
getProps
Get the "Property".An attribute, characteristic, or quality of the containing object expressed as a namespace qualified name/value pair.
- Returns:
- the prop value
-
setProps
Set the "Property".An attribute, characteristic, or quality of the containing object expressed as a namespace qualified name/value pair.
- Parameters:
value- the prop value to set
-
addProp
Add a newPropertyitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeProp
Remove the first matchingPropertyitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getLinks
Get the "Link".A reference to a local or remote resource, that has a specific relation to the containing object.
- Returns:
- the link value
-
setLinks
Set the "Link".A reference to a local or remote resource, that has a specific relation to the containing object.
- Parameters:
value- the link value to set
-
addLink
Add a newLinkitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeLink
Remove the first matchingLinkitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getOrigins
Get the "Origin".Identifies the source of the finding, such as a tool or person.
- Returns:
- the origin value
-
setOrigins
Set the "Origin".Identifies the source of the finding, such as a tool or person.
- Parameters:
value- the origin value to set
-
addOrigin
Add a newPoamItem.Originitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeOrigin
Remove the first matchingPoamItem.Originitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getRelatedFindings
Get the "Related Finding".Relates the poam-item to referenced finding(s).
- Returns:
- the related-finding value
-
setRelatedFindings
Set the "Related Finding".Relates the poam-item to referenced finding(s).
- Parameters:
value- the related-finding value to set
-
addRelatedFinding
Add a newPoamItem.RelatedFindingitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeRelatedFinding
Remove the first matchingPoamItem.RelatedFindingitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getRelatedObservations
Get the "Related Observation".Relates the poam-item to a set of referenced observations that were used to determine the finding.
- Returns:
- the related-observation value
-
setRelatedObservations
Set the "Related Observation".Relates the poam-item to a set of referenced observations that were used to determine the finding.
- Parameters:
value- the related-observation value to set
-
addRelatedObservation
Add a newPoamItem.RelatedObservationitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeRelatedObservation
Remove the first matchingPoamItem.RelatedObservationitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getRelatedRisks
Get the "Associated Risk".Relates the finding to a set of referenced risks that were used to determine the finding.
- Returns:
- the associated-risk value
-
setRelatedRisks
Set the "Associated Risk".Relates the finding to a set of referenced risks that were used to determine the finding.
- Parameters:
value- the associated-risk value to set
-
addAssociatedRisk
Add a newPoamItem.AssociatedRiskitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeAssociatedRisk
Remove the first matchingPoamItem.AssociatedRiskitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getRemarks
Get the "Remarks".Additional commentary about the containing object.
- Returns:
- the remarks value, or
nullif not set
-
setRemarks
Set the "Remarks".Additional commentary about the containing object.
- Parameters:
value- the remarks value to set, ornullto clear
-
toString
-