Package ru.curs.celesta.score
Enum ViewColumnType
- java.lang.Object
-
- java.lang.Enum<ViewColumnType>
-
- ru.curs.celesta.score.ViewColumnType
-
- All Implemented Interfaces:
Serializable
,Comparable<ViewColumnType>
public enum ViewColumnType extends Enum<ViewColumnType>
Expression type.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BIT
Boolean value.BLOB
Binary large object.DATE
Date.DATE_WITH_TIME_ZONE
Date with time zone.DECIMAL
Numeric value with fractional part and fixed decimal point.INT
Integer value.LOGIC
Logical condition.REAL
Numeric value with fractional part.TEXT
Text value.UNDEFINED
Undefined value.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract String
getCelestaType()
Celesta type.abstract Class<?>
getJavaClass()
Returns Java type.static ViewColumnType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ViewColumnType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOGIC
public static final ViewColumnType LOGIC
Logical condition.
-
REAL
public static final ViewColumnType REAL
Numeric value with fractional part.
-
DECIMAL
public static final ViewColumnType DECIMAL
Numeric value with fractional part and fixed decimal point.
-
INT
public static final ViewColumnType INT
Integer value.
-
TEXT
public static final ViewColumnType TEXT
Text value.
-
DATE
public static final ViewColumnType DATE
Date.
-
DATE_WITH_TIME_ZONE
public static final ViewColumnType DATE_WITH_TIME_ZONE
Date with time zone.
-
BIT
public static final ViewColumnType BIT
Boolean value.
-
BLOB
public static final ViewColumnType BLOB
Binary large object.
-
UNDEFINED
public static final ViewColumnType UNDEFINED
Undefined value.
-
-
Method Detail
-
values
public static ViewColumnType[] 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 (ViewColumnType c : ViewColumnType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ViewColumnType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getCelestaType
public abstract String getCelestaType()
Celesta type.- Returns:
-
getJavaClass
public abstract Class<?> getJavaClass()
Returns Java type.- Returns:
-
-