org.ozoneDB.xml.core
Interface XMLCollection

All Superinterfaces:
org.ozoneDB.OzoneCompatibleOrProxy, org.ozoneDB.OzoneRemote
All Known Implementing Classes:
XMLCollectionImpl, XMLCollectionImpl_Proxy

public interface XMLCollection
extends org.ozoneDB.OzoneRemote

Version:
$Revision: 1.2 $
Author:
SMB

Method Summary
 void addResource(java.lang.String id)
           
 XMLCollection getChildCollection(java.lang.String name)
           
 int getChildCollectionCount()
          Returnes a non-recursive count of child collections (i.e. immediate children)
 java.lang.String getName()
          get the name given to this collection
 XMLCollection getParentCollection()
           
 int getResourceCount()
           
 java.util.Set getResources()
           
 boolean hasResource(java.lang.String id)
           
 java.lang.String[] listChildCollections()
           
 void setChildCollection(java.lang.String childName, XMLCollection childCollection)
          Added to support parent-child collections
 void setName(java.lang.String name)
          Set the name of this collection
 void setParentCollection(XMLCollection parentCollection)
          Added to support parent-child collections
 void storeResource(java.lang.String id, Resource res)
           
 
Methods inherited from interface org.ozoneDB.OzoneCompatibleOrProxy
getObjectID
 

Method Detail

setName

public void setName(java.lang.String name)
Set the name of this collection


getName

public java.lang.String getName()
get the name given to this collection


getParentCollection

public XMLCollection getParentCollection()

setParentCollection

public void setParentCollection(XMLCollection parentCollection)
Added to support parent-child collections


getChildCollectionCount

public int getChildCollectionCount()
Returnes a non-recursive count of child collections (i.e. immediate children)


listChildCollections

public java.lang.String[] listChildCollections()

getChildCollection

public XMLCollection getChildCollection(java.lang.String name)

setChildCollection

public void setChildCollection(java.lang.String childName,
                               XMLCollection childCollection)
Added to support parent-child collections


getResourceCount

public int getResourceCount()

getResources

public java.util.Set getResources()

hasResource

public boolean hasResource(java.lang.String id)

addResource

public void addResource(java.lang.String id)

storeResource

public void storeResource(java.lang.String id,
                          Resource res)


Copyright © 2004 The Ozone Database Project - www.ozone-db.org. All Rights Reserved.