public enum ColumnKeyType extends Enum<ColumnKeyType> implements PlasmaEnum
| Enum Constant and Description |
|---|
MUL
Holds the logical and physical names for literal MUL.
|
PRI
Holds the logical and physical names for literal PRI.
|
UNI
Holds the logical and physical names for literal UNI.
|
| Modifier and Type | Method and Description |
|---|---|
static PlasmaEnum[] |
enumValues()
Returns the enum values for this class as an array of implemented interfaces
|
static ColumnKeyType |
fromInstanceName(String instanceName)
Returns the enumeration value matching the given physical or instance name.
|
static ColumnKeyType |
fromName(String name)
Returns the enumeration value matching the given name.
|
String |
getDescription()
Returns the descriptive text associated with this enumeration literal.
|
String |
getInstanceName()
Returns the physical or instance name associated with this enumeration literal.
|
String |
getName()
Returns the logical name associated with this enumeration literal.
|
static ColumnKeyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColumnKeyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColumnKeyType PRI
public static final ColumnKeyType UNI
public static final ColumnKeyType MUL
public static ColumnKeyType[] values()
for (ColumnKeyType c : ColumnKeyType.values()) System.out.println(c);
public static ColumnKeyType 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()
getName in interface PlasmaEnumpublic String getInstanceName()
getInstanceName in interface PlasmaEnumpublic String getDescription()
getDescription in interface PlasmaEnumpublic static PlasmaEnum[] enumValues()
PlasmaEnumpublic static ColumnKeyType fromName(String name)
public static ColumnKeyType fromInstanceName(String instanceName)
Copyright © 2017. All rights reserved.