IBM Rational Software Modeler
Release 6.0

com.ibm.xtools.notation
Class SortingDirection

java.lang.Object
  extended byorg.eclipse.emf.common.util.AbstractEnumerator
      extended bycom.ibm.xtools.notation.SortingDirection
All Implemented Interfaces:
org.eclipse.emf.common.util.Enumerator

public final class SortingDirection
extends org.eclipse.emf.common.util.AbstractEnumerator

A representation of the literals of the enumeration 'Sorting Direction', and utility methods for working with them.

See Also:
NotationPackage.getSortingDirection()

Field Summary
static int ASCENDING
          The 'Ascending' literal value
static SortingDirection ASCENDING_LITERAL
          The 'Ascending' literal object
static int DESCENDING
          The 'Descending' literal value
static SortingDirection DESCENDING_LITERAL
          The 'Descending' literal object
static List VALUES
          A public read-only list of all the 'Sorting Direction' enumerators
 
Method Summary
static SortingDirection get(int value)
          Returns the 'Sorting Direction' literal with the specified value
static SortingDirection get(String name)
          Returns the 'Sorting Direction' literal with the specified name
 
Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator
getName, getValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ASCENDING

public static final int ASCENDING
The 'Ascending' literal value.

See Also:
ASCENDING_LITERAL, Constant Field Values

DESCENDING

public static final int DESCENDING
The 'Descending' literal value.

See Also:
DESCENDING_LITERAL, Constant Field Values

ASCENDING_LITERAL

public static final SortingDirection ASCENDING_LITERAL
The 'Ascending' literal object.

See Also:
ASCENDING

DESCENDING_LITERAL

public static final SortingDirection DESCENDING_LITERAL
The 'Descending' literal object.

See Also:
DESCENDING

VALUES

public static final List VALUES
A public read-only list of all the 'Sorting Direction' enumerators.

Method Detail

get

public static SortingDirection get(String name)
Returns the 'Sorting Direction' literal with the specified name.


get

public static SortingDirection get(int value)
Returns the 'Sorting Direction' literal with the specified value.


IBM Rational Software Modeler
Release 6.0


Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2004. All rights reserved.