org.omnaest.utils.structure.container
Interface Name

All Known Implementing Classes:
JAXBName

public interface Name

Interface which abstracts the Enum.name() method which is the only method which can be shared across several Enum implementations without conflicts.

This allows to use Enums as a container for options but keep the code points where it is used open to extension by other Enums implementing the same interface. This same interface should be a subtype from this one.

Author:
Omnaest
See Also:
JAXBName

Method Summary
 String name()
          Returns the name of the Name
 

Method Detail

name

String name()
Returns the name of the Name

Returns:


Copyright © 2013. All Rights Reserved.