org.qi4j.index.sql.support.common
Enum QNameInfo.QNameType

java.lang.Object
  extended by java.lang.Enum<QNameInfo.QNameType>
      extended by org.qi4j.index.sql.support.common.QNameInfo.QNameType
All Implemented Interfaces:
Serializable, Comparable<QNameInfo.QNameType>
Enclosing class:
QNameInfo

public static enum QNameInfo.QNameType
extends Enum<QNameInfo.QNameType>

Currently all possible types of qualified names: PROPERTY for properties, ASSOCIATION for associations, and MANY_ASSOCIATION for many-associations.


Enum Constant Summary
ASSOCIATION
           
MANY_ASSOCIATION
           
PROPERTY
           
 
Method Summary
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.
 
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
 

Enum Constant Detail

PROPERTY

public static final QNameInfo.QNameType PROPERTY

ASSOCIATION

public static final QNameInfo.QNameType ASSOCIATION

MANY_ASSOCIATION

public static final QNameInfo.QNameType MANY_ASSOCIATION
Method Detail

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(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null