public enum AttrType extends Enum<AttrType>
| 枚举常量和说明 |
|---|
BASE_DOUBLE |
BASE_FLOAT |
BASE_LONG |
CHAR |
CHARACTER |
DATE |
DOUBLE |
FLOAT |
INT |
INTEGER |
LOCAL_DATE |
LOCAL_DATE_TIME |
LONG |
STRING |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getName() |
boolean |
isAttrType(String attrType) |
boolean |
isDateType(String attrType) |
boolean |
isStringType(String attrType) |
void |
setName(String name) |
static AttrType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static AttrType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final AttrType STRING
public static final AttrType INT
public static final AttrType INTEGER
public static final AttrType BASE_LONG
public static final AttrType LONG
public static final AttrType BASE_DOUBLE
public static final AttrType DOUBLE
public static final AttrType BASE_FLOAT
public static final AttrType FLOAT
public static final AttrType CHAR
public static final AttrType CHARACTER
public static final AttrType LOCAL_DATE_TIME
public static final AttrType LOCAL_DATE
public static final AttrType DATE
public static AttrType[] values()
for (AttrType c : AttrType.values()) System.out.println(c);
public static AttrType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getName()
public void setName(String name)
public boolean isAttrType(String attrType)
public boolean isStringType(String attrType)
public boolean isDateType(String attrType)
Copyright © 2020. All rights reserved.