@Retention(value=RUNTIME)
@Target(value=METHOD)
@Inherited
public @interface ObjectDiffProperty
| 限定符和类型 | 可选元素和说明 |
|---|---|
java.lang.String[] |
categories
Categories will be passed along with the object node and can be used for advanced filtering of specific
property groups.
|
boolean |
equalsOnly
Causes the
Differs to compare the object by using the Object.equals(Object) method instead of introspection. |
java.lang.String |
equalsOnlyValueProviderMethod
Can be used in conjunction with
equalsOnly() to name a method on the object that provides the
value to compare via equals. |
boolean |
excluded
已过时。
Please use inclusion() instead. When used in conjunction with inclusion(), the latter one will win over excluded().
|
Inclusion |
inclusion |
@Deprecated public abstract boolean excluded
Differs to skip the marked property and all its children.true if the property should be ignored.public abstract Inclusion inclusion
public abstract boolean equalsOnly
Differs to compare the object by using the Object.equals(Object) method instead of introspection.true if the property should be compared via Object.equals(Object).public abstract java.lang.String[] categories
public abstract java.lang.String equalsOnlyValueProviderMethod
equalsOnly() to name a method on the object that provides the
value to compare via equals.