public enum RelationType extends Enum<RelationType>
| 枚举常量和说明 |
|---|
BELONGS_TO |
HAS_MANY |
HAS_ONE |
public static final RelationType HAS_MANY
public static final RelationType HAS_ONE
public static final RelationType BELONGS_TO
public static RelationType[] values()
for (RelationType c : RelationType.values()) System.out.println(c);
public static RelationType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2020 com.github.braisdom. All rights reserved.