Javadoc
The class BeanComparator is the default comparator implementation
for comparing and merging schema2beans graphs. This class has mainly two
methods. One for deciding if two BaseBean objects are identicals and
a second one to decide if two properties are identicals.
These methods return either the original value to signal that they are
the same or the second value, to signal that the two elements compared
are not the same.
This default implementation compares both the propertie and attribute
values to decide for equality. This implementation also uses the key
information that might be defined in the mdd file (see user doc for this
file usage). If the key is specified (default is all properties are keys),
then only the properties defined as keys are used during the comparison.