Package gov.nist.secauto.oscal.lib.model
Class InsertControls
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.model.InsertControls
-
@MetaschemaAssembly(formalName="Insert Controls", description="Specifies which controls to use in the containing context.", name="insert-controls", metaschema=OscalProfileMetaschema.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
Specifies which controls to use in the containing context.
-
-
Constructor Summary
Constructors Constructor Description InsertControls()
-
Method Summary
-
-
-
Constructor Detail
-
InsertControls
public InsertControls()
-
-
Method Detail
-
getIncludeAll
public IncludeAll getIncludeAll()
-
setIncludeAll
public void setIncludeAll(IncludeAll value)
-
getIncludeControls
public List<ProfileSelectControlById> getIncludeControls()
-
setIncludeControls
public void setIncludeControls(List<ProfileSelectControlById> value)
-
addIncludeControls
public boolean addIncludeControls(ProfileSelectControlById item)
Add a newProfileSelectControlById
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeIncludeControls
public boolean removeIncludeControls(ProfileSelectControlById item)
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
public List<ProfileSelectControlById> getExcludeControls()
-
setExcludeControls
public void setExcludeControls(List<ProfileSelectControlById> value)
-
addExcludeControls
public boolean addExcludeControls(ProfileSelectControlById item)
Add a newProfileSelectControlById
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeExcludeControls
public boolean removeExcludeControls(ProfileSelectControlById item)
Remove the first matchingProfileSelectControlById
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
-