Enum AttributeType
- java.lang.Object
-
- java.lang.Enum<AttributeType>
-
- com.wavemaker.runtime.data.expression.AttributeType
-
- All Implemented Interfaces:
TypeConverter,java.io.Serializable,java.lang.Comparable<AttributeType>
public enum AttributeType extends java.lang.Enum<AttributeType> implements TypeConverter
- Since:
- 17/2/16
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetHibernateType()static AttributeTypevalueOf(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.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface com.wavemaker.runtime.data.expression.TypeConverter
toJavaType
-
-
-
-
Enum Constant Detail
-
BIG_DECIMAL
public static final AttributeType BIG_DECIMAL
-
BIG_INTEGER
public static final AttributeType BIG_INTEGER
-
BLOB
public static final AttributeType BLOB
-
BOOLEAN
public static final AttributeType BOOLEAN
-
BYTE
public static final AttributeType BYTE
-
CALENDAR
public static final AttributeType CALENDAR
-
CALENDAR_DATE
public static final AttributeType CALENDAR_DATE
-
CHARACTER
public static final AttributeType CHARACTER
-
CLOB
public static final AttributeType CLOB
-
CURRENCY
public static final AttributeType CURRENCY
-
DATE
public static final AttributeType DATE
-
DOUBLE
public static final AttributeType DOUBLE
-
FLOAT
public static final AttributeType FLOAT
-
INTEGER
public static final AttributeType INTEGER
-
LONG
public static final AttributeType LONG
-
LOCALE
public static final AttributeType LOCALE
-
STRING
public static final AttributeType STRING
-
SHORT
public static final AttributeType SHORT
-
TEXT
public static final AttributeType TEXT
-
TIME
public static final AttributeType TIME
-
DATETIME
public static final AttributeType DATETIME
-
TIMESTAMP
public static final AttributeType TIMESTAMP
-
TIMEZONE
public static final AttributeType TIMEZONE
-
TRUE_FALSE
public static final AttributeType TRUE_FALSE
-
YES_NO
public static final AttributeType YES_NO
-
-
Method Detail
-
values
public static AttributeType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AttributeType c : AttributeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AttributeType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getHibernateType
public java.lang.String getHibernateType()
-
-