java.lang.Object | |
↳ | com.google.gwt.autobean.shared.AutoBeanUtils |
Utility methods for working with AutoBeans.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Compare two graphs of AutoBeans based on values.
| |||||||||||
Returns a map of properties that differ (via
equals(Object) )
between two AutoBeans. | |||||||||||
Returns a map that is a copy of the properties contained in an AutoBean.
| |||||||||||
Return the single AutoBean wrapper that is observing the delegate object or
null if the parameter is null or not wrapped by an AutoBean. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Compare two graphs of AutoBeans based on values.
Splittables
are compared by valueThis will work for both simple and wrapper AutoBeans.
This method may crawl the entire object graph reachable from the input parameters and may be arbitrarily expensive to compute.
false
if any values in the graph reachable through
a
are different from those reachable from
b
Returns a map of properties that differ (via equals(Object)
)
between two AutoBeans. The keys are property names and the values are the
value of the property in b
. Properties present in
a
but missing in b
will be represented by
null
values. This implementation will compare AutoBeans of
different parameterizations, although the diff produced is likely
meaningless.
This will work for both simple and wrapper AutoBeans.
Map
of differing properties
Return the single AutoBean wrapper that is observing the delegate object or
null
if the parameter is null
or not wrapped by an AutoBean.
delegate | a delegate object, or null |
---|
AutoBean
wrapper for the delegate, or null