Package mondrian.olap

Class MemberProperty

  • All Implemented Interfaces:
    Walkable

    public class MemberProperty
    extends QueryPart
    Member property or solve order specification.
    Author:
    jhyde, 1 March, 2000
    • Constructor Detail

      • MemberProperty

        public MemberProperty​(java.lang.String name,
                              Exp exp)
    • Method Detail

      • clone

        protected java.lang.Object clone()
        Overrides:
        clone in class java.lang.Object
      • 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 not Walkable are ignored.
        Specified by:
        getChildren in interface Walkable
        Overrides:
        getChildren in class QueryPart
      • 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.
        Overrides:
        unparse in class QueryPart
        Parameters:
        pw - writer
      • get

        static Exp get​(MemberProperty[] a,
                       java.lang.String name)
        Retrieves a property by name from an array.