mondrian.olap
Class MemberProperty

java.lang.Object
  extended by mondrian.olap.QueryPart
      extended by mondrian.olap.MemberProperty
All Implemented Interfaces:
Walkable

public class MemberProperty
extends QueryPart

Member property or solve order specification.

 

Constructor Summary
MemberProperty(String name, Exp exp)
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemberProperty

public MemberProperty(String name,
                      Exp exp)
Method Detail

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.


SourceForge.net_Logo