Пример #1
0
  public static ExpandoValueSoap toSoapModel(ExpandoValue model) {
    ExpandoValueSoap soapModel = new ExpandoValueSoap();

    soapModel.setValueId(model.getValueId());
    soapModel.setCompanyId(model.getCompanyId());
    soapModel.setTableId(model.getTableId());
    soapModel.setColumnId(model.getColumnId());
    soapModel.setRowId(model.getRowId());
    soapModel.setClassNameId(model.getClassNameId());
    soapModel.setClassPK(model.getClassPK());
    soapModel.setData(model.getData());

    return soapModel;
  }
Пример #2
0
 public void setPrimaryKey(long pk) {
   setValueId(pk);
 }