Convenience class providing clone(), toString(), equals() and hashCode() functionality for Java Beans.
It works on all read/write properties, recursively.
It uses the CloneableBean, EqualsBean and ToStringBean classes in a delegation pattern.
ObjectBean programming conventions
All ObjectBean subclasses having properties that return collections they should never
return null if the property has been set to null or if a collection has not been set.
They should create and return an empty collection, this empty collection instance should
also be set to the corresponding property.
All ObjectBean subclasses properties should be live references.
author: Alejandro Abdelnur |