Interface IControlContainer
-
- All Known Subinterfaces:
ICatalog,ICatalogGroup,IControl,IGroupContainer
- All Known Implementing Classes:
AbstractCatalog,AbstractCatalogGroup,AbstractControl,Catalog,CatalogGroup,Control
public interface IControlContainer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanaddControl(Control item)Add a newControlitem to the end of the underlying collection.booleanaddParam(Parameter item)Add a newParameteritem to the underlying collection.List<Control>getControls()List<Parameter>getParams()Stream<String>getReferencedParameterIds()Get the parameter identifiers referenced in the object's context, but not by their child objects.booleanremoveControl(Control item)Remove the first matchingControlitem from the underlying collection.booleanremoveParam(Parameter item)Remove the first matchingParameteritem from the underlying collection.
-
-
-
Method Detail
-
getControls
List<Control> getControls()
-
addControl
boolean addControl(@NonNull Control item)
Add a newControlitem to the end of the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeControl
boolean removeControl(@NonNull Control item)
Remove the first matchingControlitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
addParam
boolean addParam(@NonNull Parameter item)
Add a newParameteritem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeParam
boolean removeParam(@NonNull Parameter item)
Remove the first matchingParameteritem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getReferencedParameterIds
Stream<String> getReferencedParameterIds()
Get the parameter identifiers referenced in the object's context, but not by their child objects.- Returns:
- a stream of identifiers
-
-