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 ObjectProvides 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 booleanaddGroup(ProfileGroup item)Add a newProfileGroupitem to the underlying collection.booleanaddInsertControls(InsertControls item)Add a newInsertControlsitem to the underlying collection.List<ProfileGroup>getGroups()List<InsertControls>getInsertControls()booleanremoveGroup(ProfileGroup item)Remove the first matchingProfileGroupitem from the underlying collection.booleanremoveInsertControls(InsertControls item)Remove the first matchingInsertControlsitem from the underlying collection.voidsetGroups(List<ProfileGroup> value)voidsetInsertControls(List<InsertControls> value)StringtoString()
-
-
-
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 newProfileGroupitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeGroup
public boolean removeGroup(ProfileGroup item)
Remove the first matchingProfileGroupitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getInsertControls
public List<InsertControls> getInsertControls()
-
setInsertControls
public void setInsertControls(List<InsertControls> value)
-
addInsertControls
public boolean addInsertControls(InsertControls item)
Add a newInsertControlsitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeInsertControls
public boolean removeInsertControls(InsertControls item)
Remove the first matchingInsertControlsitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
-