|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mondrian.olap.EnumeratedValues.BasicValue mondrian.olap.Property
public class Property
Property
is the definition of a member property.
The following properties are mandatory for members:
CATALOG_NAME
SCHEMA_NAME
CUBE_NAME
DIMENSION_UNIQUE_NAME
HIERARCHY_UNIQUE_NAME
LEVEL_UNIQUE_NAME
LEVEL_NUMBER
MEMBER_UNIQUE_NAME
MEMBER_NAME
MEMBER_TYPE
MEMBER_GUID
MEMBER_CAPTION
MEMBER_ORDINAL
CHILDREN_CARDINALITY
PARENT_LEVEL
PARENT_UNIQUE_NAME
PARENT_COUNT
DESCRIPTION
BACK_COLOR
CELL_EVALUATION_LIST
CELL_ORDINAL
FORE_COLOR
FONT_NAME
FONT_SIZE
FONT_FLAGS
FORMAT_STRING
FORMATTED_VALUE
NON_EMPTY_BEHAVIOR
SOLVE_ORDER
VALUE
Nested Class Summary | |
---|---|
static class |
Property.Datatype
|
Field Summary | |
---|---|
static Property |
AGGREGATION_TYPE
Definition of the internal property which holds the aggregation type. |
static int |
AGGREGATION_TYPE_ORDINAL
|
static Property |
BACK_COLOR
|
static int |
BACK_COLOR_ORDINAL
|
static Property |
CAPTION
Definition of the internal property which holds a member's caption. |
static int |
CAPTION_ORDINAL
|
static Property |
CATALOG_NAME
Definition of the property which holds the name of the current catalog. |
static int |
CATALOG_NAME_ORDINAL
|
static Property |
CELL_EVALUATION_LIST
|
static int |
CELL_EVALUATION_LIST_ORDINAL
|
static Property |
CELL_FORMATTER
Definition of the property which holds the name of the class which formats cell values of this member. |
static int |
CELL_FORMATTER_ORDINAL
|
static Property |
CELL_ORDINAL
|
static int |
CELL_ORDINAL_ORDINAL
|
static Property |
CHILDREN_CARDINALITY
Definition of the property which holds the number of children this member has. |
static int |
CHILDREN_CARDINALITY_ORDINAL
|
static Property |
CONTRIBUTING_CHILDREN
Definition of the internal property which holds, for a member of a parent-child hierarchy, a List containing the member's data
member and all of its children (including non-visible children). |
static int |
CONTRIBUTING_CHILDREN_ORDINAL
|
static Property |
CUBE_NAME
Definition of the property which holds the name of the current cube. |
static int |
CUBE_NAME_ORDINAL
|
static Property |
DATATYPE
Definition of the property which holds the datatype of a cell. |
static int |
DATATYPE_ORDINAL
|
static Property |
DEPTH
Definition of the property which holds the level depth of a member. |
static int |
DEPTH_ORDINAL
|
static Property |
DESCRIPTION
Definition of the property which holds the description of this member. |
static int |
DESCRIPTION_ORDINAL
|
static Property |
DIMENSION_UNIQUE_NAME
Definition of the property which holds the unique name of the current dimension. |
static int |
DIMENSION_UNIQUE_NAME_ORDINAL
|
static Property |
DISPLAY_INFO
Definition of the property which holds the DISPLAY_INFO required by XML/A Caution: This property's value is calculated base on a specified MDX query, so it's value is dynamical at runtime. |
static int |
DISPLAY_INFO_ORDINAL
|
static EnumeratedValues<Property> |
enumeration
|
static Property |
FONT_FLAGS
|
static int |
FONT_FLAGS_ORDINAL
|
static Property |
FONT_NAME
|
static int |
FONT_NAME_ORDINAL
|
static Property |
FONT_SIZE
|
static int |
FONT_SIZE_ORDINAL
|
static Property |
FORE_COLOR
|
static int |
FORE_COLOR_ORDINAL
|
static Property |
FORMAT_EXP
Definition of the internal property which holds the parsed format string (an object of type Exp ). |
static int |
FORMAT_EXP_ORDINAL
|
(package private) static String[] |
FORMAT_PROPERTIES
The various property names which define a format string. |
static Property |
FORMAT_STRING
Definition of the property which holds the format string used to format cell values. |
static int |
FORMAT_STRING_ORDINAL
|
static Property |
FORMATTED_VALUE
Definition of the property which holds the formatted value of a cell. |
static int |
FORMATTED_VALUE_ORDINAL
|
static Property |
FORMULA
Definition of the internal property which returns a calculated member's Formula object. |
static int |
FORMULA_ORDINAL
|
static Property |
HIERARCHY_UNIQUE_NAME
Definition of the property which holds the unique name of the current hierarchy. |
static int |
HIERARCHY_UNIQUE_NAME_ORDINAL
|
static Property |
KEY
Definition of the property which holds the key of the current member. |
static int |
KEY_ORDINAL
|
static Property |
LEVEL_NUMBER
Definition of the property which holds the ordinal of the current level. |
static int |
LEVEL_NUMBER_ORDINAL
|
static Property |
LEVEL_UNIQUE_NAME
Definition of the property which holds the unique name of the current level. |
static int |
LEVEL_UNIQUE_NAME_ORDINAL
|
static Map<String,Property> |
mapUpperNameToProperties
Map of upper-case names to property definitions, for case-insensitive match. |
static Property |
MEMBER_CAPTION
Definition of the property which holds the label or caption associated with the member, or the member's name if no caption is defined. |
static int |
MEMBER_CAPTION_ORDINAL
|
static Property |
MEMBER_GUID
Definition of the property which holds the GUID of the member |
static int |
MEMBER_GUID_ORDINAL
|
static Property |
MEMBER_KEY
Definition of the property which holds the member key of the current member. |
static int |
MEMBER_KEY_ORDINAL
|
static Property |
MEMBER_NAME
Definition of the property which holds the name of the current member. |
static int |
MEMBER_NAME_ORDINAL
|
static Property |
MEMBER_ORDINAL
Definition of the property which holds the ordinal of the current member. |
static int |
MEMBER_ORDINAL_ORDINAL
|
static Property |
MEMBER_SCOPE
Definition of the internal property which describes whether a calculated member belongs to a query or a cube. |
static int |
MEMBER_SCOPE_ORDINAL
|
static Property |
MEMBER_TYPE
Definition of the property which holds the type of the member. |
static int |
MEMBER_TYPE_ORDINAL
|
static Property |
MEMBER_UNIQUE_NAME
Definition of the property which holds the unique name of the current member. |
static int |
MEMBER_UNIQUE_NAME_ORDINAL
|
static Property |
NAME
Definition of the internal property which holds a member's name. |
static int |
NAME_ORDINAL
|
static Property |
NON_EMPTY_BEHAVIOR
|
static int |
NON_EMPTY_BEHAVIOR_ORDINAL
|
static Property |
PARENT_COUNT
Definition of the property which holds the number of parents that this member has. |
static int |
PARENT_COUNT_ORDINAL
|
static Property |
PARENT_LEVEL
Definition of the property which holds the distance from the root of the hierarchy of this member's parent. |
static int |
PARENT_LEVEL_ORDINAL
|
static Property |
PARENT_UNIQUE_NAME
Definition of the property which holds the Name of the current catalog. |
static int |
PARENT_UNIQUE_NAME_ORDINAL
|
static Property |
SCHEMA_NAME
Definition of the property which holds the name of the current schema. |
static int |
SCHEMA_NAME_ORDINAL
|
static Property |
SOLVE_ORDER
Definition of the property which determines the solve order of a calculated member with respect to other calculated members. |
static int |
SOLVE_ORDER_ORDINAL
|
static Property |
UNIQUE_NAME_WITHOUT_HIERARCHY
Definition of the internal property which describes the unique name of a member minus it's hierarchy. |
static int |
UNIQUE_NAME_WITHOUT_HIERARCHY_ORDINAL
|
static Property |
VALUE
Definition of the property which holds the value of a cell. |
static int |
VALUE_ORDINAL
|
static Property |
VISIBLE
Definition of the internal property which holds the name of the system property which determines whether to show a member (especially a measure or calculated member) in a user interface such as JPivot. |
static int |
VISIBLE_ORDINAL
|
Fields inherited from class mondrian.olap.EnumeratedValues.BasicValue |
---|
description, name, ordinal |
Constructor Summary | |
---|---|
protected |
Property(String name,
Property.Datatype type,
int ordinal,
boolean internal,
boolean member,
boolean cell,
String description)
Creates a property definition. |
Method Summary | |
---|---|
String |
getCaption()
Returns the caption of this property. |
PropertyFormatter |
getFormatter()
|
Property.Datatype |
getType()
Returns the datatype of the property. |
boolean |
isCellProperty()
Returns whether this property is a standard member property. |
boolean |
isInternal()
Returns whether this property is for system use only. |
boolean |
isMemberProperty()
Returns whether this property is a standard member property. |
boolean |
isStandard()
Returns whether this property is standard. |
static Property |
lookup(int ordinal)
Looks up a Property with a given ordinal. |
static Property |
lookup(String name,
boolean matchCase)
Looks up a Property with a given name. |
Methods inherited from class mondrian.olap.EnumeratedValues.BasicValue |
---|
equals, getDescription, getName, getOrdinal, toString, unexpected |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Map<String,Property> mapUpperNameToProperties
public static final int FORMAT_EXP_ORDINAL
public static final Property FORMAT_EXP
Exp
).
public static final int AGGREGATION_TYPE_ORDINAL
public static final Property AGGREGATION_TYPE
public static final int NAME_ORDINAL
public static final Property NAME
public static final int CAPTION_ORDINAL
public static final Property CAPTION
public static final int CONTRIBUTING_CHILDREN_ORDINAL
public static final Property CONTRIBUTING_CHILDREN
List
containing the member's data
member and all of its children (including non-visible children).
public static final int FORMULA_ORDINAL
public static final Property FORMULA
Formula
object.
public static final int MEMBER_SCOPE_ORDINAL
public static final Property MEMBER_SCOPE
public static final int CATALOG_NAME_ORDINAL
public static final Property CATALOG_NAME
public static final int SCHEMA_NAME_ORDINAL
public static final Property SCHEMA_NAME
public static final int CUBE_NAME_ORDINAL
public static final Property CUBE_NAME
public static final int DIMENSION_UNIQUE_NAME_ORDINAL
public static final Property DIMENSION_UNIQUE_NAME
public static final int HIERARCHY_UNIQUE_NAME_ORDINAL
public static final Property HIERARCHY_UNIQUE_NAME
public static final int LEVEL_UNIQUE_NAME_ORDINAL
public static final Property LEVEL_UNIQUE_NAME
public static final int LEVEL_NUMBER_ORDINAL
public static final Property LEVEL_NUMBER
public static final int MEMBER_ORDINAL_ORDINAL
public static final Property MEMBER_ORDINAL
public static final int MEMBER_NAME_ORDINAL
public static final Property MEMBER_NAME
public static final int MEMBER_UNIQUE_NAME_ORDINAL
public static final Property MEMBER_UNIQUE_NAME
public static final int MEMBER_TYPE_ORDINAL
public static final Property MEMBER_TYPE
public static final int MEMBER_GUID_ORDINAL
public static final Property MEMBER_GUID
public static final int MEMBER_CAPTION_ORDINAL
public static final Property MEMBER_CAPTION
"CAPTION" is a synonym for this property.
public static final int CHILDREN_CARDINALITY_ORDINAL
public static final Property CHILDREN_CARDINALITY
public static final int PARENT_LEVEL_ORDINAL
public static final Property PARENT_LEVEL
public static final int PARENT_UNIQUE_NAME_ORDINAL
public static final Property PARENT_UNIQUE_NAME
public static final int PARENT_COUNT_ORDINAL
public static final Property PARENT_COUNT
public static final int DESCRIPTION_ORDINAL
public static final Property DESCRIPTION
public static final int VISIBLE_ORDINAL
public static final Property VISIBLE
public static final int CELL_FORMATTER_ORDINAL
public static final Property CELL_FORMATTER
The class must implement the CellFormatter
interface.
Despite its name, this is a member property.
public static final int BACK_COLOR_ORDINAL
public static final Property BACK_COLOR
public static final int CELL_EVALUATION_LIST_ORDINAL
public static final Property CELL_EVALUATION_LIST
public static final int CELL_ORDINAL_ORDINAL
public static final Property CELL_ORDINAL
public static final int FORE_COLOR_ORDINAL
public static final Property FORE_COLOR
public static final int FONT_NAME_ORDINAL
public static final Property FONT_NAME
public static final int FONT_SIZE_ORDINAL
public static final Property FONT_SIZE
public static final int FONT_FLAGS_ORDINAL
public static final Property FONT_FLAGS
public static final int FORMATTED_VALUE_ORDINAL
public static final Property FORMATTED_VALUE
public static final int FORMAT_STRING_ORDINAL
public static final Property FORMAT_STRING
public static final int NON_EMPTY_BEHAVIOR_ORDINAL
public static final Property NON_EMPTY_BEHAVIOR
public static final int SOLVE_ORDER_ORDINAL
public static final Property SOLVE_ORDER
public static final int VALUE_ORDINAL
public static final Property VALUE
It is also applicable to members.
public static final int DATATYPE_ORDINAL
public static final Property DATATYPE
public static final int DEPTH_ORDINAL
public static final Property DEPTH
public static final int DISPLAY_INFO_ORDINAL
public static final Property DISPLAY_INFO
public static final int MEMBER_KEY_ORDINAL
public static final Property MEMBER_KEY
public static final int KEY_ORDINAL
public static final Property KEY
public static final int UNIQUE_NAME_WITHOUT_HIERARCHY_ORDINAL
public static final Property UNIQUE_NAME_WITHOUT_HIERARCHY
static final String[] FORMAT_PROPERTIES
public static final EnumeratedValues<Property> enumeration
Constructor Detail |
---|
protected Property(String name, Property.Datatype type, int ordinal, boolean internal, boolean member, boolean cell, String description)
Method Detail |
---|
public Property.Datatype getType()
public PropertyFormatter getFormatter()
public String getCaption()
public boolean isInternal()
public boolean isMemberProperty()
public boolean isCellProperty()
public boolean isStandard()
public static Property lookup(int ordinal)
public static Property lookup(String name, boolean matchCase)
name
- Name of propertymatchCase
- Whether to perform case-sensitive match
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |