|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface XmlaConstant.Dictionary<E extends Enum<E> & XmlaConstant>
| Method Summary | |
|---|---|
Set<E> |
forMask(int xmlaOrdinalMask)
Creates a set of values by parsing a mask. |
E |
forName(String xmlaName)
Returns the enumeration value with the given name in the XMLA specification, or null if there is no such. |
E |
forOrdinal(int xmlaOrdinal)
Returns the enumeration value with the given ordinal in the XMLA specification, or null if there is no such. |
Class<E> |
getEnumClass()
Returns the class that the enum values belong to. |
List<E> |
getValues()
Returns all values of the enum. |
int |
toMask(Set<E> set)
Converts a set of enum values to an integer by logical OR-ing their codes. |
| Method Detail |
|---|
E forOrdinal(int xmlaOrdinal)
xmlaOrdinal - XMLA ordinal
E forName(String xmlaName)
xmlaName - XMLA name
Set<E> forMask(int xmlaOrdinalMask)
xmlaOrdinalMask - Bit mask
int toMask(Set<E> set)
set - Set of enum values
List<E> getValues()
This method may be more efficient than
Class.getEnumConstants() because the latter is required to
create a new array every call to prevent corruption.
Class<E> getEnumClass()
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||