Interface Aliased


public interface Aliased
An enum that has multiple possible textual representations. The representation used for output will always be the result of Object.toString(), but these additional aliases will be allowed on input as alternative spellings of the enum that implements the method.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the aliases for this value.
  • Method Details

    • getAliases

      Collection<String> getAliases()
      Get the aliases for this value.
      Returns:
      the collection of aliases (must not be null)