Package gov.nist.secauto.oscal.lib.model
Class Merge.Custom
java.lang.Object
gov.nist.secauto.oscal.lib.model.Merge.Custom
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
- Enclosing class:
- Merge
@MetaschemaAssembly(formalName="Custom Grouping",
description="Provides an alternate grouping structure that selected controls will be placed in.",
name="custom",
moduleClass=OscalProfileModule.class,
remarks="The `custom` element represents a custom arrangement or organization of controls in the resolution of a catalog. This structuring directive gives the profile author the ability to define an entirely different organization of controls as compared to their source catalog(s).")
public static class Merge.Custom
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
Provides an alternate grouping structure that selected controls will be placed in.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddGroup(ProfileGroup item) Add a newProfileGroupitem to the underlying collection.booleanAdd a newInsertControlsitem to the underlying collection.gov.nist.secauto.metaschema.core.model.IMetaschemaDatabooleanremoveGroup(ProfileGroup item) Remove the first matchingProfileGroupitem from the underlying collection.booleanRemove the first matchingInsertControlsitem from the underlying collection.voidsetGroups(List<ProfileGroup> value) voidsetInsertControls(List<InsertControls> value) toString()
-
Constructor Details
-
Custom
public Custom() -
Custom
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getGroups
-
setGroups
-
addGroup
Add a newProfileGroupitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeGroup
Remove the first matchingProfileGroupitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getInsertControls
-
setInsertControls
-
addInsertControls
Add a newInsertControlsitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeInsertControls
Remove the first matchingInsertControlsitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
toString
-