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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addGroup
(ProfileGroup item) Add a newProfileGroup
item to the underlying collection.boolean
Add a newInsertControls
item to the underlying collection.gov.nist.secauto.metaschema.core.model.IMetaschemaData
boolean
removeGroup
(ProfileGroup item) Remove the first matchingProfileGroup
item from the underlying collection.boolean
Remove the first matchingInsertControls
item from the underlying collection.void
setGroups
(List<ProfileGroup> value) void
setInsertControls
(List<InsertControls> value) toString()
-
Constructor Details
-
Custom
public Custom() -
Custom
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getGroups
-
setGroups
-
addGroup
Add a newProfileGroup
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeGroup
Remove the first matchingProfileGroup
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getInsertControls
-
setInsertControls
-
addInsertControls
Add a newInsertControls
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeInsertControls
Remove the first matchingInsertControls
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
toString
-