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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Add a newProfileSelectControlById
item to the underlying collection.boolean
Add a newProfileSelectControlById
item to the underlying collection.gov.nist.secauto.metaschema.core.model.IMetaschemaData
getOrder()
boolean
Remove the first matchingProfileSelectControlById
item from the underlying collection.boolean
Remove the first matchingProfileSelectControlById
item from the underlying collection.void
void
setIncludeAll
(IncludeAll value) void
void
toString()
-
Constructor Details
-
InsertControls
public InsertControls() -
InsertControls
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getOrder
-
setOrder
-
getIncludeAll
-
setIncludeAll
-
getIncludeControls
-
setIncludeControls
-
addIncludeControls
Add a newProfileSelectControlById
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeIncludeControls
Remove the first matchingProfileSelectControlById
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getExcludeControls
-
setExcludeControls
-
addExcludeControls
Add a newProfileSelectControlById
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeExcludeControls
Remove the first matchingProfileSelectControlById
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
toString
-