Package mondrian.olap
Class MemberProperty
- java.lang.Object
-
- mondrian.olap.QueryPart
-
- mondrian.olap.MemberProperty
-
-
Constructor Summary
Constructors Constructor Description MemberProperty(java.lang.String name, Exp exp)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Object
clone()
(package private) static MemberProperty[]
cloneArray(MemberProperty[] x)
(package private) static Exp
get(MemberProperty[] a, java.lang.String name)
Retrieves a property by name from an array.java.lang.Object[]
getChildren()
Returns an array of the object's children.Exp
getExp()
java.lang.String
getName()
(package private) void
resolve(Validator validator)
void
unparse(java.io.PrintWriter pw)
Writes a string representation of this parse tree node to the given writer.
-
-
-
Constructor Detail
-
MemberProperty
public MemberProperty(java.lang.String name, Exp exp)
-
-
Method Detail
-
clone
protected java.lang.Object clone()
- Overrides:
clone
in classjava.lang.Object
-
cloneArray
static MemberProperty[] cloneArray(MemberProperty[] x)
-
resolve
void resolve(Validator validator)
-
getExp
public Exp getExp()
-
getName
public java.lang.String getName()
-
getChildren
public java.lang.Object[] getChildren()
Description copied from interface:Walkable
Returns an array of the object's children. Those which are notWalkable
are ignored.- Specified by:
getChildren
in interfaceWalkable
- Overrides:
getChildren
in classQueryPart
-
unparse
public void unparse(java.io.PrintWriter pw)
Description copied from class:QueryPart
Writes a string representation of this parse tree node to the given writer.
-
get
static Exp get(MemberProperty[] a, java.lang.String name)
Retrieves a property by name from an array.
-
-