org.eclipse.xsd
Class XSDCardinality

java.lang.Object
  extended byAbstractEnumerator
      extended byorg.eclipse.xsd.XSDCardinality

public final class XSDCardinality
extends AbstractEnumerator

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

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

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 value
static XSDCardinality get(String name)
          Returns the 'Cardinality' literal with the specified name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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 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-2004 IBM Corporation and others.
All Rights Reserved.