Package gov.nist.secauto.oscal.lib.model
Class SelectControlByIdOscalAssessmentCommon
java.lang.Object
gov.nist.secauto.oscal.lib.model.SelectControlByIdOscalAssessmentCommon
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Select Control",
description="Used to select a control for inclusion/exclusion based on one or more control identifiers. A set of statement identifiers can be used to target the inclusion/exclusion to only specific control statements providing more granularity over the specific statements that are within the assessment scope.",
name="select-control-by-id",
moduleClass=OscalAssessmentCommonModule.class)
public class SelectControlByIdOscalAssessmentCommon
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
Used to select a control for inclusion/exclusion based on one or more control identifiers. A set of statement identifiers can be used to target the inclusion/exclusion to only specific control statements providing more granularity over the specific statements that are within the assessment scope.
-
Constructor Summary
ConstructorsConstructorDescriptionSelectControlByIdOscalAssessmentCommon(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddStatementId(String item) Add a newStringitem to the underlying collection.gov.nist.secauto.metaschema.core.model.IMetaschemaDatabooleanremoveStatementId(String item) Remove the first matchingStringitem from the underlying collection.voidsetControlId(String value) voidsetStatementIds(List<String> value) toString()
-
Constructor Details
-
SelectControlByIdOscalAssessmentCommon
-
SelectControlByIdOscalAssessmentCommon
public SelectControlByIdOscalAssessmentCommon(gov.nist.secauto.metaschema.core.model.IMetaschemaData data)
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getControlId
-
setControlId
-
getStatementIds
-
setStatementIds
-
addStatementId
Add a newStringitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeStatementId
Remove the first matchingStringitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
toString
-