public enum XSDCardinality extends java.lang.Enum<XSDCardinality> implements Enumerator
Enum Constant and Description |
---|
COUNTABLY_INFINITE_LITERAL
The 'Countably Infinite' literal object.
|
FINITE_LITERAL
The 'Finite' literal object.
|
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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 are declared.
|
public static final XSDCardinality FINITE_LITERAL
FINITE
public static final XSDCardinality COUNTABLY_INFINITE_LITERAL
COUNTABLY_INFINITE
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
public static 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 namejava.lang.NullPointerException
- if the argument is nullpublic 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>