Package org.ametys.runtime.config
Class ConfigParameterDefinitionWrapper<T>
java.lang.Object
org.ametys.runtime.model.CategorizedElementDefinitionWrapper<T>
org.ametys.runtime.config.ConfigParameterDefinitionWrapper<T>
- Type Parameters:
T
- Type of the parameter value
Object containing the definition of a configuration parameter and informations about its categories / groups and group switch
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
Defines if this definition is the group switchFields inherited from class org.ametys.runtime.model.CategorizedElementDefinitionWrapper
_definition, _displayCategory, _displayGroup, _position
-
Constructor Summary
ConstructorDescriptionDefault constructor.ConfigParameterDefinitionWrapper
(CategorizedElementDefinitionWrapper<T> wrapperToCopy) Constructor by copying an existingConfigParameterDefinitionWrapper
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Retrieves true if this definition is the group switchvoid
setGroupSwitch
(boolean isGroupSwitch) Sets the group switchMethods inherited from class org.ametys.runtime.model.CategorizedElementDefinitionWrapper
equals, getDefinition, getDisplayCategory, getDisplayGroup, getPosition, hashCode, setDefinition, setDisplayCategory, setDisplayGroup, setPosition, toString
-
Field Details
-
_isGroupSwitch
Defines if this definition is the group switch
-
-
Constructor Details
-
ConfigParameterDefinitionWrapper
public ConfigParameterDefinitionWrapper()Default constructor. -
ConfigParameterDefinitionWrapper
Constructor by copying an existingConfigParameterDefinitionWrapper
.- Parameters:
wrapperToCopy
- TheConfigParameterDefinitionWrapper
to copy
-
-
Method Details
-
isGroupSwitch
Retrieves true if this definition is the group switch- Returns:
- true if this definition is the group switch, false otherwise
-
setGroupSwitch
Sets the group switch- Parameters:
isGroupSwitch
- true if this definition is the group switch
-