|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<XSDCardinality> org.eclipse.xsd.XSDCardinality
public enum XSDCardinality
A representation of the literals of the enumeration 'Cardinality'.
XSDCardinalityFacet.getValue()
,
XSDPackage.getXSDCardinality()
Enum Constant Summary | |
---|---|
COUNTABLY_INFINITE_LITERAL
The 'Countably Infinite' literal object |
|
FINITE_LITERAL
The 'Finite' literal object |
Field Summary | |
---|---|
static int |
COUNTABLY_INFINITE
The 'Countably Infinite' literal value |
static int |
FINITE
The 'Finite' literal value |
static java.util.List<XSDCardinality> |
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(java.lang.String literal)
Returns the 'Cardinality' literal with the specified literal value |
static XSDCardinality |
getByName(java.lang.String name)
Returns the 'Cardinality' literal with the specified name |
java.lang.String |
getLiteral()
|
java.lang.String |
getName()
|
int |
getValue()
|
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation |
static XSDCardinality |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static XSDCardinality[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final XSDCardinality FINITE_LITERAL
FINITE
public static final XSDCardinality COUNTABLY_INFINITE_LITERAL
COUNTABLY_INFINITE
Field Detail |
---|
public static final int FINITE
This is used to indicate that the value space of a simple type definition is finite.
FINITE_LITERAL
,
Constant Field Valuespublic static final int COUNTABLY_INFINITE
This is used to indicate that the value space of a simple type definition is countably infinite.
COUNTABLY_INFINITE_LITERAL
,
Constant Field Valuespublic static final java.util.List<XSDCardinality> VALUES
Method Detail |
---|
public static final XSDCardinality[] values()
for(XSDCardinality c : XSDCardinality.values()) System.out.println(c);
public static XSDCardinality valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic static XSDCardinality get(java.lang.String literal)
public static XSDCardinality getByName(java.lang.String name)
public static XSDCardinality get(int value)
public int getValue()
getValue
in interface Enumerator
public java.lang.String getName()
getName
in interface Enumerator
public java.lang.String getLiteral()
getLiteral
in interface Enumerator
public java.lang.String toString()
toString
in class java.lang.Enum<XSDCardinality>
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |