Annotation Interface EqualsAndHashCode


@Retention(RUNTIME) @Target({ANNOTATION_TYPE,TYPE}) public @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

    Nested Classes
    Modifier and Type
    Class
    Description
    static @interface 
    The annotation to be used with EqualsAndHashCode on a property to hide the value from being processed.