com.h3c.util

## Interface LocalizedEnums

- All Known Implementing Classes:
    EnumPresentationFactory

      public interface LocalizedEnums

  This interface facilitates the obtaining of name and description for a given enumeration constant.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getDescription(Enum<?> enumConstant)` Returns the localized description of the specified constant.
    `String` | `getName(Enum<?> enumConstant)` Returns the localized name of the specified constant.

- - ### Method Detail

    - #### getName

          String getName(Enum<?> enumConstant)

      Returns the localized name of the specified constant.
      Parameters:
        `enumConstant` - the constant
      Returns:
        the name

    - #### getDescription

          String getDescription(Enum<?> enumConstant)

      Returns the localized description of the specified constant.
      Parameters:
        `enumConstant` - the constant
      Returns:
        the description

Copyright © 2014. All Rights Reserved.