|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.araneaframework.backend.BaseBean
Base class for value objects. Implements some general properties and methods.
| Constructor Summary | |
protected |
BaseBean()
Creates new instance of the GeneralVO. |
| Method Summary | |
boolean |
addChange(String name)
Marks field of the value object as changed eg this field was changed after loading it from the database. |
void |
changeAll()
Changes all fields on this value object as changed. |
void |
clearChanges()
Marks all fields as unchanged. |
Object |
clone()
Overrides default clone() operation. |
boolean |
equals(Object otherVo)
Compares Value Object for equality by their fields. |
Set |
getChanges()
Getter for property changes. |
int |
hashCode()
Implements hash using Value Object fields. |
String |
toString()
Overrides default toString method. |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
protected BaseBean()
| Method Detail |
public String toString()
toString method.
java.lang.String representation of this value object.public boolean equals(Object otherVo)
otherVo - Value Object to compare to.
boolean- if Value Object are equal.public int hashCode()
public Object clone()
clone() operation.
public Set getChanges()
public boolean addChange(String name)
name - name of the VO-s field which is being changed.
true if such field does exist and was marked as chaned, false otherwise.public void changeAll()
public void clearChanges()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||