|
Oracle® OLAP Java API Reference 10g Release 2 (10.2.0.4) B14348-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.olapi.metadata.BaseMetadataObject
oracle.olapi.metadata.mtm.MtmObject
oracle.olapi.metadata.mtm.MtmExpression
oracle.olapi.metadata.mtm.MtmCompoundExpression
An MtmExpression that is made up of two or more
MtmExpression objects, which are the
subexpressions of the MtmCompoundExpression.
This class usually represents a multicolumn level, in which the
mapping of a value requires more than one relational column.
For example, suppose a time hierarchy draws values from Year,
Quarter, and Month columns.
The values of Month do not include a Year
component (that is, a value would be JAN, not
JAN-99).
Therefore, to represent a month, you must specify one value
from the Year column and one value from the Month column.
In this case, the Month level is represented by an
MtmCompoundExpression containing two columns,
one for Year and one for Month.
Typically, the concatenation string that brings the two columns
together is a double colon (::), so one value of an
MtmColumnExpression that represents the Month level
from our example might be 1999::JAN.
| Method Summary | |
java.lang.Object |
acceptVisitor(MtmObjectVisitor visitor,
java.lang.Object context)
Calls the visitMtmCompoundExpression method of
the specified MtmObjectVisitor and passes that method this
MtmCompoundExpression and the specified
context object. |
java.lang.String |
getConcatenationString()
Gets the concatenation string for this MtmCompoundExpression. |
java.util.List |
getSubExpressions()
Gets the list of subexpressions for this MtmCompoundExpression. |
void |
setConcatenationString(java.lang.String newConcatenationString)
Specifies the concatenation string for this MtmCompoundExpression. |
| 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)
visitMtmCompoundExpression method of
the specified MtmObjectVisitor and passes that method this
MtmCompoundExpression and the specified
context object.
acceptVisitor in class MtmObjectvisitor - An MtmObjectVisitor.context - An Object.
Object returned by the
visitMtmCompoundExpression method.public java.lang.String getConcatenationString()
MtmCompoundExpression.
String that is the concatenation string
for this MtmCompoundExpression.public java.util.List getSubExpressions()
MtmCompoundExpression.
List of MtmExpression objects that
are the subexpressions for this MtmCompoundExpression.public void setConcatenationString(java.lang.String newConcatenationString)
MtmCompoundExpression.
newConcatenationString - A String that specifies the
concatenation string for this
MtmCompoundExpression.
|
Oracle® OLAP Java API Reference 10g Release 2 (10.2.0.4) B14348-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||