Oracle® OLAP Java API Reference
10g Release 2 (10.2)

B14348-01

oracle.olapi.data.source
Class SourceDefinition

java.lang.Object
  |
  +--oracle.olapi.data.source.SourceDefinition
Direct Known Subclasses:
DynamicDefinition, HiddenDefinition, ImmutableDefinition

public abstract class SourceDefinition
extends java.lang.Object

Contains information about the origins of the Source for which it was created. Whenever a Source is created, Oracle OLAP also creates a SourceDefinition for that Source. Every Source has a paired SourceDefinition.


Method Summary
DataProvider getDataProvider()
Returns the DataProvider that you or Oracle OLAP used to produce the Source that is paired to this SourceDefinition.
Model getModel()
Gets the Model for the Source for the SourceDefinition.
Source getSource()
Gets the Source for this SourceDefinition.

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail

getDataProvider

public final DataProvider getDataProvider()
Returns the DataProvider that you or Oracle OLAP used to produce the Source that is paired to this SourceDefinition.
Returns:
The DataProvider that you or Oracle OLAP used to produce the Source that is paired to this SourceDefinition.

getModel

public Model getModel()
Gets the Model for the Source for the SourceDefinition. For all subclasses of SourceDefinition except ModelSolutionDefinition, this method returns null.
Returns:
The Model for the Source for the SourceDefinition, or null if the Source does not have a Model.

getSource

public final Source getSource()
Gets the Source for this SourceDefinition.
Returns:
The Source for this SourceDefinition.

Oracle® OLAP Java API Reference
10g Release 2 (10.2)

B14348-01

Copyright © 2002, 2005, Oracle. All rights reserved.