public enum SampleCategoryType extends Enum<SampleCategoryType> implements DecoratorService.LabelAware
| Enum Constant and Description |
|---|
age |
maturity |
sex |
size |
sortedUnsorted |
| Modifier and Type | Field and Description |
|---|---|
static EnumMap<SampleCategoryEnum,SampleCategoryType> |
enumToType |
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel() |
SampleCategoryEnum |
getType() |
String |
toString() |
static SampleCategoryType |
valueOf(SampleCategoryEnum type) |
static SampleCategoryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SampleCategoryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SampleCategoryType sortedUnsorted
public static final SampleCategoryType size
public static final SampleCategoryType sex
public static final SampleCategoryType maturity
public static final SampleCategoryType age
public static final EnumMap<SampleCategoryEnum,SampleCategoryType> enumToType
public static SampleCategoryType[] values()
for (SampleCategoryType c : SampleCategoryType.values()) System.out.println(c);
public static SampleCategoryType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic String getLabel()
getLabel in interface DecoratorService.LabelAwarepublic SampleCategoryEnum getType()
public static SampleCategoryType valueOf(SampleCategoryEnum type)
public String toString()
toString in class Enum<SampleCategoryType>Copyright © 2012-2013 Ifremer. All Rights Reserved.