static {
    TRANSCRIPTSOFRECORDLIST_ID = new VirtualTableColumn<Integer>("TRANSCRIPTSOFRECORDLIST_ID");
    TRANSCRIPTSOFRECORDLIST_ID.setType(DataType.INTEGER);
    TRANSCRIPTSOFRECORDLIST_ID.setNullable(false);
    TRANSCRIPTSOFRECORDLIST_ID.setDefaultValue(0);
    TRANSCRIPTSOFRECORDLIST_ID.setVisible(false);
    TRANSCRIPTSOFRECORDLIST_ID.setPreferredWidth(100);
    TRANSCRIPTSOFRECORDLIST_ID.setTextFormat(
        TextFormat.getNumberInstance(Locale.getDefault(), null, 0, 0, false, false));

    TRANSCRIPTSOFRECORD_ID = new VirtualTableColumn<Integer>("TRANSCRIPTSOFRECORD_ID");
    TRANSCRIPTSOFRECORD_ID.setType(DataType.INTEGER);
    TRANSCRIPTSOFRECORD_ID.setNullable(false);
    TRANSCRIPTSOFRECORD_ID.setDefaultValue(0);
    TRANSCRIPTSOFRECORD_ID.setVisible(false);
    TRANSCRIPTSOFRECORD_ID.setPreferredWidth(100);
    TRANSCRIPTSOFRECORD_ID.setTextFormat(
        TextFormat.getNumberInstance(Locale.getDefault(), null, 0, 0, false, false));

    TRANSCRIPTSOFRECORD_TITLE = new VirtualTableColumn<String>("TRANSCRIPTSOFRECORD_TITLE");
    TRANSCRIPTSOFRECORD_TITLE.setType(DataType.VARCHAR, 2147483647);
    TRANSCRIPTSOFRECORD_TITLE.setDefaultValue(null);
    TRANSCRIPTSOFRECORD_TITLE.setCaption("TITLE");
    TRANSCRIPTSOFRECORD_TITLE.setPreferredWidth(100);
    TRANSCRIPTSOFRECORD_TITLE.setTextFormat(TextFormat.getPlainInstance());

    TRANSCRIPTSOFRECORD_TITLE.setPersistent(false);
    TRANSCRIPTSOFRECORD_TITLE.setTableColumnLink(
        new TableColumnLink(
            Transcriptsofrecord.class.getName(),
            Transcriptsofrecord.TITLE.getName(),
            new EntityRelationship(
                Transcriptsofrecord.class.getName(),
                new String[] {Transcriptsofrecord.ID.getName()},
                Cardinality.ONE,
                TranscriptsofrecordlistTranscriptsofrecord.class.getName(),
                new String[] {
                  TranscriptsofrecordlistTranscriptsofrecord.TRANSCRIPTSOFRECORD_ID.getName()
                },
                Cardinality.MANY)));
  }
Пример #2
0
  static {
    PROCESSLIST_ID = new VirtualTableColumn<Integer>("PROCESSLIST_ID");
    PROCESSLIST_ID.setType(DataType.INTEGER);
    PROCESSLIST_ID.setNullable(false);
    PROCESSLIST_ID.setDefaultValue(0);
    PROCESSLIST_ID.setVisible(false);
    PROCESSLIST_ID.setPreferredWidth(100);
    PROCESSLIST_ID.setTextFormat(
        TextFormat.getNumberInstance(Locale.getDefault(), null, 0, 0, false, false));

    PROCESS_ID = new VirtualTableColumn<Integer>("PROCESS_ID");
    PROCESS_ID.setType(DataType.INTEGER);
    PROCESS_ID.setNullable(false);
    PROCESS_ID.setDefaultValue(0);
    PROCESS_ID.setVisible(false);
    PROCESS_ID.setPreferredWidth(100);
    PROCESS_ID.setTextFormat(
        TextFormat.getNumberInstance(Locale.getDefault(), null, 0, 0, false, false));

    PROCESS_TITLE = new VirtualTableColumn<String>("PROCESS_TITLE");
    PROCESS_TITLE.setType(DataType.VARCHAR, 2147483647);
    PROCESS_TITLE.setDefaultValue(null);
    PROCESS_TITLE.setCaption("TITLE");
    PROCESS_TITLE.setPreferredWidth(100);
    PROCESS_TITLE.setTextFormat(TextFormat.getPlainInstance());

    PROCESS_TITLE.setPersistent(false);
    PROCESS_TITLE.setTableColumnLink(
        new TableColumnLink(
            Process.class.getName(),
            Process.TITLE.getName(),
            new EntityRelationship(
                Process.class.getName(),
                new String[] {Process.ID.getName()},
                Cardinality.ONE,
                ProcesslistProcess.class.getName(),
                new String[] {ProcesslistProcess.PROCESS_ID.getName()},
                Cardinality.MANY)));
  }
