org.olap4j.metadata
public static enum Member.Type extends Enum<Member.Type>
The values are as specified by XMLA,
plus the additional NULL
value not used by XMLA.
For example, XMLA specifies MDMEMBER_TYPE_REGULAR
with
ordinal 1, which corresponds to value REGULAR
.
The FORMULA
value takes precedence over MEASURE
.
For example, if there is a formula (calculated) member on the Measures
dimension, it is listed as FORMULA
.
Enum Constant and Description |
---|
ALL |
FORMULA |
MEASURE |
NULL
Indicates that this member is its hierarchy's NULL member (such as is
returned by the expression
[Gender].[All Gender].PrevMember , for example). |
REGULAR |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static Member.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Member.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Member.Type UNKNOWN
public static final Member.Type REGULAR
public static final Member.Type ALL
public static final Member.Type MEASURE
public static final Member.Type FORMULA
public static final Member.Type NULL
[Gender].[All Gender].PrevMember
, for example).public static Member.Type[] values()
for (Member.Type c : Member.Type.values()) System.out.println(c);
public static Member.Type 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 null