public interface NamedEnum extends Named
This extends Named for implementations of Enum.
The name is provided by the Enum.toString() method of the enum, typically
using the EnumNames helper class.
Implementations must provide a static method of(String) that allows the
instance to be created from the name, see Named.of(Class, String).
| Modifier and Type | Method and Description |
|---|---|
default String |
getName()
Gets the unique name of the instance.
|
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.