Package org.ametys.cms.content
Class ContentAttributeDefinitionAndValue
java.lang.Object
org.ametys.runtime.model.DefinitionAndValue<Content>
org.ametys.cms.content.ContentAttributeDefinitionAndValue
Pair of a value and its definition for a content attribute
-
Constructor Summary
ConstructorDescriptionContentAttributeDefinitionAndValue
(Content root, ModelItem definition, Object value) Creates a definition and value pairContentAttributeDefinitionAndValue
(Content root, ModelItem definition, Object value, DefinitionAndValue<Content> parent) Creates a definition and value pair -
Method Summary
Methods inherited from class org.ametys.runtime.model.DefinitionAndValue
extractValues, getDefinition, getParent, getRoot, getValue
-
Constructor Details
-
ContentAttributeDefinitionAndValue
Creates a definition and value pair- Parameters:
root
- the root object of this definition and value pairdefinition
- the definitionvalue
- the value
-
ContentAttributeDefinitionAndValue
public ContentAttributeDefinitionAndValue(Content root, ModelItem definition, Object value, DefinitionAndValue<Content> parent) Creates a 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 pair
-