mondrian.olap
Enum QueryAxis.SubtotalVisibility
java.lang.Object
java.lang.Enum<QueryAxis.SubtotalVisibility>
mondrian.olap.QueryAxis.SubtotalVisibility
- All Implemented Interfaces:
- Serializable, Comparable<QueryAxis.SubtotalVisibility>
- Enclosing class:
- QueryAxis
public static enum QueryAxis.SubtotalVisibility
- extends Enum<QueryAxis.SubtotalVisibility>
SubtotalVisibility
enumerates the allowed values of
whether subtotals are visible.
-
-
Undefined
public static final QueryAxis.SubtotalVisibility Undefined
Hide
public static final QueryAxis.SubtotalVisibility Hide
Show
public static final QueryAxis.SubtotalVisibility Show
values
public static QueryAxis.SubtotalVisibility[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (QueryAxis.SubtotalVisibility c : QueryAxis.SubtotalVisibility.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static QueryAxis.SubtotalVisibility valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name