ExtendedEnumeration (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: declaration: package: org.apache.cayenne, interface: ExtendedEnumeration

# Interface ExtendedEnumeration

public interface ExtendedEnumeration
An interface that Enum classes may implement to map enum instances to arbitrary DB values that do not match the enum names or positions.

Since:
  3.0

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `getDatabaseValue()`
  Return the value to be stored in the database for this enumeration.

- ## Method Details

  - ### getDatabaseValue

    Object getDatabaseValue()
    Return the value to be stored in the database for this enumeration. In actuality, this should be an Integer or a String.