Package gov.nist.secauto.oscal.lib.model
Class ComponentImplementedRequirement
java.lang.Object
gov.nist.secauto.oscal.lib.model.ComponentImplementedRequirement
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Control Implementation",
description="Describes how the containing component or capability implements an individual control.",
name="implemented-requirement",
moduleClass=OscalComponentDefinitionModule.class,
remarks="Implemented requirements within a component or capability in a component definition provide a means for component suppliers to suggest possible control implementation details, which may be used by a different party (e.g., component consumers) when authoring a system security plan. Thus, these requirements defined in a component definition are only a suggestion of how to implement, which may be adopted wholesale, changed, or ignored by a person defining an information system implementation.\n\nUse of `set-parameter` in this context, sets the parameter for the referenced control and any associated statements.",
modelConstraints=@IsUnique(id="unique-component-definition-implemented-requirement-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.") @IsUnique(id="unique-component-definition-implemented-requirement-responsible-role",level=ERROR,target="responsible-role",keyFields=@KeyField(target="@role-id"),remarks="Since `responsible-role` associates multiple `party-uuid` entries with a single `role-id`, each role-id must be referenced only once.") @IsUnique(id="unique-component-definition-implemented-requirement-statement",level=ERROR,target="statement",keyFields=@KeyField(target="@statement-id"),remarks="Since `statement` entries can be referenced using the statement\'s statement-id, each statement must be referenced only once."))
public class ComponentImplementedRequirement
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
Describes how the containing component or capability implements an individual control.
-
Constructor Summary
ConstructorDescriptionComponentImplementedRequirement
(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Add a newLink
item to the underlying collection.boolean
Add a newProperty
item to the underlying collection.boolean
Add a newResponsibleRole
item to the underlying collection.boolean
addSetParameter
(SetParameter item) Add a newSetParameter
item to the underlying collection.boolean
Add a newComponentStatement
item to the underlying collection.gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline
getLinks()
gov.nist.secauto.metaschema.core.model.IMetaschemaData
getProps()
gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline
getUuid()
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 matchingResponsibleRole
item from the underlying collection.boolean
Remove the first matchingSetParameter
item from the underlying collection.boolean
Remove the first matchingComponentStatement
item from the underlying collection.void
setControlId
(String value) void
setDescription
(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) void
void
void
setRemarks
(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) void
setResponsibleRoles
(List<ResponsibleRole> value) void
setSetParameters
(List<SetParameter> value) void
setStatements
(List<ComponentStatement> value) void
toString()
-
Constructor Details
-
ComponentImplementedRequirement
public ComponentImplementedRequirement() -
ComponentImplementedRequirement
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getUuid
-
setUuid
-
getControlId
-
setControlId
-
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
-
getResponsibleRoles
-
setResponsibleRoles
-
addResponsibleRole
Add a newResponsibleRole
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeResponsibleRole
Remove the first matchingResponsibleRole
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getStatements
-
setStatements
-
addStatement
Add a newComponentStatement
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeStatement
Remove the first matchingComponentStatement
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getRemarks
-
setRemarks
-
toString
-