info.magnolia.ui.vaadin.integration
Class NullItem

java.lang.Object
  extended by info.magnolia.ui.vaadin.integration.NullItem
All Implemented Interfaces:
com.vaadin.data.Item, Serializable

public class NullItem
extends Object
implements com.vaadin.data.Item

Implementation of Item that does nothing.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.vaadin.data.Item
com.vaadin.data.Item.Editor, com.vaadin.data.Item.PropertySetChangeEvent, com.vaadin.data.Item.PropertySetChangeListener, com.vaadin.data.Item.PropertySetChangeNotifier, com.vaadin.data.Item.Viewer
 
Constructor Summary
NullItem()
           
 
Method Summary
 boolean addItemProperty(Object id, com.vaadin.data.Property property)
           
 com.vaadin.data.Property getItemProperty(Object id)
           
 Collection<?> getItemPropertyIds()
           
 boolean removeItemProperty(Object id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullItem

public NullItem()
Method Detail

getItemProperty

public com.vaadin.data.Property getItemProperty(Object id)
Specified by:
getItemProperty in interface com.vaadin.data.Item

getItemPropertyIds

public Collection<?> getItemPropertyIds()
Specified by:
getItemPropertyIds in interface com.vaadin.data.Item

addItemProperty

public boolean addItemProperty(Object id,
                               com.vaadin.data.Property property)
                        throws UnsupportedOperationException
Specified by:
addItemProperty in interface com.vaadin.data.Item
Throws:
UnsupportedOperationException

removeItemProperty

public boolean removeItemProperty(Object id)
                           throws UnsupportedOperationException
Specified by:
removeItemProperty in interface com.vaadin.data.Item
Throws:
UnsupportedOperationException


Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.