Class RowItem
- java.lang.Object
-
- com.vaadin.v7.data.util.sqlcontainer.RowItem
-
- All Implemented Interfaces:
Item,Serializable
@Deprecated public final class RowItem extends Object implements Item
Deprecated.As of 8.0, no replacement available.RowItem represents one row of a result set obtained from a QueryDelegate. Note that depending on the QueryDelegate in use this does not necessarily map into an actual row in a database table.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.vaadin.v7.data.Item
Item.Editor, Item.PropertySetChangeEvent, Item.PropertySetChangeListener, Item.PropertySetChangeNotifier, Item.Viewer
-
-
Constructor Summary
Constructors Constructor Description RowItem(SQLContainer container, RowId id, Collection<ColumnProperty> properties)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanaddItemProperty(Object id, Property property)Deprecated.Adding properties is not supported.voidcommit()Deprecated.SQLContainergetContainer()Deprecated.RowIdgetId()Deprecated.PropertygetItemProperty(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.booleanisModified()Deprecated.booleanremoveItemProperty(Object id)Deprecated.Removing properties is not supported.StringtoString()Deprecated.
-
-
-
Constructor Detail
-
RowItem
public RowItem(SQLContainer container, RowId id, Collection<ColumnProperty> properties)
Deprecated.
-
-
Method Detail
-
getItemProperty
public Property getItemProperty(Object id)
Deprecated.Description copied from interface:ItemGets the Property corresponding to the given Property ID stored in the Item. If the Item does not contain the Property,nullis returned.- Specified by:
getItemPropertyin interfaceItem- Parameters:
id- identifier of the Property to get- Returns:
- the Property with the given ID or
null
-
getItemPropertyIds
public Collection<?> getItemPropertyIds()
Deprecated.Description copied from interface:ItemGets the collection of IDs of all Properties stored in the Item.- Specified by:
getItemPropertyIdsin interfaceItem- Returns:
- unmodifiable collection containing IDs of the Properties stored the Item
-
addItemProperty
public boolean addItemProperty(Object id, Property property) throws UnsupportedOperationException
Deprecated.Adding properties is not supported. Properties are generated by SQLContainer.- Specified by:
addItemPropertyin interfaceItem- Parameters:
id- ID of the new Propertyproperty- the Property to be added and associated with the id- Returns:
trueif the operation succeeded,falseif not- Throws:
UnsupportedOperationException- if the operation is not supported.
-
removeItemProperty
public boolean removeItemProperty(Object id) throws UnsupportedOperationException
Deprecated.Removing properties is not supported. Properties are generated by SQLContainer.- Specified by:
removeItemPropertyin interfaceItem- Parameters:
id- ID of the Property to be removed- Returns:
trueif the operation succeeded- Throws:
UnsupportedOperationException- if the operation is not supported.falseif not
-
getId
public RowId getId()
Deprecated.
-
getContainer
public SQLContainer getContainer()
Deprecated.
-
isModified
public boolean isModified()
Deprecated.
-
commit
public void commit()
Deprecated.
-
-