Esempio n. 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);
    }
  }
Esempio n. 3
0
  /** Constructor. */
  public InterchangeDataMeta(TableObject pData) {

    super(InterchangeDataAccess.CLW_INTERCHANGE);

    if (pData != null) {
      TableObjectFieldMeta fm = new TableObjectFieldMeta();
      fm.setField(InterchangeDataAccess.INTERCHANGE_ID);
      fm.setValue(pData.getFieldValue(InterchangeDataAccess.INTERCHANGE_ID));
      addField(fm);
    }
  }
  /** Constructor. */
  public ItemSubstitutionDataMeta(TableObject pData) {

    super(ItemSubstitutionDataAccess.CLW_ITEM_SUBSTITUTION);

    if (pData != null) {
      TableObjectFieldMeta fm = new TableObjectFieldMeta();
      fm.setField(ItemSubstitutionDataAccess.ITEM_SUBSTITUTION_ID);
      fm.setValue(pData.getFieldValue(ItemSubstitutionDataAccess.ITEM_SUBSTITUTION_ID));
      addField(fm);
    }
  }