info.magnolia.ui.form.field.property
Class MultiValuesHandler<T>
java.lang.Object
info.magnolia.ui.form.field.property.AbstractMultiValueHandler<T>
info.magnolia.ui.form.field.property.MultiValuesHandler<T>
- Type Parameters:
T
- type of the element list.
- All Implemented Interfaces:
- MultiValueHandler<T>
public class MultiValuesHandler<T>
- extends AbstractMultiValueHandler<T>
Multi values properties implementation of MultiValueHandler
.
Store the list of values as Jcr Multi-property value.
Retrieve the Jcr Multi value property as a list.
Constructor Summary |
MultiValuesHandler(info.magnolia.ui.vaadin.integration.jcr.JcrNodeAdapter parent,
String propertyName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiValuesHandler
@Inject
public MultiValuesHandler(info.magnolia.ui.vaadin.integration.jcr.JcrNodeAdapter parent,
String propertyName)
setValue
public void setValue(List<T> newValue)
- Parameters:
newValue
- Set the newValue to the appropriate property.
getValue
public List<T> getValue()
- Returns:
- a List representation of the related property.
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.