com.unitesk.requality.core
public enum AttributeType extends java.lang.Enum<AttributeType>
Enum Constant and Description |
---|
BOOL |
FLOAT |
GENERATED |
INT |
LIST |
REFERENCE |
RESOURCE |
STRING |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
fromString(java.lang.String string) |
static java.lang.Object |
getDefaultValue(AttributeType attributeType) |
static AttributeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AttributeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static AttributeType[] |
visibleValues() |
public static final AttributeType INT
public static final AttributeType FLOAT
public static final AttributeType BOOL
public static final AttributeType STRING
public static final AttributeType LIST
public static final AttributeType RESOURCE
public static final AttributeType REFERENCE
public static final AttributeType GENERATED
public static AttributeType[] values()
for (AttributeType c : AttributeType.values()) System.out.println(c);
public static AttributeType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static AttributeType[] visibleValues()
public java.lang.Object fromString(java.lang.String string)
public static java.lang.Object getDefaultValue(AttributeType attributeType)