org.eclipse.xsd
Class XSDDerivationMethod

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

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

A representation of the literals of the enumeration 'Derivation Method'.

See Also:
XSDComplexTypeDefinition.getDerivationMethod(), XSDPackage.getXSDDerivationMethod()

Field Summary
static int EXTENSION
          The 'Extension' literal value.
static XSDDerivationMethod EXTENSION_LITERAL
          The 'Extension' literal object.
static int RESTRICTION
          The 'Restriction' literal value.
static XSDDerivationMethod RESTRICTION_LITERAL
          The 'Restriction' literal object.
static java.util.List VALUES
          A public read-only list of all the 'Derivation Method' enumerators.
 
Method Summary
static XSDDerivationMethod get(int value)
          Returns the 'Derivation Method' literal with the specified value.
static XSDDerivationMethod get(java.lang.String name)
          Returns the 'Derivation Method' 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

EXTENSION

public static final int EXTENSION
The 'Extension' literal value.

This is used to indicate that a complex type definition is derived via extension.

See Also:
EXTENSION_LITERAL

RESTRICTION

public static final int RESTRICTION
The 'Restriction' literal value.

This is used to indicate that a complex type definition is derived via restriction.

See Also:
RESTRICTION_LITERAL

EXTENSION_LITERAL

public static final XSDDerivationMethod EXTENSION_LITERAL
The 'Extension' literal object.

See Also:
EXTENSION

RESTRICTION_LITERAL

public static final XSDDerivationMethod RESTRICTION_LITERAL
The 'Restriction' literal object.

See Also:
RESTRICTION

VALUES

public static final java.util.List VALUES
A public read-only list of all the 'Derivation Method' enumerators.
Method Detail

get

public static XSDDerivationMethod get(java.lang.String name)
Returns the 'Derivation Method' literal with the specified name.

get

public static XSDDerivationMethod get(int value)
Returns the 'Derivation Method' literal with the specified value.

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