Package gov.nist.secauto.oscal.lib.model
Class InsertControls
java.lang.Object
gov.nist.secauto.oscal.lib.model.InsertControls
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Insert Controls",
description="Specifies which controls to use in the containing context.",
name="insert-controls",
moduleClass=OscalProfileModule.class,
remarks="To be schema-valid, this element must contain either (but not both) a single `include-all` directive, or a sequence of `include-controls` directives.\n\nIf this directive is not provided, then no controls are to be inserted; i.e., all controls are included explicitly.")
public class InsertControls
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
Specifies which controls to use in the containing context.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newProfileSelectControlByIditem to the underlying collection.booleanAdd a newProfileSelectControlByIditem to the underlying collection.gov.nist.secauto.metaschema.core.model.IMetaschemaDatagetOrder()booleanRemove the first matchingProfileSelectControlByIditem from the underlying collection.booleanRemove the first matchingProfileSelectControlByIditem from the underlying collection.voidvoidsetIncludeAll(IncludeAll value) voidvoidtoString()
-
Constructor Details
-
InsertControls
public InsertControls() -
InsertControls
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getOrder
-
setOrder
-
getIncludeAll
-
setIncludeAll
-
getIncludeControls
-
setIncludeControls
-
addIncludeControls
Add a newProfileSelectControlByIditem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeIncludeControls
Remove the first matchingProfileSelectControlByIditem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getExcludeControls
-
setExcludeControls
-
addExcludeControls
Add a newProfileSelectControlByIditem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeExcludeControls
Remove the first matchingProfileSelectControlByIditem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
toString
-