org.eclipse.xsd
Class XSDCardinality

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

public final class XSDCardinality
extends AbstractEnumerator

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

See Also:
XSDCardinalityFacet.getValue(), XSDPackage.getXSDCardinality()

Field Summary
static int COUNTABLY_INFINITE
          The 'Countably Infinite' literal value
static XSDCardinality COUNTABLY_INFINITE_LITERAL
          The 'Countably Infinite' literal object
static int FINITE
          The 'Finite' literal value
static XSDCardinality FINITE_LITERAL
          The 'Finite' literal object
static List VALUES
          A public read-only list of all the 'Cardinality' enumerators
 
Method Summary
static XSDCardinality get(int value)
          Returns the 'Cardinality' literal with the specified integer value
static XSDCardinality get(String literal)
          Returns the 'Cardinality' literal with the specified literal value
static XSDCardinality getByName(String name)
          Returns the 'Cardinality' 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

FINITE

public static final int FINITE
The 'Finite' literal value.

This is used to indicate that the value space of a simple type definition is finite.

See Also:
FINITE_LITERAL, Constant Field Values

COUNTABLY_INFINITE

public static final int COUNTABLY_INFINITE
The 'Countably Infinite' literal value.

This is used to indicate that the value space of a simple type definition is countably infinite.

See Also:
COUNTABLY_INFINITE_LITERAL, Constant Field Values

FINITE_LITERAL

public static final XSDCardinality FINITE_LITERAL
The 'Finite' literal object.

See Also:
FINITE

COUNTABLY_INFINITE_LITERAL

public static final XSDCardinality COUNTABLY_INFINITE_LITERAL
The 'Countably Infinite' literal object.

See Also:
COUNTABLY_INFINITE

VALUES

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

Method Detail

get

public static XSDCardinality get(String literal)
Returns the 'Cardinality' literal with the specified literal value.


getByName

public static XSDCardinality getByName(String name)
Returns the 'Cardinality' literal with the specified name.


get

public static XSDCardinality get(int value)
Returns the 'Cardinality' literal with the specified integer value.


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