Package gov.nist.secauto.oscal.lib.model
Class ControlImplementation
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.model.ControlImplementation
-
@MetaschemaAssembly(formalName="Control Implementation", description="Describes how the system satisfies a set of controls.", name="control-implementation", metaschema=OscalSspMetaschema.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.") @AssemblyConstraints(index=@Index(level=ERROR,target="implemented-requirement//by-component/export/provided",name="by-component-export-provided-uuid",keyFields=@KeyField(target="@uuid")), isUnique=@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
Describes how the system satisfies a set of controls.
-
-
Constructor Summary
Constructors Constructor Description ControlImplementation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addImplementedRequirement(ImplementedRequirement item)
Add a newImplementedRequirement
item to the underlying collection.boolean
addSetParameter(SetParameter item)
Add a newSetParameter
item to the underlying collection.gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline
getDescription()
List<ImplementedRequirement>
getImplementedRequirements()
List<SetParameter>
getSetParameters()
boolean
removeImplementedRequirement(ImplementedRequirement item)
Remove the first matchingImplementedRequirement
item from the underlying collection.boolean
removeSetParameter(SetParameter item)
Remove the first matchingSetParameter
item from the underlying collection.void
setDescription(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
void
setImplementedRequirements(List<ImplementedRequirement> value)
void
setSetParameters(List<SetParameter> value)
String
toString()
-
-
-
Constructor Detail
-
ControlImplementation
public ControlImplementation()
-
-
Method Detail
-
getDescription
public gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline getDescription()
-
setDescription
public void setDescription(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
-
getSetParameters
public List<SetParameter> getSetParameters()
-
setSetParameters
public void setSetParameters(List<SetParameter> value)
-
addSetParameter
public boolean addSetParameter(SetParameter item)
Add a newSetParameter
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeSetParameter
public boolean removeSetParameter(SetParameter item)
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
public List<ImplementedRequirement> getImplementedRequirements()
-
setImplementedRequirements
public void setImplementedRequirements(List<ImplementedRequirement> value)
-
addImplementedRequirement
public boolean addImplementedRequirement(ImplementedRequirement item)
Add a newImplementedRequirement
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeImplementedRequirement
public boolean removeImplementedRequirement(ImplementedRequirement item)
Remove the first matchingImplementedRequirement
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
-