Пример #3
0
  static {
    ID = new VirtualTableColumn<Integer>("ID");
    ID.setType(DataType.INTEGER);
    ID.setNullable(false);
    ID.setAutoIncrement(true);
    ID.setDefaultValue(0);
    ID.setVisible(false);
    ID.setEditable(false);
    ID.setPreferredWidth(100);
    ID.setTextFormat(TextFormat.getNumberInstance(Locale.getDefault(), null, 0, 0, false, false));

    DESCRIPTION = new VirtualTableColumn<String>("DESCRIPTION");
    DESCRIPTION.setType(DataType.VARCHAR, 2147483647);
    DESCRIPTION.setDefaultValue(null);
    DESCRIPTION.setPreferredWidth(100);
    DESCRIPTION.setTextFormat(TextFormat.getPlainInstance());

    ECVETPOINTS = new VirtualTableColumn<Integer>("ECVETPOINTS");
    ECVETPOINTS.setType(DataType.INTEGER);
    ECVETPOINTS.setDefaultValue(null);
    ECVETPOINTS.setPreferredWidth(100);
    ECVETPOINTS.setTextFormat(
        TextFormat.getNumberInstance(Locale.getDefault(), null, 0, 0, false, false));

    RELATIVEWEIGHT = new VirtualTableColumn<Integer>("RELATIVEWEIGHT");
    RELATIVEWEIGHT.setType(DataType.INTEGER);
    RELATIVEWEIGHT.setDefaultValue(null);
    RELATIVEWEIGHT.setPreferredWidth(100);
    RELATIVEWEIGHT.setTextFormat(
        TextFormat.getNumberInstance(Locale.getDefault(), null, 0, 0, false, false));

    TITLE = new VirtualTableColumn<String>("TITLE");
    TITLE.setType(DataType.VARCHAR, 2147483647);
    TITLE.setDefaultValue(null);
    TITLE.setPreferredWidth(100);
    TITLE.setTextFormat(TextFormat.getPlainInstance());

    URI = new VirtualTableColumn<String>("URI");
    URI.setType(DataType.VARCHAR, 2147483647);
    URI.setDefaultValue(null);
    URI.setPreferredWidth(100);
    URI.setTextFormat(TextFormat.getPlainInstance());

    EVALUATIONS_ID = new VirtualTableColumn<Integer>("EVALUATIONS_ID");
    EVALUATIONS_ID.setType(DataType.INTEGER);
    EVALUATIONS_ID.setDefaultValue(null);
    EVALUATIONS_ID.setVisible(false);
    EVALUATIONS_ID.setPreferredWidth(100);
    EVALUATIONS_ID.setTextFormat(
        TextFormat.getNumberInstance(Locale.getDefault(), null, 0, 0, false, false));

    EVALUATIONS_TITLE = new VirtualTableColumn<String>("EVALUATIONS_TITLE");
    EVALUATIONS_TITLE.setType(DataType.VARCHAR, 2147483647);
    EVALUATIONS_TITLE.setDefaultValue(null);
    EVALUATIONS_TITLE.setCaption("TITLE");
    EVALUATIONS_TITLE.setPreferredWidth(100);
    EVALUATIONS_TITLE.setTextFormat(TextFormat.getPlainInstance());

    QUALIFICATIONFRAMEWORKLIST_ID =
        new VirtualTableColumn<Integer>("QUALIFICATIONFRAMEWORKLIST_ID");
    QUALIFICATIONFRAMEWORKLIST_ID.setType(DataType.INTEGER);
    QUALIFICATIONFRAMEWORKLIST_ID.setDefaultValue(null);
    QUALIFICATIONFRAMEWORKLIST_ID.setVisible(false);
    QUALIFICATIONFRAMEWORKLIST_ID.setPreferredWidth(100);
    QUALIFICATIONFRAMEWORKLIST_ID.setTextFormat(
        TextFormat.getNumberInstance(Locale.getDefault(), null, 0, 0, false, false));

    QUALIFICATIONFRAMEWORKLIST_TITLE =
        new VirtualTableColumn<String>("QUALIFICATIONFRAMEWORKLIST_TITLE");
    QUALIFICATIONFRAMEWORKLIST_TITLE.setType(DataType.VARCHAR, 2147483647);
    QUALIFICATIONFRAMEWORKLIST_TITLE.setDefaultValue(null);
    QUALIFICATIONFRAMEWORKLIST_TITLE.setCaption("TITLE");
    QUALIFICATIONFRAMEWORKLIST_TITLE.setPreferredWidth(100);
    QUALIFICATIONFRAMEWORKLIST_TITLE.setTextFormat(TextFormat.getPlainInstance());

    EVALUATIONS_TITLE.setPersistent(false);
    EVALUATIONS_TITLE.setTableColumnLink(
        new TableColumnLink(
            Evaluations.class.getName(),
            Evaluations.TITLE.getName(),
            new EntityRelationship(
                Evaluations.class.getName(),
                new String[] {Evaluations.ID.getName()},
                Cardinality.ONE,
                Learningoutcome.class.getName(),
                new String[] {Learningoutcome.EVALUATIONS_ID.getName()},
                Cardinality.MANY)));

    QUALIFICATIONFRAMEWORKLIST_TITLE.setPersistent(false);
    QUALIFICATIONFRAMEWORKLIST_TITLE.setTableColumnLink(
        new TableColumnLink(
            Qualificationframeworklist.class.getName(),
            Qualificationframeworklist.TITLE.getName(),
            new EntityRelationship(
                Qualificationframeworklist.class.getName(),
                new String[] {Qualificationframeworklist.ID.getName()},
                Cardinality.ONE,
                Learningoutcome.class.getName(),
                new String[] {Learningoutcome.QUALIFICATIONFRAMEWORKLIST_ID.getName()},
                Cardinality.MANY)));
  }