public abstract class EnumMetaData extends Object
Constructor and Description |
---|
EnumMetaData() |
Modifier and Type | Method and Description |
---|---|
static EnumMetaData |
create(List<String> labels)
New EnumMetaData with the given labels.
|
boolean |
equals(Object obj)
Whether the given object is an EnumMetadata with the same labels.
|
abstract List<String> |
getLabels()
Returns the possible labels for the enum.
|
int |
hashCode() |
String |
toString() |
public abstract List<String> getLabels()
public final boolean equals(Object obj)
public static EnumMetaData create(List<String> labels)
labels
- the enum labelsCopyright © 2015. All rights reserved.