Class RepeaterEntryDefinitionAndValue<T>
java.lang.Object
org.ametys.runtime.model.DefinitionAndValue<T>
org.ametys.plugins.repository.model.CompositeDefinitionAndValue<T>
org.ametys.plugins.repository.model.RepeaterEntryDefinitionAndValue<T>
- Type Parameters:
T
- Type of the root object
Pair of a value and its definition for a repeater entry
-
Constructor Summary
ConstructorDescriptionRepeaterEntryDefinitionAndValue
(T root, ModelItem definition, Object value, DefinitionAndValue... children) Creates a repeater entry definition and value pairRepeaterEntryDefinitionAndValue
(T root, ModelItem definition, Object value, DefinitionAndValue<T> parent, DefinitionAndValue... children) Creates a repeater entry definition and value pair -
Method Summary
Methods inherited from class org.ametys.plugins.repository.model.CompositeDefinitionAndValue
addChild, getChildren
Methods inherited from class org.ametys.runtime.model.DefinitionAndValue
extractValues, getParent, getRoot, getValue
-
Constructor Details
-
RepeaterEntryDefinitionAndValue
public RepeaterEntryDefinitionAndValue(T root, ModelItem definition, Object value, DefinitionAndValue... children) Creates a repeater entry definition and value pair- Parameters:
root
- the root object of this definition and value pairdefinition
- the definitionvalue
- the valuechildren
- the children of the definition and value pair
-
RepeaterEntryDefinitionAndValue
public RepeaterEntryDefinitionAndValue(T root, ModelItem definition, Object value, DefinitionAndValue<T> parent, DefinitionAndValue... children) Creates a repeater entry definition and value pair- Parameters:
root
- the root object of this definition and value pairdefinition
- the definitionvalue
- the valueparent
- the parent of the definition and value pairchildren
- the children of the definition and value pair
-
-
Method Details
-
getDefinition
Description copied from class:DefinitionAndValue
Retrieves the definition- Overrides:
getDefinition
in classCompositeDefinitionAndValue<T>
- Returns:
- the definition
-