public enum AttrValueTypeEnum extends Enum<AttrValueTypeEnum>
| 限定符和类型 | 方法和说明 |
|---|---|
static AttrValueTypeEnum |
getByCode(String code) |
String |
getCode()
Getter method for property code.
|
String |
getName()
Getter method for property name.
|
void |
setCode(String code)
Setter method for property code.
|
void |
setName(String name)
Setter method for property name.
|
static AttrValueTypeEnum |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static AttrValueTypeEnum[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final AttrValueTypeEnum TEXT
public static final AttrValueTypeEnum BOOLEAN
public static final AttrValueTypeEnum NUMERIC
public static final AttrValueTypeEnum ENUM
public static final AttrValueTypeEnum OBJECT
public static AttrValueTypeEnum[] values()
for (AttrValueTypeEnum c : AttrValueTypeEnum.values()) System.out.println(c);
public static AttrValueTypeEnum valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public static AttrValueTypeEnum getByCode(String code)
public String getCode()
public void setCode(String code)
code - value to be assigned to property codepublic String getName()
public void setName(String name)
name - value to be assigned to property nameCopyright © 2023. All rights reserved.