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.
Parameters
id
ID of the new Property
property
the Property to be added and associated with
id
true
if the operation succeeded,
false
if not
Exceptions
UnsupportedOperationException
if the operation is not supported.
Tries to add a new Property into the Item.
This functionality is optional.
Parameters
id
identifier of the Property to get
the Property with the given ID or
null
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
unmodifiable collection containing IDs of the Properties stored the Item
Gets the collection of IDs of all Properties stored in the Item.