final String schemaName = parentDbinfo.getSimpleName();
IDatabaseObjectInfo dbinfo = new DatabaseObjectInfo(catalogName,
schemaName, "PACKAGE",
IObjectTypes.PACKAGE_PARENT, md);
ObjectTreeNode child = new ObjectTreeNode(session, dbinfo);
child.addExpander(new PackageParentExpander());
childNodes.add(child);
ObjectType objType;
objType = new ObjectType(IObjectTypes.CONSUMER_GROUP_PARENT, "CONSUMER GROUP",
IObjectTypes.CONSUMER_GROUP);
childNodes.add(createObjectTypeNode(session, catalogName, schemaName,
md, objType));
objType = new ObjectType(IObjectTypes.FUNCTION_PARENT, "FUNCTION",
DatabaseObjectType.FUNCTION);
childNodes.add(createObjectTypeNode(session, catalogName, schemaName,
md, objType));
objType = new ObjectType(IObjectTypes.INDEX_PARENT, "INDEX", DatabaseObjectType.INDEX);
childNodes.add(createObjectTypeNode(session, catalogName, schemaName,
md, objType));
objType = new ObjectType(IObjectTypes.LOB_PARENT, "LOB", IObjectTypes.LOB);
childNodes.add(createObjectTypeNode(session, catalogName, schemaName,
md, objType));
IDatabaseObjectInfo seqInfo = new DatabaseObjectInfo(catalogName,
schemaName, "SEQUENCE",
IObjectTypes.SEQUENCE_PARENT, md);
ObjectTreeNode node = new ObjectTreeNode(session, seqInfo);
node.addExpander(new SequenceParentExpander());
childNodes.add(node);
objType = new ObjectType(IObjectTypes.TYPE_PARENT, "TYPE", IObjectTypes.TYPE);
childNodes.add(createObjectTypeNode(session, catalogName, schemaName,
md, objType));