org.eclipse.datatools.enablement.sybase.asa.schemaobjecteditor.examples.tableeditor.utils
Class ASADatatypeUtil
java.lang.Object
org.eclipse.datatools.enablement.sybase.asa.schemaobjecteditor.examples.tableeditor.utils.ASADatatypeUtil
public class ASADatatypeUtil
- extends java.lang.Object
Utilitiy methods related to asa data type
- Author:
- Idull
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ASADatatypeUtil
public ASADatatypeUtil()
getPredefinedRepresentation
public static PredefinedDataType getPredefinedRepresentation(DataType datatype)
isNumericType
public static boolean isNumericType(DataType datatype)
isStringType
public static boolean isStringType(DataType datatype)
isTSType
public static boolean isTSType(DataType datatype)
- If it has primitive type is the primitive type is time/date type, then it's a timestamp type
- Parameters:
datatype
-
- Returns:
isTimeType
public static boolean isTimeType(DataType datatype)
isDateType
public static boolean isDateType(DataType datatype)
isBinaryType
public static boolean isBinaryType(DataType datatype)