public interface NamedLocation
enums of Locations. This interface is
distinct from Named due to shadowing of Enum.name().
Typically, implementing enum types return a human-readable label via
toString() and return the value typically returned by
Enum.name() via id() .| Modifier and Type | Method and Description |
|---|---|
String |
id()
Return a unique id for the location.
|
Location |
location()
Return the location.
|
Location location()
String id()
Enum.name().