コード例 #1
0
ファイル: BaseTOptionPeer.java プロジェクト: trackplus/Genji
  static {
    DATABASE_NAME = "track";
    TABLE_NAME = "TOPTION";

    OBJECTID = "TOPTION.OBJECTID";
    LIST = "TOPTION.LIST";
    LABEL = "TOPTION.LABEL";
    TOOLTIP = "TOPTION.TOOLTIP";
    PARENTOPTION = "TOPTION.PARENTOPTION";
    SORTORDER = "TOPTION.SORTORDER";
    ISDEFAULT = "TOPTION.ISDEFAULT";
    DELETED = "TOPTION.DELETED";
    SYMBOL = "TOPTION.SYMBOL";
    ICONKEY = "TOPTION.ICONKEY";
    ICONCHANGED = "TOPTION.ICONCHANGED";
    CSSSTYLE = "TOPTION.CSSSTYLE";
    TPUUID = "TOPTION.TPUUID";
    if (Torque.isInit()) {
      try {
        Torque.getMapBuilder(TOptionMapBuilder.CLASS_NAME);
      } catch (TorqueException e) {
        log.error("Could not initialize Peer", e);
        throw new TorqueRuntimeException(e);
      }
    } else {
      Torque.registerMapBuilder(TOptionMapBuilder.CLASS_NAME);
    }
  }
コード例 #2
0
  static {
    DATABASE_NAME = "track";
    TABLE_NAME = "TROLELISTTYPE";

    OBJECTID = "TROLELISTTYPE.OBJECTID";
    PROLE = "TROLELISTTYPE.PROLE";
    LISTTYPE = "TROLELISTTYPE.LISTTYPE";
    TPUUID = "TROLELISTTYPE.TPUUID";
    if (Torque.isInit()) {
      try {
        Torque.getMapBuilder(TRoleListTypeMapBuilder.CLASS_NAME);
      } catch (TorqueException e) {
        log.error("Could not initialize Peer", e);
        throw new TorqueRuntimeException(e);
      }
    } else {
      Torque.registerMapBuilder(TRoleListTypeMapBuilder.CLASS_NAME);
    }
  }
コード例 #3
0
ファイル: BaseTDomainPeer.java プロジェクト: trackplus/Genji
  static {
    DATABASE_NAME = "track";
    TABLE_NAME = "TDOMAIN";

    OBJECTID = "TDOMAIN.OBJECTID";
    LABEL = "TDOMAIN.LABEL";
    DESCRIPTION = "TDOMAIN.DESCRIPTION";
    TPUUID = "TDOMAIN.TPUUID";
    if (Torque.isInit()) {
      try {
        Torque.getMapBuilder(TDomainMapBuilder.CLASS_NAME);
      } catch (TorqueException e) {
        log.error("Could not initialize Peer", e);
        throw new TorqueRuntimeException(e);
      }
    } else {
      Torque.registerMapBuilder(TDomainMapBuilder.CLASS_NAME);
    }
  }
コード例 #4
0
  static {
    DATABASE_NAME = "query_parse";
    TABLE_NAME = "trie_words_suggest";

    ID = "trie_words_suggest.id";
    FK_KEYWORD_ID = "trie_words_suggest.fk_keyword_id";
    SUGGEST_WORD = "trie_words_suggest.suggest_word";
    SORT = "trie_words_suggest.sort";
    VIEW_URL = "trie_words_suggest.view_url";
    UPDATE_TIME = "trie_words_suggest.update_time";
    CREATE_TIME = "trie_words_suggest.create_time";
    if (Torque.isInit()) {
      try {
        Torque.getMapBuilder(TrieWordsSuggestMapBuilder.CLASS_NAME);
      } catch (TorqueException e) {
        log.error("Could not initialize Peer", e);
        throw new RuntimeException(e);
      }
    } else {
      Torque.registerMapBuilder(TrieWordsSuggestMapBuilder.CLASS_NAME);
    }
  }
コード例 #5
0
  static {
    DATABASE_NAME = "track";
    TABLE_NAME = "TSCREENTAB";

    OBJECTID = "TSCREENTAB.OBJECTID";
    NAME = "TSCREENTAB.NAME";
    LABEL = "TSCREENTAB.LABEL";
    DESCRIPTION = "TSCREENTAB.DESCRIPTION";
    SORTORDER = "TSCREENTAB.SORTORDER";
    PARENT = "TSCREENTAB.PARENT";
    TPUUID = "TSCREENTAB.TPUUID";
    if (Torque.isInit()) {
      try {
        Torque.getMapBuilder(TScreenTabMapBuilder.CLASS_NAME);
      } catch (TorqueException e) {
        log.error("Could not initialize Peer", e);
        throw new TorqueRuntimeException(e);
      }
    } else {
      Torque.registerMapBuilder(TScreenTabMapBuilder.CLASS_NAME);
    }
  }
コード例 #6
0
 /**
  * @return the map builder for this peer
  * @throws TorqueException Any exceptions caught during processing will be rethrown wrapped into a
  *     TorqueException.
  * @deprecated Torque.getMapBuilder(TrieWordsSuggestMapBuilder.CLASS_NAME) instead
  */
 public static MapBuilder getMapBuilder() throws TorqueException {
   return Torque.getMapBuilder(TrieWordsSuggestMapBuilder.CLASS_NAME);
 }
コード例 #7
0
 /**
  * @return the map builder for this peer
  * @throws TorqueException Any exceptions caught during processing will be rethrown wrapped into a
  *     TorqueException.
  * @deprecated Torque.getMapBuilder(TRoleListTypeMapBuilder.CLASS_NAME) instead
  */
 public static MapBuilder getMapBuilder() throws TorqueException {
   return Torque.getMapBuilder(TRoleListTypeMapBuilder.CLASS_NAME);
 }
コード例 #8
0
ファイル: BaseTOptionPeer.java プロジェクト: trackplus/Genji
 /**
  * @return the map builder for this peer
  * @throws TorqueException Any exceptions caught during processing will be rethrown wrapped into a
  *     TorqueException.
  * @deprecated Torque.getMapBuilder(TOptionMapBuilder.CLASS_NAME) instead
  */
 public static MapBuilder getMapBuilder() throws TorqueException {
   return Torque.getMapBuilder(TOptionMapBuilder.CLASS_NAME);
 }