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.Item
public java.util.Collection getItemPropertyIds()
getItemPropertyIds
in interface com.vaadin.data.Item
public boolean addItemProperty(java.lang.Object id, com.vaadin.data.Property property) throws java.lang.UnsupportedOperationException
addItemProperty
in interface com.vaadin.data.Item
java.lang.UnsupportedOperationException
public boolean removeItemProperty(java.lang.Object id) throws java.lang.UnsupportedOperationException
removeItemProperty
in interface com.vaadin.data.Item
java.lang.UnsupportedOperationException
public void addPropertySetChangeListener(com.vaadin.data.Item.PropertySetChangeListener listener)
addPropertySetChangeListener
in interface com.vaadin.data.Item.PropertySetChangeNotifier
public void addListener(com.vaadin.data.Item.PropertySetChangeListener listener)
addListener
in interface com.vaadin.data.Item.PropertySetChangeNotifier
public void removePropertySetChangeListener(com.vaadin.data.Item.PropertySetChangeListener listener)
removePropertySetChangeListener
in interface com.vaadin.data.Item.PropertySetChangeNotifier
public void removeListener(com.vaadin.data.Item.PropertySetChangeListener listener)
removeListener
in interface com.vaadin.data.Item.PropertySetChangeNotifier
public void unsubscribe()
unsubscribe
in interface UnsubscribableDsWrapper
public java.lang.String toString()
toString
in class java.lang.Object
public Entity getItem()