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
public class RepeaterEntryDefinitionAndValue<T> extends CompositeDefinitionAndValue<T>
Pair of a value and its definition for a repeater entry
-
-
Constructor Summary
Constructors Constructor Description RepeaterEntryDefinitionAndValue(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RepeaterDefinition
getDefinition()
Retrieves the definition-
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 Detail
-
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 Detail
-
getDefinition
public RepeaterDefinition getDefinition()
Description copied from class:DefinitionAndValue
Retrieves the definition- Overrides:
getDefinition
in classCompositeDefinitionAndValue<T>
- Returns:
- the definition
-
-