public enum TypeOffset extends Enum<TypeOffset> implements Enumerator
ExcelPackage.getTypeOffset()
Enum Constant and Description |
---|
NONE_LITERAL
The 'None' literal object.
|
SUB_LITERAL
The 'Sub' literal object.
|
SUPER_LITERAL
The 'Super' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
NONE
The 'None' literal value.
|
static int |
SUB
The 'Sub' literal value.
|
static int |
SUPER
The 'Super' literal value.
|
static List<TypeOffset> |
VALUES
A public read-only list of all the 'Type Offset' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static TypeOffset |
get(int value)
Returns the 'Type Offset' literal with the specified integer value.
|
static TypeOffset |
get(String literal)
Returns the 'Type Offset' literal with the specified literal value.
|
static TypeOffset |
getByName(String name)
Returns the 'Type Offset' literal with the specified name.
|
String |
getLiteral() |
String |
getName() |
int |
getValue() |
String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static TypeOffset |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeOffset[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeOffset NONE_LITERAL
NONE
public static final TypeOffset SUPER_LITERAL
SUPER
public static final TypeOffset SUB_LITERAL
SUB
public static final int NONE
NONE_LITERAL
,
Constant Field Valuespublic static final int SUPER
SUPER_LITERAL
,
Constant Field Valuespublic static final int SUB
SUB_LITERAL
,
Constant Field Valuespublic static final List<TypeOffset> VALUES
public static TypeOffset[] values()
for (TypeOffset c : TypeOffset.values()) System.out.println(c);
public static TypeOffset 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 static TypeOffset get(String literal)
literal
- the literal.null
.public static TypeOffset getByName(String name)
name
- the name.null
.public static TypeOffset get(int value)
value
- the integer value.null
.public int getValue()
getValue
in interface Enumerator
public String getName()
getName
in interface Enumerator
public String getLiteral()
getLiteral
in interface Enumerator
public String toString()
toString
in class Enum<TypeOffset>