public enum EnumColumns extends Enum<EnumColumns>
| Enum Constant and Description |
|---|
ANSWER |
ORDER_ID |
QUESTION |
SUBJECT_ID |
| Modifier and Type | Method and Description |
|---|---|
static EnumColumns |
getByName(String strName)
Get the
EnumColumns by name |
String |
getName()
Get the Column name
|
static EnumColumns |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnumColumns[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumColumns SUBJECT_ID
public static final EnumColumns QUESTION
public static final EnumColumns ANSWER
public static final EnumColumns ORDER_ID
public static EnumColumns[] values()
for (EnumColumns c : EnumColumns.values()) System.out.println(c);
public static EnumColumns 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 getName()
public static EnumColumns getByName(String strName)
EnumColumns by namestrName - The column nameEnumColumnsCopyright © 2015 City of Paris. All rights reserved.