Interface IGroupContainer
-
- All Superinterfaces:
IControlContainer
- All Known Subinterfaces:
ICatalog
,ICatalogGroup
- All Known Implementing Classes:
AbstractCatalog
,AbstractCatalogGroup
,Catalog
,CatalogGroup
public interface IGroupContainer extends IControlContainer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
addGroup(CatalogGroup item)
Add a newCatalogGroup
item to the end of the underlying collection.List<CatalogGroup>
getGroups()
boolean
removeGroup(CatalogGroup item)
Remove the first matchingCatalogGroup
item from the underlying collection.-
Methods inherited from interface gov.nist.secauto.oscal.lib.model.control.catalog.IControlContainer
addControl, addParam, getControls, getParams, getReferencedParameterIds, removeControl, removeParam
-
-
-
-
Method Detail
-
getGroups
List<CatalogGroup> getGroups()
-
addGroup
boolean addGroup(@NonNull CatalogGroup item)
Add a newCatalogGroup
item to the end of the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeGroup
boolean removeGroup(@NonNull CatalogGroup item)
Remove the first matchingCatalogGroup
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
-