Package gov.nist.secauto.oscal.lib.model
Class ComponentControlImplementation
java.lang.Object
gov.nist.secauto.oscal.lib.model.ComponentControlImplementation
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Control Implementation Set",
description="Defines how the component or capability supports a set of controls.",
name="control-implementation",
moduleClass=OscalComponentDefinitionModule.class,
remarks="Use of `set-parameter` in this context, sets the parameter for all controls referenced by any `implemented-requirement` contained in this context. Any `set-parameter` defined in a child context will override this value. If not overridden by a child, this value applies in the child context.",
modelConstraints=@AssemblyConstraints(unique=@IsUnique(id="unique-component-definition-control-implementation-set-parameter",level=ERROR,target="set-parameter",keyFields=@KeyField(target="@param-id"),remarks="Since multiple `set-parameter` entries can be provided, each parameter must be set only once.")))
public class ComponentControlImplementation
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
Defines how the component or capability supports a set of controls.
-
Constructor Summary
ConstructorDescriptionComponentControlImplementation
(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Add a newComponentImplementedRequirement
item to the underlying collection.boolean
Add a newLink
item to the underlying collection.boolean
Add a newProperty
item to the underlying collection.boolean
addSetParameter
(SetParameter item) Add a newSetParameter
item to the underlying collection.gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline
getLinks()
gov.nist.secauto.metaschema.core.model.IMetaschemaData
getProps()
getUuid()
boolean
Remove the first matchingComponentImplementedRequirement
item from the underlying collection.boolean
removeLink
(Link item) Remove the first matchingLink
item from the underlying collection.boolean
removeProp
(Property item) Remove the first matchingProperty
item from the underlying collection.boolean
Remove the first matchingSetParameter
item from the underlying collection.void
setDescription
(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) void
void
void
void
setSetParameters
(List<SetParameter> value) void
void
toString()
-
Constructor Details
-
ComponentControlImplementation
public ComponentControlImplementation() -
ComponentControlImplementation
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getUuid
-
setUuid
-
getSource
-
setSource
-
getDescription
-
setDescription
-
getProps
-
setProps
-
addProp
Add a newProperty
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeProp
Remove the first matchingProperty
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getLinks
-
setLinks
-
addLink
Add a newLink
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeLink
Remove the first matchingLink
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getSetParameters
-
setSetParameters
-
addSetParameter
Add a newSetParameter
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeSetParameter
Remove the first matchingSetParameter
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getImplementedRequirements
-
setImplementedRequirements
-
addImplementedRequirement
Add a newComponentImplementedRequirement
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeImplementedRequirement
Remove the first matchingComponentImplementedRequirement
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
toString
-