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

B14348-04

oracle.olapi.data.source
Class PositionDefinition

java.lang.Object
  extended byoracle.olapi.data.source.SourceDefinition
      extended byoracle.olapi.data.source.ImmutableDefinition
          extended byoracle.olapi.data.source.DerivedDefinition
              extended byoracle.olapi.data.source.PositionDefinition

public final class PositionDefinition
extends DerivedDefinition

A DerivedDefinition that contains information about a Source that was returned by the position() method of a Source.


Method Summary
 boolean isZeroBased()
          Indicates whether the position of the first element of a Source is represented as 0 (zero) or as 1.
 
Methods inherited from class oracle.olapi.data.source.DerivedDefinition
getBase
 
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

isZeroBased

public final boolean isZeroBased()
Indicates whether the position of the first element of a Source is represented as 0 (zero) or as 1.

Returns:
true when the position of the first element is represented as 0, or false when the position of the first element is represented as 1.

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

B14348-04

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