[Opensource] core.dbobj.Schema: What is a categoryName?

Peter A. Pilgrim peterp at xenonsoft.demon.co.uk
Sun Aug 31 09:18:58 PDT 2003


     /**
      * Method to add a dbobject to the list of dbobjects in this schema
      * for a named dbother location and named category.
      * @param dbobjectClass The name of the dbobject to add to the schema.
      * @param otherDBName The dbcontext to use for this dataobject.
      * @param categoryName the navigation category to use for this database object
      */
     protected synchronized void addDBObject(String dbobjectClass,
                                             String otherDBName,
                                             String categoryName) {
         StringUtil.assertNotBlank(dbobjectClass,
                 "DB Object class name may not " +
                 " be null or blank here");
         SchemaDefinition sd = getDef();
         sd.addMember(dbobjectClass);

         if (otherDBName != null) {
             sd.addDBObjectMap(dbobjectClass, otherDBName);
         }
     } /* addDBObject(String, String, String) */


Can anyone explain the purpose "categoryName" in the Schema class?
NB: this parameter is not being used.

-- 
Peter Pilgrim
            __ _____ _____ _____
           / //__  // ___// ___/   +  Serverside Java
          / /___/ // /__ / /__     +  Struts
         / // ___// ___// ___/     +  Expresso Committer
      __/ // /__ / /__ / /__       +  Independent Contractor
     /___//____//____//____/       +  Intrinsic Motivation
On Line Resume
    ||
    \\===>  `` http://www.xenonsoft.demon.co.uk/no-it-striker.html ''




More information about the Opensource mailing list