public class FieldTypeUtilities
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
static com.supermap.data.FieldType |
getFieldType(java.lang.String strFieldType)
根据字段类型资源字符串获取对应的字段类型
|
static int |
getFieldTypeMaxLength(com.supermap.data.FieldType fieldType)
获取字段类型对应的长度
|
static java.lang.String |
getFieldTypeName(com.supermap.data.FieldType fieldType)
根据字段类型获取对应的资源字符串
|
static boolean |
isNumber(com.supermap.data.FieldType fieldType)
判断字段是否数值型
|
static boolean |
isTextField(com.supermap.data.FieldType fieldType)
判断字段是否字符串型
|
public static java.lang.String getFieldTypeName(com.supermap.data.FieldType fieldType)
public static com.supermap.data.FieldType getFieldType(java.lang.String strFieldType)
public static boolean isNumber(com.supermap.data.FieldType fieldType)
fieldType
-public static boolean isTextField(com.supermap.data.FieldType fieldType)
fieldType
-public static int getFieldTypeMaxLength(com.supermap.data.FieldType fieldType)