public static enum QNameInfo.QNameType extends Enum<QNameInfo.QNameType>
PROPERTY
for properties,
ASSOCIATION
for associations, and MANY_ASSOCIATION
for many-associations.Enum Constant and Description |
---|
ASSOCIATION |
MANY_ASSOCIATION |
PROPERTY |
Modifier and Type | Method and Description |
---|---|
static QNameInfo.QNameType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QNameInfo.QNameType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QNameInfo.QNameType PROPERTY
public static final QNameInfo.QNameType ASSOCIATION
public static final QNameInfo.QNameType MANY_ASSOCIATION
public static QNameInfo.QNameType[] values()
for (QNameInfo.QNameType c : QNameInfo.QNameType.values()) System.out.println(c);
public static QNameInfo.QNameType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null