Package net.anotheria.anodoc.data
Interface ICompositeDataObject
-
- All Superinterfaces:
IBasicStoreableObject
- All Known Implementing Classes:
AbstractASGDocument,Document,DocumentList,IDHolder,Module
public interface ICompositeDataObject extends IBasicStoreableObject
This container represents a composite container like a Document or a DocumentList.- Version:
- $Id: $Id
- Author:
- another
- See Also:
IPlainDataObject,IBasicStoreableObject
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Enumeration<java.lang.String>getKeys()This method is used by the storage to query the underlying data.java.lang.ObjectgetObject(java.lang.String key)This method is used by the storage to save not only the container, but the underlying data too.-
Methods inherited from interface net.anotheria.anodoc.data.IBasicStoreableObject
getStorageId
-
-
-
-
Method Detail
-
getKeys
java.util.Enumeration<java.lang.String> getKeys()
This method is used by the storage to query the underlying data. It's also used by debug or administration programs to trace a composite object, such as Document.- Returns:
- the keys (ids) of contained elements.
-
getObject
java.lang.Object getObject(java.lang.String key)
This method is used by the storage to save not only the container, but the underlying data too. It's also used by debug or administration programs to trace a composite object, such as Document.- Parameters:
key- the key (id) of the contained element/object.- Returns:
- the object associated to the key.
-
-