예제 #1
0
  public Object clone() {
    ExpandoValueImpl clone = new ExpandoValueImpl();

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

    return clone;
  }
  @Override
  public Object clone() {
    ExpandoValueImpl expandoValueImpl = new ExpandoValueImpl();

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

    expandoValueImpl.resetOriginalValues();

    return expandoValueImpl;
  }