Class 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
    • Method Detail

      • getItemProperty

        public Property getItemProperty​(Object id)
        Deprecated.
        Description copied from interface: Item
        Gets the Property corresponding to the given Property ID stored in the Item. If the Item does not contain the Property, null is returned.
        Specified by:
        getItemProperty in interface Item
        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: Item
        Gets the collection of IDs of all Properties stored in the Item.
        Specified by:
        getItemPropertyIds in interface Item
        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:
        addItemProperty in interface Item
        Parameters:
        id - ID of the new Property
        property - the Property to be added and associated with the id
        Returns:
        true if the operation succeeded, false if 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:
        removeItemProperty in interface Item
        Parameters:
        id - ID of the Property to be removed
        Returns:
        true if the operation succeeded
        Throws:
        UnsupportedOperationException - if the operation is not supported. false if not
      • getId

        public RowId getId()
        Deprecated.
      • getContainer

        public SQLContainer getContainer()
        Deprecated.
      • isModified

        public boolean isModified()
        Deprecated.
      • commit

        public void commit()
        Deprecated.