org.eclipse.xsd
Class XSDVariety

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

public final class XSDVariety
extends AbstractEnumerator

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

See Also:
XSDSimpleTypeDefinition.getVariety(), XSDPackage.getXSDVariety()

Field Summary
static int ATOMIC
          The 'Atomic' literal value
static XSDVariety ATOMIC_LITERAL
          The 'Atomic' literal object
static int LIST
          The 'List' literal value
static XSDVariety LIST_LITERAL
          The 'List' literal object
static int UNION
          The 'Union' literal value
static XSDVariety UNION_LITERAL
          The 'Union' literal object
static List VALUES
          A public read-only list of all the 'Variety' enumerators
 
Method Summary
static XSDVariety get(int value)
          Returns the 'Variety' literal with the specified integer value
static XSDVariety get(String literal)
          Returns the 'Variety' literal with the specified literal value
static XSDVariety getByName(String name)
          Returns the 'Variety' 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

ATOMIC

public static final int ATOMIC
The 'Atomic' literal value.

This is used to indicate that a simple type definition is atomic.

See Also:
ATOMIC_LITERAL, Constant Field Values

LIST

public static final int LIST
The 'List' literal value.

This is used to indicate that a simple type definition is a list.

See Also:
LIST_LITERAL, Constant Field Values

UNION

public static final int UNION
The 'Union' literal value.

This is used to indicate that a simple type definition is a union.

See Also:
UNION_LITERAL, Constant Field Values

ATOMIC_LITERAL

public static final XSDVariety ATOMIC_LITERAL
The 'Atomic' literal object.

See Also:
ATOMIC

LIST_LITERAL

public static final XSDVariety LIST_LITERAL
The 'List' literal object.

See Also:
LIST

UNION_LITERAL

public static final XSDVariety UNION_LITERAL
The 'Union' literal object.

See Also:
UNION

VALUES

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

Method Detail

get

public static XSDVariety get(String literal)
Returns the 'Variety' literal with the specified literal value.


getByName

public static XSDVariety getByName(String name)
Returns the 'Variety' literal with the specified name.


get

public static XSDVariety get(int value)
Returns the 'Variety' literal with the specified integer value.


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