mondrian.rolap
Class RolapProperty

java.lang.Object
  extended by mondrian.olap.EnumeratedValues.BasicValue
      extended by mondrian.olap.Property
          extended by mondrian.rolap.RolapProperty
All Implemented Interfaces:
EnumeratedValues.Value

 class RolapProperty
extends Property

RolapProperty is the definition of a member property.

Author:
jhyde
 

Nested Class Summary
 
Nested classes/interfaces inherited from class mondrian.olap.Property
Property.Datatype
 
Field Summary
(package private) static RolapProperty[] emptyArray
          Array of RolapProperty of length 0.
 
Fields inherited from class mondrian.olap.Property
AGGREGATION_TYPE, AGGREGATION_TYPE_ORDINAL, BACK_COLOR, BACK_COLOR_ORDINAL, CAPTION, CAPTION_ORDINAL, CATALOG_NAME, CATALOG_NAME_ORDINAL, CELL_EVALUATION_LIST, CELL_EVALUATION_LIST_ORDINAL, CELL_FORMATTER, CELL_FORMATTER_ORDINAL, CELL_ORDINAL, CELL_ORDINAL_ORDINAL, CHILDREN_CARDINALITY, CHILDREN_CARDINALITY_ORDINAL, CONTRIBUTING_CHILDREN, CONTRIBUTING_CHILDREN_ORDINAL, CUBE_NAME, CUBE_NAME_ORDINAL, DATATYPE, DATATYPE_ORDINAL, DEPTH, DEPTH_ORDINAL, DESCRIPTION, DESCRIPTION_ORDINAL, DIMENSION_UNIQUE_NAME, DIMENSION_UNIQUE_NAME_ORDINAL, DISPLAY_INFO, DISPLAY_INFO_ORDINAL, enumeration, FONT_FLAGS, FONT_FLAGS_ORDINAL, FONT_NAME, FONT_NAME_ORDINAL, FONT_SIZE, FONT_SIZE_ORDINAL, FORE_COLOR, FORE_COLOR_ORDINAL, FORMAT_EXP, FORMAT_EXP_ORDINAL, FORMAT_STRING, FORMAT_STRING_ORDINAL, FORMATTED_VALUE, FORMATTED_VALUE_ORDINAL, FORMULA, FORMULA_ORDINAL, HIERARCHY_UNIQUE_NAME, HIERARCHY_UNIQUE_NAME_ORDINAL, KEY, KEY_ORDINAL, LEVEL_NUMBER, LEVEL_NUMBER_ORDINAL, LEVEL_UNIQUE_NAME, LEVEL_UNIQUE_NAME_ORDINAL, mapUpperNameToProperties, MEMBER_CAPTION, MEMBER_CAPTION_ORDINAL, MEMBER_GUID, MEMBER_GUID_ORDINAL, MEMBER_KEY, MEMBER_KEY_ORDINAL, MEMBER_NAME, MEMBER_NAME_ORDINAL, MEMBER_ORDINAL, MEMBER_ORDINAL_ORDINAL, MEMBER_SCOPE, MEMBER_SCOPE_ORDINAL, MEMBER_TYPE, MEMBER_TYPE_ORDINAL, MEMBER_UNIQUE_NAME, MEMBER_UNIQUE_NAME_ORDINAL, NAME, NAME_ORDINAL, NON_EMPTY_BEHAVIOR, NON_EMPTY_BEHAVIOR_ORDINAL, PARENT_COUNT, PARENT_COUNT_ORDINAL, PARENT_LEVEL, PARENT_LEVEL_ORDINAL, PARENT_UNIQUE_NAME, PARENT_UNIQUE_NAME_ORDINAL, SCHEMA_NAME, SCHEMA_NAME_ORDINAL, SOLVE_ORDER, SOLVE_ORDER_ORDINAL, UNIQUE_NAME_WITHOUT_HIERARCHY, UNIQUE_NAME_WITHOUT_HIERARCHY_ORDINAL, VALUE, VALUE_ORDINAL, VISIBLE, VISIBLE_ORDINAL
 
Fields inherited from class mondrian.olap.EnumeratedValues.BasicValue
description, name, ordinal
 
Constructor Summary
RolapProperty(String name, Property.Datatype type, MondrianDef.Expression exp, String formatterDef, String caption, boolean internal)
          Creates a RolapProperty.
 
Method Summary
 String getCaption()
          Returns the caption of this property.
(package private)  MondrianDef.Expression getExp()
           
 PropertyFormatter getFormatter()
           
 
Methods inherited from class mondrian.olap.Property
getType, isCellProperty, isInternal, isMemberProperty, isStandard, lookup, lookup
 
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

emptyArray

static final RolapProperty[] emptyArray
Array of RolapProperty of length 0.

Constructor Detail

RolapProperty

RolapProperty(String name,
              Property.Datatype type,
              MondrianDef.Expression exp,
              String formatterDef,
              String caption,
              boolean internal)
Creates a RolapProperty.

Parameters:
name - Name of property
type - Datatype
exp - Expression for property's value; often a literal
formatterDef - Name of formatter class (must implement PropertyFormatter), or null
caption - Caption
internal - Whether property is internal
Method Detail

getExp

MondrianDef.Expression getExp()

getFormatter

public PropertyFormatter getFormatter()
Overrides:
getFormatter in class Property

getCaption

public String getCaption()
Description copied from class: Property
Returns the caption of this property.

Overrides:
getCaption in class Property
Returns:
Returns the caption.

SourceForge.net_Logo