Class ComponentControlImplementation
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.oscal.lib.model.ComponentControlImplementationinstance with no metadata.ComponentControlImplementation(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.oscal.lib.model.ComponentControlImplementationinstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newComponentImplementedRequirementitem to the underlying collection.booleanAdd a newLinkitem to the underlying collection.booleanAdd a newPropertyitem to the underlying collection.booleanaddSetParameter(SetParameter item) Add a newSetParameteritem to the underlying collection.dev.metaschema.core.datatype.markup.MarkupMultilineGet the "Control Implementation Description".Get the "Control Implementation".getLinks()Get the "Link".dev.metaschema.core.model.IMetaschemaDatagetProps()Get the "Property".Get the "Set Parameter Value".Get the "Source Resource Reference".getUuid()Get the "Control Implementation Set Identifier".booleanRemove the first matchingComponentImplementedRequirementitem from the underlying collection.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 matchingSetParameteritem from the underlying collection.voidsetDescription(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Control Implementation Description".voidSet the "Control Implementation".voidSet the "Link".voidSet the "Property".voidsetSetParameters(List<SetParameter> value) Set the "Set Parameter Value".voidSet the "Source Resource Reference".voidSet the "Control Implementation Set Identifier".toString()
-
Constructor Details
-
ComponentControlImplementation
public ComponentControlImplementation()Constructs a newdev.metaschema.oscal.lib.model.ComponentControlImplementationinstance with no metadata. -
ComponentControlImplementation
Constructs a newdev.metaschema.oscal.lib.model.ComponentControlImplementationinstance 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 Set Identifier".Provides a means to identify a set of control implementations that are supported by a given component or capability.
- Returns:
- the uuid value
-
setUuid
Set the "Control Implementation Set Identifier".Provides a means to identify a set of control implementations that are supported by a given component or capability.
- Parameters:
value- the uuid value to set
-
getSource
Get the "Source Resource Reference".A reference to an OSCAL catalog or profile providing the referenced control or subcontrol definition.
- Returns:
- the source value
-
setSource
Set the "Source Resource Reference".A reference to an OSCAL catalog or profile providing the referenced control or subcontrol definition.
- Parameters:
value- the source value to set
-
getDescription
Get the "Control Implementation Description".A description of how the specified set of controls are implemented for the containing component or capability.
- Returns:
- the description value
-
setDescription
Set the "Control Implementation Description".A description of how the specified set of controls are implemented for the containing component or capability.
- 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
-
getImplementedRequirements
Get the "Control Implementation".Describes how the containing component or capability implements an individual control.
- Returns:
- the implemented-requirement value
-
setImplementedRequirements
Set the "Control Implementation".Describes how the containing component or capability implements an individual control.
- Parameters:
value- the implemented-requirement value to set
-
addImplementedRequirement
Add a newComponentImplementedRequirementitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeImplementedRequirement
Remove the first matchingComponentImplementedRequirementitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
toString
-