org.eclipse.xsd
Class XSDVariety

java.lang.Object
  |
  +--org.eclipse.emf.common.util.AbstractEnumerator
        |
        +--org.eclipse.xsd.XSDVariety
All Implemented Interfaces:
org.eclipse.emf.common.util.Enumerator

public final class XSDVariety
extends org.eclipse.emf.common.util.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 java.util.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 value.
static XSDVariety get(java.lang.String name)
          Returns the 'Variety' 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

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

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

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

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 java.util.List VALUES
A public read-only list of all the 'Variety' enumerators.
Method Detail

get

public static XSDVariety get(java.lang.String name)
Returns the 'Variety' literal with the specified name.

get

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

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