public class JcrMultiPropertyValueModel<T extends Serializable> extends Object implements org.apache.wicket.model.IModel<List<T>>
The contents of the list must be saved explicitly; i.e. modifying a returned list
is not sufficient, the client must also invoke setObject(List)
.
Constructor and Description |
---|
JcrMultiPropertyValueModel(JcrItemModel<javax.jcr.Property> itemModel) |
JcrMultiPropertyValueModel(JcrPropertyModel<T> propertyModel) |
Modifier and Type | Method and Description |
---|---|
void |
detach() |
boolean |
equals(Object object) |
JcrItemModel<javax.jcr.Property> |
getItemModel() |
List<T> |
getObject() |
javax.jcr.Property |
getProperty() |
int |
hashCode() |
protected List<T> |
load() |
void |
setObject(List<T> objects) |
String |
toString() |
public JcrMultiPropertyValueModel(JcrItemModel<javax.jcr.Property> itemModel)
public JcrMultiPropertyValueModel(JcrPropertyModel<T> propertyModel)
public javax.jcr.Property getProperty()
public JcrItemModel<javax.jcr.Property> getItemModel()
public List<T> getObject()
getObject
in interface org.apache.wicket.model.IModel<List<T extends Serializable>>
public void detach()
detach
in interface org.apache.wicket.model.IDetachable
public void setObject(List<T> objects)
setObject
in interface org.apache.wicket.model.IModel<List<T extends Serializable>>
Copyright © 2007–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.