* @see java.lang.Object#equals(java.lang.Object)
*/
@Override
public boolean equals(Object object) {
if (object.getClass().equals(getClass())) {
TreeNodeChangeEvent tnce = (TreeNodeChangeEvent) object;
boolean equals = tnce.isSetSource() == isSetSource();
if (equals && isSetSource()) {
equals &= tnce.getSource().equals(getSource());
}
equals &= tnce.isSetOldValue() == isSetOldValue();
if (equals && isSetOldValue()) {
equals &= tnce.getOldValue().equals(getOldValue());
}
equals &= tnce.isSetNewValue() == isSetNewValue();
if (equals && isSetNewValue()) {
equals &= tnce.getNewValue().equals(getNewValue());
}
return equals;
}
return false;
}