public enum BuiltInType extends Enum<BuiltInType> implements SimpleType
| Enum Constant and Description |
|---|
BOOLEAN |
CONTEXT |
DATE |
DATE_TIME |
DURATION |
FUNCTION |
LIST |
NUMBER |
RANGE |
STRING |
TIME |
UNARY_TEST |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static Type |
determineTypeFromInstance(Object o) |
static Type |
determineTypeFromName(String name) |
Object |
fromString(String value) |
String |
getName() |
String[] |
getNames() |
Symbol |
getSymbol() |
static boolean |
isInstanceOf(Object o,
String name) |
static boolean |
isInstanceOf(Object o,
Type t) |
String |
toString() |
String |
toString(Object value) |
static BuiltInType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BuiltInType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BuiltInType UNKNOWN
public static final BuiltInType NUMBER
public static final BuiltInType STRING
public static final BuiltInType DATE
public static final BuiltInType TIME
public static final BuiltInType DATE_TIME
public static final BuiltInType DURATION
public static final BuiltInType BOOLEAN
public static final BuiltInType RANGE
public static final BuiltInType FUNCTION
public static final BuiltInType LIST
public static final BuiltInType CONTEXT
public static final BuiltInType UNARY_TEST
public static BuiltInType[] values()
for (BuiltInType c : BuiltInType.values()) System.out.println(c);
public static BuiltInType 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 String[] getNames()
public Symbol getSymbol()
public String toString()
toString in class Enum<BuiltInType>Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.