Interface Described

All Known Implementing Classes:
Ethnicity, Handedness, NameSuffix, Race, Religion, Sex, SexualOrientation, State

public interface Described
This is a convenience interface that all BBL enums should implement. The purpose is for all enums to have a "description" attribute, since a lot of Java frameworks (e.g. Struts) use attribute names + reflection to retrieve data from objects. The returned value should be a nice, human-readable value and/or description telling what that particular enum value means.
Author:
rdoherty
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a human-readable description of what this value is/means or perhaps how it is used
  • Method Details

    • getDescription

      String getDescription()
      Returns a human-readable description of what this value is/means or perhaps how it is used
      Returns:
      enum value description