Package mondrian.olap
Class MemberProperty
- java.lang.Object
-
- mondrian.olap.QueryPart
-
- mondrian.olap.MemberProperty
-
-
Constructor Summary
Constructors Constructor Description MemberProperty(String name, Exp exp)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Object
clone()
(package private) static MemberProperty[]
cloneArray(MemberProperty[] x)
(package private) static Exp
get(MemberProperty[] a, String name)
Retrieves a property by name from an array.Object[]
getChildren()
Returns an array of the object's children.Exp
getExp()
String
getName()
(package private) void
resolve(Validator validator)
void
unparse(PrintWriter pw)
Writes a string representation of this parse tree node to the given writer.
-
-
-
Method Detail
-
cloneArray
static MemberProperty[] cloneArray(MemberProperty[] x)
-
resolve
void resolve(Validator validator)
-
getExp
public Exp getExp()
-
getName
public String getName()
-
getChildren
public 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(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, String name)
Retrieves a property by name from an array.
-
-