public final class Qualifier extends DataObject
DataObject
that represents a dimension member for a QDRExpression
. A Qualifier
has an associated MdmPrimaryDimension
and a TypedExpression
that evaluates to a member of the dimension.Constructor and Description |
---|
Qualifier(MdmPrimaryDimension dimension, TypedExpression expression)
Creates a
Qualifier that has the specified dimension member. |
Modifier and Type | Method and Description |
---|---|
MdmPrimaryDimension |
getDimension()
Gets the dimension that is associated with this
Qualifier . |
java.lang.String |
getDimensionID()
Gets the ID of the dimension that is associated with this
Qualifier . |
TypedExpression |
getExpression()
Gets the expression of this
Qualifier , which evaluates to a dimension member. |
boolean |
isCompositeObject()
Indicates whether this
Qualifier contains other SyntaxObject objects. |
java.lang.Object |
visit(SyntaxObjectVisitor visitor, java.lang.Object context)
Calls the
visitQualifier method of the SyntaxObjectVisitor and passes that method this Qualifier and an Object . |
equals, equals, fromSyntax, fromSyntax, fromSyntax, fromSyntax, fromSyntax, isValid, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax
public Qualifier(MdmPrimaryDimension dimension, TypedExpression expression)
Qualifier
that has the specified dimension member.dimension
- An MdmPrimaryDimension
.expression
- A TypedExpression
that evaluates to a member of the dimension.public java.lang.Object visit(SyntaxObjectVisitor visitor, java.lang.Object context)
visitQualifier
method of the SyntaxObjectVisitor
and passes that method this Qualifier
and an Object
.visit
in class SyntaxObject
visitor
- A SyntaxObjectVisitor
.context
- An Object
.Object
returned by the visitQualifier
method.public MdmPrimaryDimension getDimension()
Qualifier
.MdmPrimaryDimension
.public java.lang.String getDimensionID()
Qualifier
.String
that contains the ID of the MdmPrimaryDimension
associated with this Qualifier
.public TypedExpression getExpression()
Qualifier
, which evaluates to a dimension member.TypedExpression
that evaluates to a member of the specified dimension.public boolean isCompositeObject()
Qualifier
contains other SyntaxObject
objects. Because a Qualifier
contains a TypedExpression
, this method returns true
.boolean
that is true
if this Qualifier
contains other SyntaxObject
objects or false
if it does not.