Ejemplo n.º 1
0
  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);
    }
  }
Ejemplo n.º 2
0
 static {
   PRODUCT_CAT_ID = "PRODUCT_CATEGORY.PRODUCT_CAT_ID";
   PRODUCT_CAT_NAME = "PRODUCT_CATEGORY.PRODUCT_CAT_NAME";
   if (Torque.isInit()) {
     try {
       getMapBuilder(ProductCategoryMapBuilder.CLASS_NAME);
     } catch (Exception e) {
       log.error("Could not initialize Peer", e);
     }
   } else {
     Torque.registerMapBuilder(ProductCategoryMapBuilder.CLASS_NAME);
   }
 }
 static {
   ID = "ATTENDENCE_SEET.ID";
   USER_ID = "ATTENDENCE_SEET.USER_ID";
   LOGIN_DATE = "ATTENDENCE_SEET.LOGIN_DATE";
   IPADDRESS = "ATTENDENCE_SEET.IPADDRESS";
   if (Torque.isInit()) {
     try {
       getMapBuilder(AttendenceSeetMapBuilder.CLASS_NAME);
     } catch (Exception e) {
       log.error("Could not initialize Peer", e);
     }
   } else {
     Torque.registerMapBuilder(AttendenceSeetMapBuilder.CLASS_NAME);
   }
 }
Ejemplo n.º 4
0
 static {
   EXAM_ID = "exam.EXAM_ID";
   TITLE = "exam.TITLE";
   TIME_OF_EXAM = "exam.TIME_OF_EXAM";
   UPLOADED_BY = "exam.UPLOADED_BY";
   DATE_UPLOADED = "exam.DATE_UPLOADED";
   INSTRUCTIONS = "exam.INSTRUCTIONS";
   if (Torque.isInit()) {
     try {
       getMapBuilder(ExamMapBuilder.CLASS_NAME);
     } catch (Exception e) {
       log.error("Could not initialize Peer", e);
     }
   } else {
     Torque.registerMapBuilder(ExamMapBuilder.CLASS_NAME);
   }
 }
Ejemplo n.º 5
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);
    }
  }
 static {
   LOG_ID = "system_log.LOG_ID";
   USER_ID = "system_log.USER_ID";
   ACTION = "system_log.ACTION";
   LOCATION = "system_log.LOCATION";
   PREVIOUS_VALUE = "system_log.PREVIOUS_VALUE";
   CURRENT_VALUE = "system_log.CURRENT_VALUE";
   NOTES = "system_log.NOTES";
   DATE = "system_log.DATE";
   if (Torque.isInit()) {
     try {
       getMapBuilder(System_LogMapBuilder.CLASS_NAME);
     } catch (Exception e) {
       log.error("Could not initialize Peer", e);
     }
   } else {
     Torque.registerMapBuilder(System_LogMapBuilder.CLASS_NAME);
   }
 }
Ejemplo n.º 7
0
  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);
    }
  }
Ejemplo n.º 8
0
 static {
   ID = "Ordenes_Trabajo.ID";
   FECHA_ENTRADA = "Ordenes_Trabajo.FECHA_ENTRADA";
   FECHA_SALIDA = "Ordenes_Trabajo.FECHA_SALIDA";
   OBSERVACION = "Ordenes_Trabajo.OBSERVACION";
   REPARACION_ID = "Ordenes_Trabajo.REPARACION_ID";
   IMPORTE = "Ordenes_Trabajo.IMPORTE";
   TIPO = "Ordenes_Trabajo.TIPO";
   RESPONSABLE_ID = "Ordenes_Trabajo.RESPONSABLE_ID";
   HORAS = "Ordenes_Trabajo.HORAS";
   DESCRIPCION = "Ordenes_Trabajo.DESCRIPCION";
   if (Torque.isInit()) {
     try {
       getMapBuilder(OrdenTrabajoMapBuilder.CLASS_NAME);
     } catch (Exception e) {
       log.error("Could not initialize Peer", e);
     }
   } else {
     Torque.registerMapBuilder(OrdenTrabajoMapBuilder.CLASS_NAME);
   }
 }
  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);
    }
  }
Ejemplo n.º 10
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);
    }
  }
Ejemplo n.º 11
0
  static {
    DATABASE_NAME = "searchconsole";
    TABLE_NAME = "user";

    ID = "user.id";
    NAME = "user.name";
    PASSWORD = "******";
    TRUE_NAME = "user.true_name";
    TEAM = "user.team";
    SEX = "user.sex";
    BIRTH = "user.birth";
    LASTLOGINDATE = "user.lastLoginDate";
    if (Torque.isInit()) {
      try {
        getMapBuilder(UserMapBuilder.CLASS_NAME);
      } catch (Exception e) {
        log.error("Could not initialize Peer", e);
        throw new RuntimeException(e);
      }
    } else {
      Torque.registerMapBuilder(UserMapBuilder.CLASS_NAME);
    }
  }