|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.gxos.Collections
Provides necessary methods for collection management such as collection creation and initialization.
$Id: Collections.java,v 1.9 2001/06/22 23:37:10 balsoy Exp $
| Constructor Summary | |
Collections()
|
|
| Method Summary | |
static CollectionType |
constructCollection(TreeObject parent,
java.lang.String name)
Returns an empty collection with default values set. |
static CollectionType |
constructRootObject(java.lang.String rootName)
Returns an empty root collection with default values set. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Collections()
| Method Detail |
public static CollectionType constructCollection(TreeObject parent,
java.lang.String name)
Returns an empty collection with default values set. Its
NodeType is set to NodeTypeType.COLLECTION.
NodeRooting is set to NoteRootingType.INTERNALNODE.
If the parent is given, then newly created collection is added to the parent's child list as well.
parent - Parent object of this newly created collection.name - Name of this collection.public static CollectionType constructRootObject(java.lang.String rootName)
Returns an empty root collection with default values set. Its
NodeType is set to NodeTypeType.ROOTCONTEXT.
NodeRooting is set to NoteRootingType.ROOT.
Root collections do not require a parent object.
name - Name of the root collection.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||