org.eclipse.xsd
Class XSDCardinality

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

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

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

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

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

get

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

get

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

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