Annotation Interface EqualsAndHashCode
The EqualsAndHashCode annotation on a bean should generate an equals and a hashCode methods.
The equals method will be created in [BeanName]Utils class as a static method:
public static boolean BeanNameUtils.equals(BeanName this, Object other)
The hashCode method will be created in [BeanName]Utils class as a static method:
public static int BeanNameUtils.hashCode(BeanName object)
- Since:
- 1.3
- Author:
- Elif Kurtay
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic @interface
The annotation to be used withEqualsAndHashCode
on a property to hide the value from being processed.