code: public String getFullPackageName(String classProjectID, String classPackageName)
      {
          if (classProjectID == null)
              return DBConstants.BLANK;
          String packageName = classProjectPackages.get(classProjectID);
          if (packageName == null)
              return null;    // This class is not accessible
          if (packageName.startsWith("."))
              packageName = Constants.ROOT_PACKAGE.substring(0, Constants.ROOT_PACKAGE.length() - 1) + packageName;
          if (classPackageName == null)
              classPackageName = DBConstants.BLANK;
          if (classPackageName.startsWith("."))
              packageName = packageName + classPackageName;
          else if (classPackageName.length() > 0)
              packageName = classPackageName;
          return packageName;
      }
docs: GetFullPackageName Method.