public class ItemWrapper extends java.lang.Object implements com.vaadin.data.Item, com.vaadin.data.Item.PropertySetChangeNotifier, UnsubscribableDsWrapper
| Constructor and Description |
|---|
ItemWrapper(java.lang.Object item,
MetaClass metaClass) |
ItemWrapper(java.lang.Object item,
MetaClass metaClass,
java.util.Collection<MetaPropertyPath> properties) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addItemProperty(java.lang.Object id,
com.vaadin.data.Property property) |
void |
addListener(com.vaadin.data.Item.PropertySetChangeListener listener) |
void |
addPropertySetChangeListener(com.vaadin.data.Item.PropertySetChangeListener listener) |
Entity |
getItem() |
com.vaadin.data.Property |
getItemProperty(java.lang.Object id) |
java.util.Collection |
getItemPropertyIds() |
boolean |
removeItemProperty(java.lang.Object id) |
void |
removeListener(com.vaadin.data.Item.PropertySetChangeListener listener) |
void |
removePropertySetChangeListener(com.vaadin.data.Item.PropertySetChangeListener listener) |
java.lang.String |
toString() |
void |
unsubscribe() |
public ItemWrapper(java.lang.Object item,
MetaClass metaClass)
public ItemWrapper(java.lang.Object item,
MetaClass metaClass,
java.util.Collection<MetaPropertyPath> properties)
public com.vaadin.data.Property getItemProperty(java.lang.Object id)
getItemProperty in interface com.vaadin.data.Itempublic java.util.Collection getItemPropertyIds()
getItemPropertyIds in interface com.vaadin.data.Itempublic boolean addItemProperty(java.lang.Object id,
com.vaadin.data.Property property)
throws java.lang.UnsupportedOperationException
addItemProperty in interface com.vaadin.data.Itemjava.lang.UnsupportedOperationExceptionpublic boolean removeItemProperty(java.lang.Object id)
throws java.lang.UnsupportedOperationException
removeItemProperty in interface com.vaadin.data.Itemjava.lang.UnsupportedOperationExceptionpublic void addPropertySetChangeListener(com.vaadin.data.Item.PropertySetChangeListener listener)
addPropertySetChangeListener in interface com.vaadin.data.Item.PropertySetChangeNotifierpublic void addListener(com.vaadin.data.Item.PropertySetChangeListener listener)
addListener in interface com.vaadin.data.Item.PropertySetChangeNotifierpublic void removePropertySetChangeListener(com.vaadin.data.Item.PropertySetChangeListener listener)
removePropertySetChangeListener in interface com.vaadin.data.Item.PropertySetChangeNotifierpublic void removeListener(com.vaadin.data.Item.PropertySetChangeListener listener)
removeListener in interface com.vaadin.data.Item.PropertySetChangeNotifierpublic void unsubscribe()
unsubscribe in interface UnsubscribableDsWrapperpublic java.lang.String toString()
toString in class java.lang.Objectpublic Entity getItem()