예제 #1
0
  /** Constructor. */
  public InterchangeDataMeta(TableField... fields) {

    super(InterchangeDataAccess.CLW_INTERCHANGE);

    for (TableField field : fields) {
      TableObjectFieldMeta fm = new TableObjectFieldMeta();
      fm.setField(field.getName());
      fm.setValue(field.getValue());
      addField(fm);
    }
  }
  /** Constructor. */
  public ItemSubstitutionDataMeta(TableField... fields) {

    super(ItemSubstitutionDataAccess.CLW_ITEM_SUBSTITUTION);

    for (TableField field : fields) {
      TableObjectFieldMeta fm = new TableObjectFieldMeta();
      fm.setField(field.getName());
      fm.setValue(field.getValue());
      addField(fm);
    }
  }