public enum WrapperTypeEnum extends Enum<WrapperTypeEnum>
| Enum Constant and Description |
|---|
BASE
Indicates that you just want to use the generated DMW class.
|
EXTENDED
Indicates that you want to use your own extended class.
|
NONE
Unknown value.
|
| Modifier and Type | Method and Description |
|---|---|
static WrapperTypeEnum |
get(int code)
Returns the enum value of the specified int or null if it's not valid.
|
static WrapperTypeEnum |
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 WrapperTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WrapperTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WrapperTypeEnum NONE
public static final WrapperTypeEnum BASE
public static final WrapperTypeEnum EXTENDED
public static WrapperTypeEnum[] values()
for (WrapperTypeEnum c : WrapperTypeEnum.values()) System.out.println(c);
public static WrapperTypeEnum 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 WrapperTypeEnum get(int code)
public static WrapperTypeEnum get(String str)
Copyright © 2023. All rights reserved.