Package mondrian.olap
Enum Class LevelType
- All Implemented Interfaces:
Serializable
,Comparable<LevelType>
,Constable
Deprecated.
Enumerates the types of levels.
- Since:
- 5 April, 2004
- Author:
- jhyde
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDeprecated.Indicates that a level holds the null member.Deprecated.Indicates that the level is not related to time.Deprecated.Indicates that a level refers to days.Deprecated.Indicates that a level refers to half years.Deprecated.Indicates that a level refers to hours.Deprecated.Indicates that a level refers to minutes.Deprecated.Indicates that a level refers to months.Deprecated.Indicates that a level refers to quarters.Deprecated.Indicates that a level refers to seconds.Deprecated.Indicates that a level is an unspecified time period.Deprecated.Indicates that a level refers to weeks.Deprecated.Indicates that a level refers to years. -
Method Summary
Modifier and TypeMethodDescriptionboolean
isTime()
Deprecated.Returns whether this is a time level.static LevelType
Deprecated.Returns the enum constant of this class with the specified name.static LevelType[]
values()
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Regular
Deprecated.Indicates that the level is not related to time. -
TimeYears
Deprecated.Indicates that a level refers to years. It must be used in a dimension whose type isDimensionType.TimeDimension
. -
TimeHalfYears
Deprecated.Indicates that a level refers to half years. It must be used in a dimension whose type isDimensionType.TimeDimension
. -
TimeQuarters
Deprecated.Indicates that a level refers to quarters. It must be used in a dimension whose type isDimensionType.TimeDimension
. -
TimeMonths
Deprecated.Indicates that a level refers to months. It must be used in a dimension whose type isDimensionType.TimeDimension
. -
TimeWeeks
Deprecated.Indicates that a level refers to weeks. It must be used in a dimension whose type isDimensionType.TimeDimension
. -
TimeDays
Deprecated.Indicates that a level refers to days. It must be used in a dimension whose type isDimensionType.TimeDimension
. -
TimeHours
Deprecated.Indicates that a level refers to hours. It must be used in a dimension whose type isDimensionType.TimeDimension
. -
TimeMinutes
Deprecated.Indicates that a level refers to minutes. It must be used in a dimension whose type isDimensionType.TimeDimension
. -
TimeSeconds
Deprecated.Indicates that a level refers to seconds. It must be used in a dimension whose type isDimensionType.TimeDimension
. -
TimeUndefined
Deprecated.Indicates that a level is an unspecified time period. It must be used in a dimension whose type isDimensionType.TimeDimension
. -
Null
Deprecated.Indicates that a level holds the null member.
-
-
Method Details
-
values
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
isTime
public boolean isTime()Deprecated.Returns whether this is a time level.- Returns:
- Whether this is a time level.
-
Level.Type
before mondrian-4.0.