public enum CollectionKind extends Enum<CollectionKind>
PivotPackage.getCollectionKind()
Enum Constant and Description |
---|
BAG
The 'Bag' literal object.
|
COLLECTION
The 'Collection' literal object.
|
ORDERED_SET
The 'Ordered Set' literal object.
|
SEQUENCE
The 'Sequence' literal object.
|
SET
The 'Set' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
BAG_VALUE
The 'Bag' literal value.
|
static int |
COLLECTION_VALUE
The 'Collection' literal value.
|
static int |
ORDERED_SET_VALUE
The 'Ordered Set' literal value.
|
static int |
SEQUENCE_VALUE
The 'Sequence' literal value.
|
static int |
SET_VALUE
The 'Set' literal value.
|
static List<CollectionKind> |
VALUES
A public read-only list of all the 'Collection Kind' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static CollectionKind |
get(int value)
Returns the 'Collection Kind' literal with the specified integer value.
|
static CollectionKind |
get(String literal)
Returns the 'Collection Kind' literal with the specified literal value.
|
static CollectionKind |
getByName(String name)
Returns the 'Collection Kind' literal with the specified name.
|
String |
getLiteral() |
String |
getName() |
int |
getValue() |
String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static CollectionKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CollectionKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollectionKind COLLECTION
COLLECTION_VALUE
public static final CollectionKind SET
SET_VALUE
public static final CollectionKind ORDERED_SET
ORDERED_SET_VALUE
public static final CollectionKind BAG
BAG_VALUE
public static final CollectionKind SEQUENCE
SEQUENCE_VALUE
public static final int COLLECTION_VALUE
If the meaning of 'Collection' literal object isn't clear, there really should be more of a description here...
COLLECTION
,
Constant Field Valuespublic static final int SET_VALUE
If the meaning of 'Set' literal object isn't clear, there really should be more of a description here...
SET
,
Constant Field Valuespublic static final int ORDERED_SET_VALUE
If the meaning of 'Ordered Set' literal object isn't clear, there really should be more of a description here...
ORDERED_SET
,
Constant Field Valuespublic static final int BAG_VALUE
If the meaning of 'Bag' literal object isn't clear, there really should be more of a description here...
BAG
,
Constant Field Valuespublic static final int SEQUENCE_VALUE
If the meaning of 'Sequence' literal object isn't clear, there really should be more of a description here...
SEQUENCE
,
Constant Field Valuespublic static final List<CollectionKind> VALUES
public static CollectionKind[] values()
for (CollectionKind c : CollectionKind.values()) System.out.println(c);
public static CollectionKind valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static CollectionKind get(String literal)
literal
- the literal.null
.public static CollectionKind getByName(String name)
name
- the name.null
.public static CollectionKind get(int value)
value
- the integer value.null
.public int getValue()
public String getName()
public String getLiteral()
public String toString()
toString
in class Enum<CollectionKind>
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.