code: public String[] getPath() {
          if (path != null)
              return path;
          else if (instanceName == null && type == TYPE_SUBMODULE)
              return new String[] { moduleID, submoduleName };
          else
              return super.getPath();
      }
docs: overwrite getPath method