Class ComponentImplementedRequirement
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.oscal.lib.model.ComponentImplementedRequirementinstance with no metadata.ComponentImplementedRequirement(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.oscal.lib.model.ComponentImplementedRequirementinstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newLinkitem to the underlying collection.booleanAdd a newPropertyitem to the underlying collection.booleanAdd a newResponsibleRoleitem to the underlying collection.booleanaddSetParameter(SetParameter item) Add a newSetParameteritem to the underlying collection.booleanAdd a newComponentStatementitem to the underlying collection.Get the "Control Identifier Reference".dev.metaschema.core.datatype.markup.MarkupMultilineGet the "Control Implementation Description".getLinks()Get the "Link".dev.metaschema.core.model.IMetaschemaDatagetProps()Get the "Property".dev.metaschema.core.datatype.markup.MarkupMultilineGet the "Remarks".Get the "Responsible Role".Get the "Set Parameter Value".Get the "Control Statement Implementation".getUuid()Get the "Control Implementation Identifier".booleanremoveLink(Link item) Remove the first matchingLinkitem from the underlying collection.booleanremoveProp(Property item) Remove the first matchingPropertyitem from the underlying collection.booleanRemove the first matchingResponsibleRoleitem from the underlying collection.booleanRemove the first matchingSetParameteritem from the underlying collection.booleanRemove the first matchingComponentStatementitem from the underlying collection.voidsetControlId(String value) Set the "Control Identifier Reference".voidsetDescription(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Control Implementation Description".voidSet the "Link".voidSet the "Property".voidsetRemarks(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Remarks".voidsetResponsibleRoles(List<ResponsibleRole> value) Set the "Responsible Role".voidsetSetParameters(List<SetParameter> value) Set the "Set Parameter Value".voidsetStatements(List<ComponentStatement> value) Set the "Control Statement Implementation".voidSet the "Control Implementation Identifier".toString()
-
Constructor Details
-
ComponentImplementedRequirement
public ComponentImplementedRequirement()Constructs a newdev.metaschema.oscal.lib.model.ComponentImplementedRequirementinstance with no metadata. -
ComponentImplementedRequirement
Constructs a newdev.metaschema.oscal.lib.model.ComponentImplementedRequirementinstance 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 "Control Implementation Identifier".Provides a globally unique means to identify a given control implementation by a component.
- Returns:
- the uuid value
-
setUuid
Set the "Control Implementation Identifier".Provides a globally unique means to identify a given control implementation by a component.
- Parameters:
value- the uuid value to set
-
getControlId
Get the "Control Identifier Reference".A reference to a control with a corresponding
idvalue. When referencing an externally definedcontrol, theControl Identifier Referencemust be used in the context of the external / imported OSCAL instance (e.g., uri-reference).- Returns:
- the control-id value
-
setControlId
Set the "Control Identifier Reference".A reference to a control with a corresponding
idvalue. When referencing an externally definedcontrol, theControl Identifier Referencemust be used in the context of the external / imported OSCAL instance (e.g., uri-reference).- Parameters:
value- the control-id value to set
-
getDescription
Get the "Control Implementation Description".A suggestion from the supplier (e.g., component vendor or author) for how the specified control may be implemented if the containing component or capability is instantiated in a system security plan.
- Returns:
- the description value
-
setDescription
Set the "Control Implementation Description".A suggestion from the supplier (e.g., component vendor or author) for how the specified control may be implemented if the containing component or capability is instantiated in a system security plan.
- 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
-
getSetParameters
Get the "Set Parameter Value".Identifies the parameter that will be set by the enclosed value.
- Returns:
- the set-parameter value
-
setSetParameters
Set the "Set Parameter Value".Identifies the parameter that will be set by the enclosed value.
- Parameters:
value- the set-parameter value to set
-
addSetParameter
Add a newSetParameteritem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeSetParameter
Remove the first matchingSetParameteritem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getResponsibleRoles
Get the "Responsible Role".A reference to a role with responsibility for performing a function relative to the containing object, optionally associated with a set of persons and/or organizations that perform that role.
- Returns:
- the responsible-role value
-
setResponsibleRoles
Set the "Responsible Role".A reference to a role with responsibility for performing a function relative to the containing object, optionally associated with a set of persons and/or organizations that perform that role.
- Parameters:
value- the responsible-role value to set
-
addResponsibleRole
Add a newResponsibleRoleitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeResponsibleRole
Remove the first matchingResponsibleRoleitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getStatements
Get the "Control Statement Implementation".Identifies which statements within a control are addressed.
- Returns:
- the statement value
-
setStatements
Set the "Control Statement Implementation".Identifies which statements within a control are addressed.
- Parameters:
value- the statement value to set
-
addStatement
Add a newComponentStatementitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeStatement
Remove the first matchingComponentStatementitem 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
-