|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ozoneDB.OzoneObject
org.ozoneDB.xml.core.XMLCollectionImpl
Constructor Summary | |
XMLCollectionImpl()
|
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 class org.ozoneDB.OzoneObject |
container, database, deleteRecursive, equals, getHandle, getObjectID, handle, hashCode, onActivate, onCreate, onDelete, onPassivate, requireWriteLocking, self, setContainer, toString, toXML |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.ozoneDB.OzoneCompatibleOrProxy |
getObjectID |
Constructor Detail |
public XMLCollectionImpl()
Method Detail |
public XMLCollection getParentCollection()
getParentCollection
in interface XMLCollection
public void setParentCollection(XMLCollection parentCollection)
setParentCollection
in interface XMLCollection
public java.lang.String getName()
XMLCollection
getName
in interface XMLCollection
public void setName(java.lang.String name)
XMLCollection
setName
in interface XMLCollection
public int getChildCollectionCount()
XMLCollection
getChildCollectionCount
in interface XMLCollection
public java.lang.String[] listChildCollections()
listChildCollections
in interface XMLCollection
public XMLCollection getChildCollection(java.lang.String name)
getChildCollection
in interface XMLCollection
public int getResourceCount()
getResourceCount
in interface XMLCollection
public java.util.Set getResources()
getResources
in interface XMLCollection
public boolean hasResource(java.lang.String id)
hasResource
in interface XMLCollection
public void addResource(java.lang.String id)
addResource
in interface XMLCollection
public void storeResource(java.lang.String id, Resource res)
storeResource
in interface XMLCollection
public void setChildCollection(java.lang.String childName, XMLCollection childCollection)
setChildCollection
in interface XMLCollection
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |