Package org.ametys.cms.content
Class ContentAttributeDefinitionAndValue
- java.lang.Object
-
- org.ametys.runtime.model.DefinitionAndValue<Content>
-
- org.ametys.cms.content.ContentAttributeDefinitionAndValue
-
public class ContentAttributeDefinitionAndValue extends DefinitionAndValue<Content>
Pair of a value and its definition for a content attribute
-
-
Constructor Summary
Constructors Constructor Description ContentAttributeDefinitionAndValue(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) List<ContentComparatorChange>compare(ContentAttributeDefinitionAndValue definitionAndValue)-
Methods inherited from class org.ametys.runtime.model.DefinitionAndValue
extractValues, getDefinition, getParent, getRoot, getValue
-
-
-
-
Constructor Detail
-
ContentAttributeDefinitionAndValue
public ContentAttributeDefinitionAndValue(Content root, ModelItem definition, Object value)
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
-
-
Method Detail
-
compare
List<ContentComparatorChange> compare(ContentAttributeDefinitionAndValue definitionAndValue)
-
-