public enum BuiltInTypes extends Enum<BuiltInTypes>
| Enum Constant and Description |
|---|
BOOLEAN_SHAPE |
DATE_SHAPE |
INTEGER_SHAPE |
LONG_SHAPE |
NUMBER_SHAPE |
RELATION_SHAPE |
STRING_SHAPE |
| Modifier and Type | Method and Description |
|---|---|
static String |
convertDTypeNameToDeliaName(String typeName) |
static BuiltInTypes |
fromDeliaTypeName(String typeName) |
static String |
getDeliaTypeName(BuiltInTypes builtIn) |
static String |
getDeliaTypeNameFromShape(Shape shape) |
static Shape |
getShapeOf(BuiltInTypes builtIn) |
static boolean |
isBuiltInScalarType(String typeName) |
static BuiltInTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BuiltInTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BuiltInTypes INTEGER_SHAPE
public static final BuiltInTypes LONG_SHAPE
public static final BuiltInTypes NUMBER_SHAPE
public static final BuiltInTypes STRING_SHAPE
public static final BuiltInTypes BOOLEAN_SHAPE
public static final BuiltInTypes DATE_SHAPE
public static final BuiltInTypes RELATION_SHAPE
public static BuiltInTypes[] values()
for (BuiltInTypes c : BuiltInTypes.values()) System.out.println(c);
public static BuiltInTypes 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 static String getDeliaTypeName(BuiltInTypes builtIn)
public static Shape getShapeOf(BuiltInTypes builtIn)
public static BuiltInTypes fromDeliaTypeName(String typeName)
public static boolean isBuiltInScalarType(String typeName)
Copyright © 2020. All rights reserved.