Level.Type
before mondrian-4.0.public enum LevelType extends Enum<LevelType>
Enum Constant and Description |
---|
Null
Deprecated.
Indicates that a level holds the null member.
|
Regular
Deprecated.
Indicates that the level is not related to time.
|
TimeDays
Deprecated.
Indicates that a level refers to days.
|
TimeHalfYears
Deprecated.
Indicates that a level refers to half years.
|
TimeHours
Deprecated.
Indicates that a level refers to hours.
|
TimeMinutes
Deprecated.
Indicates that a level refers to minutes.
|
TimeMonths
Deprecated.
Indicates that a level refers to months.
|
TimeQuarters
Deprecated.
Indicates that a level refers to quarters.
|
TimeSeconds
Deprecated.
Indicates that a level refers to seconds.
|
TimeUndefined
Deprecated.
Indicates that a level is an unspecified time period.
|
TimeWeeks
Deprecated.
Indicates that a level refers to weeks.
|
TimeYears
Deprecated.
Indicates that a level refers to years.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isTime()
Deprecated.
Returns whether this is a time level.
|
static LevelType |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static LevelType[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LevelType Regular
public static final LevelType TimeYears
DimensionType.TimeDimension
.public static final LevelType TimeHalfYears
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 TimeHours
DimensionType.TimeDimension
.public static final LevelType TimeMinutes
DimensionType.TimeDimension
.public static final LevelType TimeSeconds
DimensionType.TimeDimension
.public static final LevelType TimeUndefined
DimensionType.TimeDimension
.public static final LevelType Null
public static LevelType[] values()
for (LevelType c : LevelType.values()) System.out.println(c);
public static LevelType 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 boolean isTime()
Copyright © 2019 Hitachi Vantara. All rights reserved.