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 Objectclone()(package private) static MemberProperty[]cloneArray(MemberProperty[] x)(package private) static Expget(MemberProperty[] a, String name)Retrieves a property by name from an array.Object[]getChildren()Returns an array of the object's children.ExpgetExp()StringgetName()(package private) voidresolve(Validator validator)voidunparse(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:WalkableReturns an array of the object's children. Those which are notWalkableare ignored.- Specified by:
getChildrenin interfaceWalkable- Overrides:
getChildrenin classQueryPart
-
unparse
public void unparse(PrintWriter pw)
Description copied from class:QueryPartWrites 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.
-
-