public class Property extends EnumeratedValues.BasicValue
Property
is the definition of a member property.
The following properties are mandatory for members:
The following propertiess are mandatory for cells:Modifier and Type | Class and Description |
---|---|
static class |
Property.Datatype |
Modifier and Type | Field and Description |
---|---|
static Property |
ACTION_TYPE
Definition of the property which
holds the format string.
|
static int |
ACTION_TYPE_ORDINAL |
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_FORMATTER_SCRIPT
Definition of the property which holds the
script with which to format cell values of this member.
|
static Property |
CELL_FORMATTER_SCRIPT_LANGUAGE
Definition of the property which holds the
name of the scripting language in which a scripted cell formatter is
implemented, e.g.
|
static int |
CELL_FORMATTER_SCRIPT_LANGUAGE_ORDINAL |
static int |
CELL_FORMATTER_SCRIPT_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
Deprecated.
Property is not used and will be removed in mondrian-4.0;
use
SchemaReader.getParentChildContributingChildren(mondrian.olap.Member, mondrian.olap.Hierarchy, java.util.List<mondrian.olap.Member>) |
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_FOLDER
Definition of the property which
holds the DISPLAY_FOLDER.
|
static int |
DISPLAY_FOLDER_ORDINAL |
static Property |
DISPLAY_INFO
Definition of the property which
holds the DISPLAY_INFO required by XML/A.
|
static int |
DISPLAY_INFO_ORDINAL |
static Property |
DRILLTHROUGH_COUNT
Definition of the property that
holds the number of fact rows that contributed to this cell.
|
static int |
DRILLTHROUGH_COUNT_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 property which
holds the format string.
|
static int |
FORMAT_EXP_ORDINAL |
static Property |
FORMAT_EXP_PARSED
Definition of the internal property which
holds the parsed format string (an object of type
Exp ). |
static int |
FORMAT_EXP_PARSED_ORDINAL |
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 |
LANGUAGE
Definition of the property which
holds the translation expressed as an LCID.
|
static int |
LANGUAGE_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 |
SCENARIO
Definition of the internal property which
holds the scenario object underlying a member of the scenario hierarchy.
|
static int |
SCENARIO_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 |
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 |
description, name, ordinal
Modifier | Constructor and Description |
---|---|
protected |
Property(String name,
Property.Datatype type,
int ordinal,
boolean internal,
boolean member,
boolean cell,
String description)
Creates a property definition.
|
Modifier and Type | Method and Description |
---|---|
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 cell 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.
|
equals, getDescription, getName, getOrdinal, toString, unexpected
public static final Map<String,Property> mapUpperNameToProperties
public static final int FORMAT_EXP_PARSED_ORDINAL
public static final Property FORMAT_EXP_PARSED
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
SchemaReader.getParentChildContributingChildren(mondrian.olap.Member, mondrian.olap.Hierarchy, java.util.List<mondrian.olap.Member>)
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 CELL_FORMATTER_SCRIPT_LANGUAGE_ORDINAL
public static final Property CELL_FORMATTER_SCRIPT_LANGUAGE
Despite its name, this is a member property.
public static final int CELL_FORMATTER_SCRIPT_ORDINAL
public static final Property CELL_FORMATTER_SCRIPT
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
Caution: Level depth of members in parent-child hierarchy isn't from their levels. It's calculated from the underlying data dynamically.
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 SCENARIO_ORDINAL
public static final Property SCENARIO
public static final int DISPLAY_FOLDER_ORDINAL
public static final Property DISPLAY_FOLDER
public static final int LANGUAGE_ORDINAL
public static final Property LANGUAGE
public static final int FORMAT_EXP_ORDINAL
public static final Property FORMAT_EXP
public static final int ACTION_TYPE_ORDINAL
public static final Property ACTION_TYPE
public static final int DRILLTHROUGH_COUNT_ORDINAL
public static final Property DRILLTHROUGH_COUNT
Note that this property may be expensive to compute for some cubes.
public static final EnumeratedValues<Property> enumeration
protected Property(String name, Property.Datatype type, int ordinal, boolean internal, boolean member, boolean cell, String description)
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)
Copyright © 2019 Hitachi Vantara. All rights reserved.