Interface IGroupContainer
- All Superinterfaces:
IControlContainer
- All Known Subinterfaces:
ICatalog,ICatalogGroup
- All Known Implementing Classes:
AbstractCatalog,AbstractCatalogGroup,Catalog,CatalogGroup
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaddGroup(CatalogGroup item) Add a newCatalogGroupitem to the end of the underlying collection.booleanremoveGroup(CatalogGroup item) Remove the first matchingCatalogGroupitem from the underlying collection.Methods inherited from interface dev.metaschema.oscal.lib.model.control.catalog.IControlContainer
addControl, addParam, getControls, getParams, getReferencedParameterIds, removeControl, removeParam
-
Method Details
-
getGroups
-
addGroup
Add a newCatalogGroupitem to the end of the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeGroup
Remove the first matchingCatalogGroupitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-