Skip navigation links

Oracle® OLAP Java API Reference
11g Release 1 (11.1)

B28128-01


oracle.olapi.syntax
Class SymmetricCondition

java.lang.Object
  extended by oracle.olapi.syntax.SyntaxObject
      extended by oracle.olapi.syntax.SymmetricCondition


public final class SymmetricCondition
extends SyntaxObject

A SyntaxObject that represents a condition where the members of a collection of MdmDimension objects are specified by a corresponding collection of Condition objects. A SymmetricCondition is similar to a SQL WHERE clause.


Constructor Summary
SymmetricCondition(java.util.List<MdmPrimaryDimension> dimensions, java.util.List<Condition> conditions)
          Creates a SymmetricCondition with the specified dimensions and conditions.
SymmetricCondition(MdmPrimaryDimension[] dimensions, Condition[] conditions)
          Creates a SymmetricCondition with the specified dimensions and conditions.

 

Method Summary
 Condition[] getConditions()
          Gets the Condition objects that are associated with this SymmetricCondition.
 MdmPrimaryDimension[] getDimensions()
          Gets the MdmPrimaryDimension objects that are associated with this SymmetricCondition.
 java.lang.Object visit(SyntaxObjectVisitor visitor, java.lang.Object context)
          Calls the visitSymmetricCondition method of the SyntaxObjectVisitor and passes that method this SymmetricCondition and an Object.

 

Methods inherited from class oracle.olapi.syntax.SyntaxObject
fromSyntax, fromSyntax, fromSyntax, fromSyntax, fromSyntax, isValid, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax

 

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

 

Constructor Detail

SymmetricCondition

public SymmetricCondition(MdmPrimaryDimension[] dimensions,
                          Condition[] conditions)
Creates a SymmetricCondition with the specified dimensions and conditions. Each dimension must have a corresponding condition. The order of the conditions must match the order of the dimensions.
Parameters:
dimensions - An array of MdmPrimaryDimension objects.
conditions - An array of Condition objects. Each Condition evaluates to a selection of dimension members. The number of elements in this array must match the number of elements in the dimensions array. Each Condition element must specify members of the corresponding MdmPrimaryDimension element of the dimensions array.

SymmetricCondition

public SymmetricCondition(java.util.List<MdmPrimaryDimension> dimensions,
                          java.util.List<Condition> conditions)
Creates a SymmetricCondition with the specified dimensions and conditions. Each dimension must have a corresponding condition. The order of the conditions must match the order of the dimensions.
Parameters:
dimensions - A List of MdmPrimaryDimension objects.
conditions - A List of Condition objects. Each Condition evaluates to a selection of dimension members. The number of elements in this list must match the number of elements in the dimensions list. Each Condition element must specify members of the corresponding MdmPrimaryDimension element of the dimensions list.

Method Detail

getDimensions

public MdmPrimaryDimension[] getDimensions()
Gets the MdmPrimaryDimension objects that are associated with this SymmetricCondition.
Returns:
An array of the MdmPrimaryDimension objects of this SymmetricCondition.

getConditions

public Condition[] getConditions()
Gets the Condition objects that are associated with this SymmetricCondition.
Returns:
An array of the Condition objects of this SymmetricCondition.

visit

public java.lang.Object visit(SyntaxObjectVisitor visitor,
                              java.lang.Object context)
Calls the visitSymmetricCondition method of the SyntaxObjectVisitor and passes that method this SymmetricCondition and an Object.
Specified by:
visit in class SyntaxObject
Parameters:
visitor - A SyntaxObjectVisitor.
context - An Object.
Returns:
The Object returned by the visitSymmetricCondition method.

Skip navigation links

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