org.eclipse.xsd
Class XSDAttributeUseCategory

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

public final class XSDAttributeUseCategory
extends AbstractEnumerator

A representation of the literals of the enumeration 'Attribute Use Category'.

See Also:
XSDAttributeUse.getUse(), XSDPackage.getXSDAttributeUseCategory()

Field Summary
static int OPTIONAL
          The 'Optional' literal value
static XSDAttributeUseCategory OPTIONAL_LITERAL
          The 'Optional' literal object
static int PROHIBITED
          The 'Prohibited' literal value
static XSDAttributeUseCategory PROHIBITED_LITERAL
          The 'Prohibited' literal object
static int REQUIRED
          The 'Required' literal value
static XSDAttributeUseCategory REQUIRED_LITERAL
          The 'Required' literal object
static List VALUES
          A public read-only list of all the 'Attribute Use Category' enumerators
 
Method Summary
static XSDAttributeUseCategory get(int value)
          Returns the 'Attribute Use Category' literal with the specified integer value
static XSDAttributeUseCategory get(String literal)
          Returns the 'Attribute Use Category' literal with the specified literal value
static XSDAttributeUseCategory getByName(String name)
          Returns the 'Attribute Use Category' 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

OPTIONAL

public static final int OPTIONAL
The 'Optional' literal value.

This is used to indicate that an attribute use may appear.

See Also:
OPTIONAL_LITERAL, Constant Field Values

PROHIBITED

public static final int PROHIBITED
The 'Prohibited' literal value.

This is used to indicate that an attribute use must not appear; it acts to hide attribute uses that may have been inherited.

See Also:
PROHIBITED_LITERAL, Constant Field Values

REQUIRED

public static final int REQUIRED
The 'Required' literal value.

This is used to indicate that an attribute use must appear.

See Also:
REQUIRED_LITERAL, Constant Field Values

OPTIONAL_LITERAL

public static final XSDAttributeUseCategory OPTIONAL_LITERAL
The 'Optional' literal object.

See Also:
OPTIONAL

PROHIBITED_LITERAL

public static final XSDAttributeUseCategory PROHIBITED_LITERAL
The 'Prohibited' literal object.

See Also:
PROHIBITED

REQUIRED_LITERAL

public static final XSDAttributeUseCategory REQUIRED_LITERAL
The 'Required' literal object.

See Also:
REQUIRED

VALUES

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

Method Detail

get

public static XSDAttributeUseCategory get(String literal)
Returns the 'Attribute Use Category' literal with the specified literal value.


getByName

public static XSDAttributeUseCategory getByName(String name)
Returns the 'Attribute Use Category' literal with the specified name.


get

public static XSDAttributeUseCategory get(int value)
Returns the 'Attribute Use Category' literal with the specified integer value.


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