public enum ValueTypeEnum extends Enum<ValueTypeEnum>
| Enum Constant and Description |
|---|
HASHMAPPED
Indicates that the attribute values implement the DmcMappedAttributeIF
interface and are stored in a HashMap.
|
HASHSET
Indicates that the attribute values are stored in a HashSet.
|
MULTI
Indicates that the attribute is multi-valued.
|
SINGLE
Indicates that the attribute is single-valued.
|
TREEMAPPED
Indicates that the attribute values implement the DmcMappedAttributeIF
interface and are stored in a TreeMap.
|
TREESET
Indicates that the attribute values are stored in a TreeSet.
|
| Modifier and Type | Method and Description |
|---|---|
static ValueTypeEnum |
get(int code)
Returns the enum value of the specified int or null if it's not valid.
|
static ValueTypeEnum |
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 ValueTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValueTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValueTypeEnum SINGLE
public static final ValueTypeEnum MULTI
public static final ValueTypeEnum HASHMAPPED
public static final ValueTypeEnum TREEMAPPED
public static final ValueTypeEnum HASHSET
public static final ValueTypeEnum TREESET
public static ValueTypeEnum[] values()
for (ValueTypeEnum c : ValueTypeEnum.values()) System.out.println(c);
public static ValueTypeEnum 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 ValueTypeEnum get(int code)
public static ValueTypeEnum get(String str)
Copyright © 2023. All rights reserved.