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
FieldsModifier and TypeFieldDescriptionprotected booleanDefines if this definition is the group switchFields inherited from class org.ametys.runtime.model.CategorizedElementDefinitionWrapper
_definition, _displayCategory, _displayGroup, _position - 
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.ConfigParameterDefinitionWrapper(CategorizedElementDefinitionWrapper<T> wrapperToCopy) Constructor by copying an existingConfigParameterDefinitionWrapper. - 
Method Summary
Modifier and TypeMethodDescriptionbooleanRetrieves true if this definition is the group switchvoidsetGroupSwitch(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- TheConfigParameterDefinitionWrapperto 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
 
 -