public enum AttrTypeEnum extends Enum<AttrTypeEnum>
| 枚举常量和说明 |
|---|
COMPLEX |
MULTI |
MULTICOMPLEX |
SINGLE |
| 限定符和类型 | 方法和说明 |
|---|---|
static Attribute |
createAttribute(AttrTypeEnum attributeType) |
String |
getType()
Getter method for property type.
|
static AttrTypeEnum |
getType(String type) |
String |
toString() |
static AttrTypeEnum |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static AttrTypeEnum[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final AttrTypeEnum SINGLE
public static final AttrTypeEnum MULTI
public static final AttrTypeEnum COMPLEX
public static final AttrTypeEnum MULTICOMPLEX
public static AttrTypeEnum[] values()
for (AttrTypeEnum c : AttrTypeEnum.values()) System.out.println(c);
public static AttrTypeEnum valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public static Attribute createAttribute(AttrTypeEnum attributeType)
public static AttrTypeEnum getType(String type)
public String toString()
toString 在类中 Enum<AttrTypeEnum>public String getType()
Copyright © 2025. All rights reserved.