public enum LinkType extends Enum<LinkType>
public static final LinkType ONE
public static final LinkType MANY
public static final LinkType MANYMANY
public static LinkType[] values()
for (LinkType c : LinkType.values()) System.out.println(c);
public static LinkType valueOf(String name)
name
- 要返回的枚举常量的名称。IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量NullPointerException
- 如果参数为空值Copyright © 2017. All rights reserved.