|
Oracle OLAP Java API Reference 10g Release 1 (10.1) B10994-01 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--oracle.olapi.metadata.BaseMetadataObject
|
+--oracle.olapi.metadata.mtm.MtmObject
|
+--oracle.olapi.metadata.mtm.MtmSourceMap
|
+--oracle.olapi.metadata.mtm.MtmAttributeMap
|
+--oracle.olapi.metadata.mtm.MtmDerivedAttributeMap
An MtmAttributeMap for an MdmAttribute whose values are not explicitly stored but are derived from a column or columns in a dimension table. The MdmAttribute values can be different for each MdmDimension to which the MdmAttribute applies.
There are several types of MtmDerivedAttributeMap objects. You can discover the type of an MtmDerivedAttributeMap by calling its getDerivedAttributeType method. Each type maps the tables and expressions for an MdmAttribute that records different information. The following types are supported:
MdmAttribute records the ancestor elements for each MdmDimension element, within each hierarchy.MdmAttribute records the parent element for each MdmDimension element, within each hierarchy.MdmAttribute records the level for each MdmDimension element, within each hierarchy.MdmAttribute records, for each MdmDimension element, integers that indicate the distance from the top of each hierarchy to which the element belongs. The top level is indicated by zero (0), the next level is one (1), and so on.MdmAttribute records the local value for each MdmDimension element. The local value is the level value of the dimension. For example, 106 is the local value of an element of the SHIP_TO level of the SHIPMENTS_ROLLUP hierarchy of the CUSTOMER dimension. In the OLAP API, MdmDimension element values are unique values, which include the name of the hierarchy and the level and the local value, separated by a value separation string, as in SHIPMENTS_ROLLUP::SHIP_TO::106.| Method Summary | |
java.lang.Object |
acceptVisitor(MtmObjectVisitor visitor, java.lang.Object context)Calls the visitMtmDerivedAttributeMap method of the specified MtmObjectVisitor and passes that method this MtmDerivedAttributeMap and the specified context object. |
java.lang.String |
getDerivedAttributeType()Gets the type of this MtmDerivedAttributeMap. |
| Methods inherited from class oracle.olapi.metadata.mtm.MtmSourceMap |
getMdmSource, setMdmSource |
| Methods inherited from class oracle.olapi.metadata.BaseMetadataObject |
getID |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public java.lang.Object acceptVisitor(MtmObjectVisitor visitor,
java.lang.Object context)
visitMtmDerivedAttributeMap method of the specified MtmObjectVisitor and passes that method this MtmDerivedAttributeMap and the specified context object.visitor - An MtmObjectVisitor.context - An Object.Object returned by the visitMtmDerivedAttributeMap method.public java.lang.String getDerivedAttributeType()
MtmDerivedAttributeMap.String that indicates the type of this MtmDerivedAttributeMap. Possible values are Ancestors, Parent, Level, LevelDepth, and LocalValue. See the description of this class for information about these types.
|
Oracle OLAP Java API Reference 10g Release 1 (10.1) B10994-01 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||