uk.org.ogsadai.dqp.lqp
Enum AttributeMatchMode

java.lang.Object
  extended by java.lang.Enum<AttributeMatchMode>
      extended by uk.org.ogsadai.dqp.lqp.AttributeMatchMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AttributeMatchMode>

public enum AttributeMatchMode
extends java.lang.Enum<AttributeMatchMode>

Enumeration of the attribute match modes.

Author:
The OGSA-DAI Project Team.

Enum Constant Summary
NAME_AND_NULL_SOURCE
          Match name and source, null source matches all.
NAME_AND_SOURCE
          Match name and source.
NAME_ONLY
          Match name only.
NO_TYPE
          Match name and source and ignore type.
STRICT
          Match name, source and type.
 
Method Summary
static AttributeMatchMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AttributeMatchMode[] 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

NAME_ONLY

public static final AttributeMatchMode NAME_ONLY
Match name only.


NAME_AND_NULL_SOURCE

public static final AttributeMatchMode NAME_AND_NULL_SOURCE
Match name and source, null source matches all.


NAME_AND_SOURCE

public static final AttributeMatchMode NAME_AND_SOURCE
Match name and source.


STRICT

public static final AttributeMatchMode STRICT
Match name, source and type.


NO_TYPE

public static final AttributeMatchMode NO_TYPE
Match name and source and ignore type.

Method Detail

values

public static AttributeMatchMode[] 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 (AttributeMatchMode c : AttributeMatchMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AttributeMatchMode 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