|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<LevelType> mondrian.olap.LevelType
public enum LevelType
Enumerates the types of levels.
Enum Constant Summary | |
---|---|
Null
Indicates that a level holds the null member. |
|
Regular
Indicates that the level is not related to time. |
|
TimeDays
Indicates that a level refers to days. |
|
TimeMonths
Indicates that a level refers to months. |
|
TimeQuarters
Indicates that a level refers to quarters. |
|
TimeWeeks
Indicates that a level refers to weeks. |
|
TimeYears
Indicates that a level refers to years. |
Method Summary | |
---|---|
boolean |
isTime()
|
static LevelType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static LevelType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final LevelType Regular
public static final LevelType TimeYears
DimensionType.TimeDimension
.
public static final LevelType TimeQuarters
DimensionType.TimeDimension
.
public static final LevelType TimeMonths
DimensionType.TimeDimension
.
public static final LevelType TimeWeeks
DimensionType.TimeDimension
.
public static final LevelType TimeDays
DimensionType.TimeDimension
.
public static final LevelType Null
Method Detail |
---|
public static LevelType[] values()
for (LevelType c : LevelType.values()) System.out.println(c);
public static LevelType valueOf(String name)
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullname
- the name of the enum constant to be returned.
public boolean isTime()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |