Package gov.nist.secauto.oscal.lib.model
Class Merge.Custom
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.model.Merge.Custom
-
- Enclosing class:
- Merge
@MetaschemaAssembly(formalName="Custom Grouping", description="Provides an alternate grouping structure that selected controls will be placed in.", name="custom", metaschema=OscalProfileMetaschema.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
Provides an alternate grouping structure that selected controls will be placed in.
-
-
Constructor Summary
Constructors Constructor Description Custom()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addGroup(ProfileGroup item)
Add a newProfileGroup
item to the underlying collection.boolean
addInsertControls(InsertControls item)
Add a newInsertControls
item to the underlying collection.List<ProfileGroup>
getGroups()
List<InsertControls>
getInsertControls()
boolean
removeGroup(ProfileGroup item)
Remove the first matchingProfileGroup
item from the underlying collection.boolean
removeInsertControls(InsertControls item)
Remove the first matchingInsertControls
item from the underlying collection.void
setGroups(List<ProfileGroup> value)
void
setInsertControls(List<InsertControls> value)
String
toString()
-
-
-
Constructor Detail
-
Custom
public Custom()
-
-
Method Detail
-
getGroups
public List<ProfileGroup> getGroups()
-
setGroups
public void setGroups(List<ProfileGroup> value)
-
addGroup
public boolean addGroup(ProfileGroup item)
Add a newProfileGroup
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeGroup
public boolean removeGroup(ProfileGroup item)
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
public List<InsertControls> getInsertControls()
-
setInsertControls
public void setInsertControls(List<InsertControls> value)
-
addInsertControls
public boolean addInsertControls(InsertControls item)
Add a newInsertControls
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeInsertControls
public boolean removeInsertControls(InsertControls item)
Remove the first matchingInsertControls
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
-