org.LexGrid.LexBIG.Extensions.Generic
Enum MappingExtension.Direction

java.lang.Object
  extended by java.lang.Enum<MappingExtension.Direction>
      extended by org.LexGrid.LexBIG.Extensions.Generic.MappingExtension.Direction
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MappingExtension.Direction>
Enclosing interface:
MappingExtension

public static enum MappingExtension.Direction
extends java.lang.Enum<MappingExtension.Direction>

Sort Direction.

Author:
Kevin Peterson

Enum Constant Summary
ASC
          Sort Ascending
DESC
          Sort Descending
 
Method Summary
static MappingExtension.Direction valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MappingExtension.Direction[] 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

ASC

public static final MappingExtension.Direction ASC
Sort Ascending


DESC

public static final MappingExtension.Direction DESC
Sort Descending

Method Detail

values

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

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

valueOf

public static MappingExtension.Direction 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

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.