|
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.data.source.SourceDefinition
oracle.olapi.data.source.ImmutableDefinition
oracle.olapi.data.source.ConstantListDefinition
An ImmutableDefinition that contains information
about a Source that was returned by a
createListSource or createConstantSource
method of a DataProvider.
The elements of a Source returned by those methods are
contained in a List object.
For a Source returned by the
createListSource(Object[][] tuples) method,
the List contains other List objects,
one for each tuple.
| Method Summary | |
Model |
getCalculationModel()
Gets the Model for the Source for the
ConstantListDefinition. |
java.util.List |
getElements()
Gets a List of elements of the Source
for the ConstantListDefinition. |
java.util.List |
getElements(int colNum)
Gets the specified List of the elements of the
Source for the ConstantListDefinition. |
java.util.List |
getTuples()
Gets a List of the elements of the Source
for the ConstantListDefinition. |
| Methods inherited from class oracle.olapi.data.source.SourceDefinition |
getDataProvider, getModel, getSource |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public final Model getCalculationModel()
Model for the Source for the
ConstantListDefinition.
Model for the Source for the
ConstantListDefinition.public final java.util.List getElements()
List of elements of the Source
for the ConstantListDefinition.
If the Source for the
ConstantListDefinition was returned by any
method other than createListSource(Object[][] tuples),
then the elements of the Source are contained in a
single List.
This method is the equivalent of getElements(0).
List that has elements of the
Source for the
ConstantListDefinition.public final java.util.List getElements(int colNum)
List of the elements of the
Source for the ConstantListDefinition.
If the Source for the
ConstantListDefinition was returned by any
method other than createListSource(Object[][] tuples),
then the ConstantListDefinition has only one
List, which this method returns, and the
colNum value has no effect.
If the Source was returned by the
createListSource(Object[][] tuples) method,
then the colNum value specifies a List
that is a component of the List returned by the
getTuples method.
colNum - An integer that specifies a component List
of the List returned by the
getTuples method.
List that has the specified elements of
the Source for the
ConstantListDefinition.public final java.util.List getTuples()
List of the elements of the Source
for the ConstantListDefinition.
If the Source for the
ConstantListDefinition was returned by the
createListSource(Object[][] tuples) method,
then the List contains List objects.
The component List objects contain the elements of
the Source.
If the Source was returned by any method other than
createListSource(Object[][] tuples), then the
List contains the elements of the Source.
List that has the elements of
the Source for the
ConstantListDefinition or a List
that has component List objects that have
the elements of the Source.
|
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 | |||||||||