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 booleanaddGroup(CatalogGroup item)Add a newCatalogGroupitem to the end of the underlying collection.List<CatalogGroup>getGroups()booleanremoveGroup(CatalogGroup item)Remove the first matchingCatalogGroupitem 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 newCatalogGroupitem to the end of the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeGroup
boolean removeGroup(@NonNull CatalogGroup item)
Remove the first matchingCatalogGroupitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
-