@Deprecated public final class RowItem extends Object implements Item
Item.Editor, Item.PropertySetChangeEvent, Item.PropertySetChangeListener, Item.PropertySetChangeNotifier, Item.Viewer| Constructor and Description |
|---|
RowItem(SQLContainer container,
RowId id,
Collection<ColumnProperty> properties)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addItemProperty(Object id,
Property property)
Deprecated.
Adding properties is not supported.
|
void |
commit()
Deprecated.
|
SQLContainer |
getContainer()
Deprecated.
|
RowId |
getId()
Deprecated.
|
Property |
getItemProperty(Object id)
Deprecated.
Gets the Property corresponding to the given Property ID stored in the
Item.
|
Collection<?> |
getItemPropertyIds()
Deprecated.
Gets the collection of IDs of all Properties stored in the Item.
|
boolean |
isModified()
Deprecated.
|
boolean |
removeItemProperty(Object id)
Deprecated.
Removing properties is not supported.
|
String |
toString()
Deprecated.
|
public RowItem(SQLContainer container, RowId id, Collection<ColumnProperty> properties)
public Property getItemProperty(Object id)
Itemnull is
returned.getItemProperty in interface Itemid - identifier of the Property to getnullpublic Collection<?> getItemPropertyIds()
ItemgetItemPropertyIds in interface Itempublic boolean addItemProperty(Object id, Property property) throws UnsupportedOperationException
addItemProperty in interface Itemid - ID of the new Propertyproperty - the Property to be added and associated with the idtrue if the operation succeeded, false
if notUnsupportedOperationException - if the operation is not supported.public boolean removeItemProperty(Object id) throws UnsupportedOperationException
removeItemProperty in interface Itemid - ID of the Property to be removedtrue if the operation succeededUnsupportedOperationException - if the operation is not supported. false if notpublic RowId getId()
public SQLContainer getContainer()
public boolean isModified()
public void commit()
Copyright © 2019 Vaadin Ltd. All rights reserved.