mondrian.olap
Class MemberProperty
java.lang.Object
mondrian.olap.QueryPart
mondrian.olap.MemberProperty
- All Implemented Interfaces:
- Walkable
public class MemberProperty
- extends QueryPart
Member property or solve order specification.
-
-
MemberProperty
public MemberProperty(String name,
Exp exp)
clone
protected Object clone()
- Overrides:
clone
in class Object
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 not
Walkable
are ignored.
- Specified by:
getChildren
in interface Walkable
- Overrides:
getChildren
in class QueryPart
unparse
public void unparse(PrintWriter pw)
- Description copied from class:
QueryPart
- Writes a string representation of this parse tree
node to the given writer.
- Overrides:
unparse
in class QueryPart
- Parameters:
pw
- writer
get
static Exp get(MemberProperty[] a,
String name)
- Retrieves a property by name from an array.