public @interface EnumDisplayName

The EnumDisplayName annotation is used to point a field in enum variable that contains value which should be displayed instead of its raw name. This annotation can be applied on single enum values and enum sets. For proper use of this annotation it should be applied to enums with provided constructor, field containing display value and this fields correspondent ‘getter’ method. The discovery logic for this annotation is done in org.motechproject.mds.annotations.internal.FieldProcessor.

See also: org.motechproject.mds.annotations.internal.FieldProcessor