org.eclipse.xsd
Class XSDOrdered

java.lang.Object
  extended byorg.eclipse.emf.common.util.AbstractEnumerator
      extended byorg.eclipse.xsd.XSDOrdered
All Implemented Interfaces:
Enumerator

public final class XSDOrdered
extends AbstractEnumerator

A representation of the literals of the enumeration 'Ordered'.

See Also:
XSDOrderedFacet.getValue(), XSDPackage.getXSDOrdered()

Field Summary
static int FALSE
          The 'False' literal value
static XSDOrdered FALSE_LITERAL
          The 'False' literal object
static int PARTIAL
          The 'Partial' literal value
static XSDOrdered PARTIAL_LITERAL
          The 'Partial' literal object
static int TOTAL
          The 'Total' literal value
static XSDOrdered TOTAL_LITERAL
          The 'Total' literal object
static List VALUES
          A public read-only list of all the 'Ordered' enumerators
 
Method Summary
static XSDOrdered get(int value)
          Returns the 'Ordered' literal with the specified integer value
static XSDOrdered get(String literal)
          Returns the 'Ordered' literal with the specified literal value
static XSDOrdered getByName(String name)
          Returns the 'Ordered' 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FALSE

public static final int FALSE
The 'False' literal value.

This is used to indicate that a simple type definition's value space is unordered.

See Also:
FALSE_LITERAL, Constant Field Values

PARTIAL

public static final int PARTIAL
The 'Partial' literal value.

This is used to indicate that a simple type definition's value space is partially ordered.

See Also:
PARTIAL_LITERAL, Constant Field Values

TOTAL

public static final int TOTAL
The 'Total' literal value.

This is used to indicate that a simple type definition's value space is ordered.

See Also:
TOTAL_LITERAL, Constant Field Values

FALSE_LITERAL

public static final XSDOrdered FALSE_LITERAL
The 'False' literal object.

See Also:
FALSE

PARTIAL_LITERAL

public static final XSDOrdered PARTIAL_LITERAL
The 'Partial' literal object.

See Also:
PARTIAL

TOTAL_LITERAL

public static final XSDOrdered TOTAL_LITERAL
The 'Total' literal object.

See Also:
TOTAL

VALUES

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

Method Detail

get

public static XSDOrdered get(String literal)
Returns the 'Ordered' literal with the specified literal value.


getByName

public static XSDOrdered getByName(String name)
Returns the 'Ordered' literal with the specified name.


get

public static XSDOrdered get(int value)
Returns the 'Ordered' literal with the specified integer value.


Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.