public enum TItemKind extends Enum<TItemKind>
tItemKind的 Java 类。
以下模式片段指定包含在此类中的预期内容。
<simpleType name="tItemKind">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="Information"/>
<enumeration value="Physical"/>
</restriction>
</simpleType>
| 枚举常量和说明 |
|---|
INFORMATION |
PHYSICAL |
| 限定符和类型 | 方法和说明 |
|---|---|
static TItemKind |
fromValue(String v) |
String |
value() |
static TItemKind |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static TItemKind[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final TItemKind INFORMATION
public static final TItemKind PHYSICAL
public static TItemKind[] values()
for (TItemKind c : TItemKind.values()) System.out.println(c);
public static TItemKind valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String value()
Copyright © 2022. All rights reserved.