org.eclipse.birt.chart.model.attribute
Class SortOption

java.lang.Object
  extended by org.eclipse.emf.common.util.AbstractEnumerator
      extended by org.eclipse.birt.chart.model.attribute.SortOption
All Implemented Interfaces:
java.io.Serializable, org.eclipse.emf.common.util.Enumerator

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

A representation of the literals of the enumeration ' Sort Option', and utility methods for working with them. This type represents the options available for sorting.

See Also:
AttributePackage.getSortOption(), Serialized Form

Field Summary
static int ASCENDING
          The 'Ascending' literal value.
static SortOption ASCENDING_LITERAL
          The 'Ascending' literal object.
static int DESCENDING
          The 'Descending' literal value.
static SortOption DESCENDING_LITERAL
          The 'Descending' literal object.
static java.util.List VALUES
          A public read-only list of all the 'Sort Option' enumerators.
 
Method Summary
static SortOption get(int value)
          Returns the 'Sort Option' literal with the specified integer value.
static SortOption get(java.lang.String literal)
          Returns the 'Sort Option' literal with the specified literal value.
static SortOption getByName(java.lang.String name)
          Returns the 'Sort Option' literal with the specified name.
 
Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator
getLiteral, getName, getValue, toString
 
Methods inherited from class java.lang.Object
equals, 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 SortOption ASCENDING_LITERAL
The 'Ascending' literal object.

If the meaning of 'Ascending' literal object isn't clear, there really should be more of a description here...

See Also:
ASCENDING

DESCENDING_LITERAL

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

If the meaning of 'Descending' literal object isn't clear, there really should be more of a description here...

See Also:
DESCENDING

VALUES

public static final java.util.List VALUES
A public read-only list of all the 'Sort Option' enumerators.

Method Detail

get

public static SortOption get(java.lang.String literal)
Returns the 'Sort Option' literal with the specified literal value.


getByName

public static SortOption getByName(java.lang.String name)
Returns the 'Sort Option' literal with the specified name.


get

public static SortOption get(int value)
Returns the 'Sort Option' literal with the specified integer value.



Copyright © 2005-2008 Actuate Corp. All rights reserved.