public enum OriginalTypeEnum extends Enum<OriginalTypeEnum>
| Enum Constant and Description |
|---|
COMPLEXTYPE
The is a complex type.
|
ENUM
The type is an enum.
|
EXTREF
The type is an extended reference type.
|
NAMETYPE
The type is a name type.
|
OBJECT
The type is the internally generated one to represent an unnamed object.
|
REFERENCE
The type is the internally generated one to represent a reference to a
named object.
|
TYPE
The type is actually a type!.
|
| Modifier and Type | Method and Description |
|---|---|
static OriginalTypeEnum |
get(int code)
Returns the enum value of the specified int or null if it's not valid.
|
static OriginalTypeEnum |
get(String str)
Returns a value for this enum or throws an exception if the String value isn't
a valid member of this enum.
|
int |
intValue()
Returns the value of this enum value as an int.
|
static OriginalTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OriginalTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OriginalTypeEnum TYPE
public static final OriginalTypeEnum ENUM
public static final OriginalTypeEnum OBJECT
public static final OriginalTypeEnum REFERENCE
public static final OriginalTypeEnum EXTREF
public static final OriginalTypeEnum COMPLEXTYPE
public static final OriginalTypeEnum NAMETYPE
public static OriginalTypeEnum[] values()
for (OriginalTypeEnum c : OriginalTypeEnum.values()) System.out.println(c);
public static OriginalTypeEnum 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 int intValue()
public static OriginalTypeEnum get(int code)
public static OriginalTypeEnum get(String str)
Copyright © 2023. All rights reserved.