| org.millstone.base.data.Item
All known Subclasses: org.millstone.base.ui.Form, org.millstone.base.data.util.PropertysetItem,
Item | public interface Item (Code) | | Provides a mechanism for handling a set of Properties, each associated
to a locally unique identifier. The interface is split into subinterfaces
to enable a class to implement only the functionalities it needs.
author: IT Mill Ltd version: 3.1.1 since: 3.0 |
Inner Class :public interface Viewer | |
Inner Class :public interface Editor extends Item.Viewer | |
Inner Class :public interface PropertySetChangeEvent | |
Inner Class :public interface PropertySetChangeListener | |
Inner Class :public interface PropertySetChangeNotifier | |
addItemProperty | public boolean addItemProperty(Object id, Property property) throws UnsupportedOperationException(Code) | | Tries to add a new Property into the Item.
This functionality is optional.
Parameters: id - ID of the new Property Parameters: property - the Property to be added and associated withid throws: UnsupportedOperationException - if the operation is not supported. true if the operation succeeded,false if not |
getItemProperty | public Property getItemProperty(Object id)(Code) | | Gets the Property corresponding to the given Property ID stored in
the Item. If the Item does not contain the Property,
null is returned.
Parameters: id - identifier of the Property to get the Property with the given ID or null |
getItemPropertyIds | public Collection getItemPropertyIds()(Code) | | Gets the collection of IDs of all Properties stored in the Item.
unmodifiable collection containing IDs of the Propertiesstored the Item |
removeItemProperty | public boolean removeItemProperty(Object id) throws UnsupportedOperationException(Code) | | Removes the Property identified by ID from the Item.
This functionality is optional.
Parameters: id - ID of the Property to be removed throws: UnsupportedOperationException - if the operation is not supported. true if the operation succeededfalse if not |
|
|