Package gov.nist.secauto.oscal.lib.model
Class ControlImplementation
java.lang.Object
gov.nist.secauto.oscal.lib.model.ControlImplementation
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Control Implementation",
description="Describes how the system satisfies a set of controls.",
name="control-implementation",
moduleClass=OscalSspModule.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(index=@Index(level=ERROR,target="implemented-requirement//by-component/export/provided",name="by-component-export-provided-uuid",keyFields=@KeyField(target="@uuid")),unique=@IsUnique(id="unique-ssp-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 ControlImplementation
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
Describes how the system satisfies a set of controls.
-
Constructor Summary
ConstructorDescriptionControlImplementation
(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Add a newImplementedRequirement
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
gov.nist.secauto.metaschema.core.model.IMetaschemaData
boolean
Remove the first matchingImplementedRequirement
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
setSetParameters
(List<SetParameter> value) toString()
-
Constructor Details
-
ControlImplementation
public ControlImplementation() -
ControlImplementation
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getDescription
-
setDescription
-
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 newImplementedRequirement
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeImplementedRequirement
Remove the first matchingImplementedRequirement
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
toString
-