public enum EnumFruitFamily extends java.lang.Enum<EnumFruitFamily> implements IFruitFamily
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription() |
java.lang.String |
getName() |
java.lang.String |
getScientific()
A scientific-y name for this fruit family
|
java.lang.String |
getUID() |
static EnumFruitFamily |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumFruitFamily[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumFruitFamily PRUNES
public static final EnumFruitFamily POMES
public static final EnumFruitFamily JUNGLE
public static final EnumFruitFamily NUX
public static final EnumFruitFamily NONE
public static EnumFruitFamily[] values()
for (EnumFruitFamily c : EnumFruitFamily.values()) System.out.println(c);
public static EnumFruitFamily valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getUID()
getUID in interface IFruitFamilypublic java.lang.String getScientific()
IFruitFamilygetScientific in interface IFruitFamilypublic java.lang.String getName()
getName in interface IFruitFamilypublic java.lang.String getDescription()
getDescription in interface IFruitFamily