org.qi4j.index.sql.support.common
Enum QNameInfo.QNameType
java.lang.Object
java.lang.Enum<QNameInfo.QNameType>
org.qi4j.index.sql.support.common.QNameInfo.QNameType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<QNameInfo.QNameType>
- Enclosing class:
- QNameInfo
public static enum QNameInfo.QNameType
- extends java.lang.Enum<QNameInfo.QNameType>
Currently all possible types of qualified names: PROPERTY
for properties,
ASSOCIATION
for associations, and MANY_ASSOCIATION
for many-associations.
Method Summary |
static QNameInfo.QNameType |
valueOf(java.lang.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. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
PROPERTY
public static final QNameInfo.QNameType PROPERTY
ASSOCIATION
public static final QNameInfo.QNameType ASSOCIATION
MANY_ASSOCIATION
public static final QNameInfo.QNameType MANY_ASSOCIATION
values
public static QNameInfo.QNameType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (QNameInfo.QNameType c : QNameInfo.QNameType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static QNameInfo.QNameType valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null