|
Oracle® OLAP Java API Reference 11g Release 2 (11.2) E10794-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.olapi.data.source.Qualification
oracle.olapi.data.source.LiteralQualification
public class LiteralQualification
A Qualification that specifies a literal value, such as
an Integer, Boolean,
or String literal, that identifies an element of a
Source for an Assignment of a
Model.
An example is the following, which creates a
LiteralQualification that specifies a member of the
Product dimension, and then assigns a value for that member to the
Model for the Unit Price measure.
In the example, productDim is the Source
for the MdmPrimaryDimension for the Product dimension,
unitPriceModel is the MdmMeasureModel
for the Unit Price measure, and dp is the
DataProvider.
LiteralQualification prodQual = new LiteralQualification(
productDim,
"PRODUCT_PRIMARY::FAMILY::OS");
unitPriceModel.assign(prodQual, dp.createConstantSource(75));
| Constructor Summary | |
|---|---|
LiteralQualification(Source qualifiedSource,
java.lang.Object literal)
Creates a LiteralQualification object that qualifies a
Source by specifying a single element of that
Source. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getLiteral()
Gets the literal value of this LiteralQualification. |
| Methods inherited from class oracle.olapi.data.source.Qualification |
|---|
getQualifiedSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LiteralQualification(Source qualifiedSource,
java.lang.Object literal)
LiteralQualification object that qualifies a
Source by specifying a single element of that
Source.
The Source must be an input of the Model
associated with the Assignment with which the
LiteralQualification is associated.
qualifiedSource - A Source that has the element
for which you want to assign a value.literal - The literal value of the qualifiedSource
element for which you want to assign a value.| Method Detail |
|---|
public final java.lang.Object getLiteral()
LiteralQualification.
Object that represents the literal value
of the qualified Source of this
LiteralQualification.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||