org.eclipse.xsd
Class XSDDerivationMethod

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

public final class XSDDerivationMethod
extends 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 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 integer value
static XSDDerivationMethod get(String literal)
          Returns the 'Derivation Method' literal with the specified literal value
static XSDDerivationMethod getByName(String name)
          Returns the 'Derivation Method' 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

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, Constant Field Values

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, Constant Field Values

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

Method Detail

get

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


getByName

public static XSDDerivationMethod getByName(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 integer value.


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