public class ExpansionType extends Enum
Modifier and Type | Class and Description |
---|---|
static class |
ExpansionType.ExpansionTypeEditor |
Enum.EnumEditor, Enum.LocaleEnumEditor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
static ExpansionType |
EQUAL |
static ExpansionType |
IDENTITY |
static ExpansionType |
MEDIUM |
static ExpansionType |
STRONG |
static ExpansionType |
UNKNOWN |
static ExpansionType |
WEAK |
Modifier | Constructor and Description |
---|---|
protected |
ExpansionType(java.lang.String enumName,
int ordinalVal)
The subclass constructor should be private.
|
Modifier and Type | Method and Description |
---|---|
static ExpansionType |
valueOf(java.lang.String pName) |
compareTo, getEnumClassInfo, getOrdinal, iterator, iterator, lookup, lookup, lookup, lookup, readResolve, toString
public static java.lang.String CLASS_VERSION
public static final ExpansionType IDENTITY
public static final ExpansionType EQUAL
public static final ExpansionType STRONG
public static final ExpansionType MEDIUM
public static final ExpansionType WEAK
public static final ExpansionType UNKNOWN
protected ExpansionType(java.lang.String enumName, int ordinalVal)
enumName
- The name of the instance that will appear in editors and toString().ordinalVal
- The ordinal valuejava.lang.Error
- if the subclass already has an instance name n or if the ordinal number is already used by another
instance of the same subclass.public static ExpansionType valueOf(java.lang.String pName)