Method Summary |
|
public boolean | addChange(String name) Marks field of the value object as changed eg this field was changed after loading it from the database.
Useful when value objects are used for insert/update procedures written in PL/SQL instead of EJB methods.
Parameters: name - name of the VO-s field which is being changed. |
public void | changeAll() Changes all fields on this value object as changed. |
public void | clearChanges() Marks all fields as unchanged. |
public Object | clone() Overrides default clone() operation. |
public boolean | equals(Object otherVo) Compares Value Object for equality by their fields.
Parameters: otherVo - Value Object to compare to. |
public Set | getChanges() Getter for property changes. |
public int | hashCode() Implements hash using Value Object fields. |
public String | toString() Overrides default toString method. |