public enum BaseTypeEnum extends Enum<BaseTypeEnum>
| Enum Constant and Description |
|---|
EXTENDEDREF
Indicates an extended reference.
|
KEYED
Indicates a type that has a defined key type.
|
NAMEDREF
Indicates a named object reference.
|
PRIMITIVE
Indicates a primitive data type such as Integer, String, long or a
generated complex type.
|
UNNAMEDREF
Indicates an unnamed object reference.
|
| Modifier and Type | Method and Description |
|---|---|
static BaseTypeEnum |
get(int code)
Returns the enum value of the specified int or null if it's not valid.
|
static BaseTypeEnum |
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 BaseTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BaseTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BaseTypeEnum PRIMITIVE
public static final BaseTypeEnum NAMEDREF
public static final BaseTypeEnum UNNAMEDREF
public static final BaseTypeEnum EXTENDEDREF
public static final BaseTypeEnum KEYED
public static BaseTypeEnum[] values()
for (BaseTypeEnum c : BaseTypeEnum.values()) System.out.println(c);
public static BaseTypeEnum 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 BaseTypeEnum get(int code)
public static BaseTypeEnum get(String str)
Copyright © 2023. All rights reserved.