|
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.syntax.SyntaxObject
oracle.olapi.syntax.SymmetricConditionElement
public final class SymmetricConditionElement
A SyntaxObject that specifies a collection of the members
of a dimension for a SymmetricCondition.
You use a SymmetricCondition as the parameter for the
method of an setPrecomputeCondition(SymmetricCondition cond)AWCubeOrganization.
When you create a SymmetricConditionElement, you specify an
MdmPrimaryDimension and a qualifier or a collection of
MdmDimensionLevel objects.
The qualifier is one of the constant fields of this class, which specify
either all of the members of a dimension or none of the members.
The collection of MdmDimensionLevel objects can have one or
more MdmDimensionLevel objects.
For compatibility with the SymmetricCondition class in the
11.1 release of the Oracle OLAP Java API, you can also specify a
Condition when creating a
SymmetricConditionElement.
The Condition is an Expression that specifies
the dimension members.
For an 11.2 application, use one of the other constructors.
| Field Summary | |
|---|---|
static java.lang.String |
ALL
A constant that specifies all of the members of a dimension. |
static java.lang.String |
NONE
A constant that specifies none of the members of a dimension. |
| Constructor Summary | |
|---|---|
SymmetricConditionElement(MdmPrimaryDimension dimension,
Condition condition)
For compatibility with the 11.1 Oracle OLAP Java API, creates a SymmetricConditionElement with the specified
dimension and Condition. |
|
SymmetricConditionElement(MdmPrimaryDimension dimension,
java.util.List<MdmDimensionLevel> levels)
Creates a SymmetricConditionElement with the specified
dimension and dimension levels. |
|
SymmetricConditionElement(MdmPrimaryDimension dimension,
MdmDimensionLevel[] levels)
Creates a SymmetricConditionElement with the specified
dimension and dimension levels. |
|
SymmetricConditionElement(MdmPrimaryDimension dimension,
java.lang.String qualifier)
Creates a SymmetricConditionElement with the specified
dimension and qualifier. |
|
| Method Summary | |
|---|---|
Condition |
getCondition()
Gets the Condition that is associated with this
SymmetricConditionElement. |
MdmPrimaryDimension |
getDimension()
Gets the MdmPrimaryDimension that is associated with
this SymmetricConditionElement. |
MdmDimensionLevel[] |
getLevels()
Gets the MdmDimensionLevel objects that are associated with
this SymmetricConditionElement. |
java.lang.String |
getQualifier()
Gets the qualifier that is associated with this SymmetricConditionElement. |
java.lang.Object |
visit(SyntaxObjectVisitor visitor,
java.lang.Object context)
Calls the visitSymmetricConditionElement method of the
SyntaxObjectVisitor and passes that method this
SymmetricConditionElement and an Object. |
| Methods inherited from class oracle.olapi.syntax.SyntaxObject |
|---|
equals, equals, fromSyntax, fromSyntax, fromSyntax, fromSyntax, fromSyntax, isValid, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ALL
public static final java.lang.String NONE
| Constructor Detail |
|---|
public SymmetricConditionElement(MdmPrimaryDimension dimension,
java.lang.String qualifier)
SymmetricConditionElement with the specified
dimension and qualifier.
The qualifier is one of the constants of this class, either
SymmetricConditionElement.ALL or
SymmetricConditionElement.NONE.
dimension - An MdmPrimaryDimension.qualifier - A String that is one of the constants
of this class.
public SymmetricConditionElement(MdmPrimaryDimension dimension,
Condition condition)
SymmetricConditionElement with the specified
dimension and Condition.
For an 11.2 application, use one of the other constructors.
dimension - An MdmPrimaryDimension.condition - A Condition that specifies members of
the dimension.
public SymmetricConditionElement(MdmPrimaryDimension dimension,
MdmDimensionLevel[] levels)
SymmetricConditionElement with the specified
dimension and dimension levels.
dimension - An MdmPrimaryDimension.levels - An array of MdmDimensionLevel objects.
public SymmetricConditionElement(MdmPrimaryDimension dimension,
java.util.List<MdmDimensionLevel> levels)
SymmetricConditionElement with the specified
dimension and dimension levels.
dimension - An MdmPrimaryDimension.levels - A List of MdmDimensionLevel
objects.| Method Detail |
|---|
public MdmPrimaryDimension getDimension()
MdmPrimaryDimension that is associated with
this SymmetricConditionElement.
MdmPrimaryDimension object of this
SymmetricConditionElement.public Condition getCondition()
Condition that is associated with this
SymmetricConditionElement.
Condition object of this
SymmetricConditionElement.public MdmDimensionLevel[] getLevels()
MdmDimensionLevel objects that are associated with
this SymmetricConditionElement.
MdmDimensionLevel objects of this
SymmetricConditionElement.public java.lang.String getQualifier()
SymmetricConditionElement.
A qualifier is one of the constant fields of this class.
String that contains the value of one of
constant fields of this class or null if this
SymmetricConditionElement does not have a
qualifier.
public java.lang.Object visit(SyntaxObjectVisitor visitor,
java.lang.Object context)
visitSymmetricConditionElement method of the
SyntaxObjectVisitor and passes that method this
SymmetricConditionElement and an Object.
visit in class SyntaxObjectvisitor - A SyntaxObjectVisitor.context - An Object.
Object returned by the
visitSymmetricConditionElement method.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||