com.tonbeller.jpivot.olap.mdxparse
Class CompoundId

java.lang.Object
  extended by com.tonbeller.jpivot.olap.mdxparse.CompoundId
All Implemented Interfaces:
Exp

public class CompoundId
extends java.lang.Object
implements Exp

can be any MDX object


Constructor Summary
CompoundId(java.lang.String name)
           
CompoundId(java.lang.String name, boolean isKey)
          c'tor
 
Method Summary
 void accept(ExpVisitor visitor)
          Exp is visitable
 void append(java.lang.String name)
           
 void append(java.lang.String name, boolean isKey)
           
 java.lang.Object clone()
           
 java.lang.String toMdx()
          format to MDX
 java.lang.String[] toStringArray()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompoundId

public CompoundId(java.lang.String name,
                  boolean isKey)
c'tor

Parameters:
name -
isKey -

CompoundId

public CompoundId(java.lang.String name)
Method Detail

append

public void append(java.lang.String name,
                   boolean isKey)

append

public void append(java.lang.String name)

toStringArray

public java.lang.String[] toStringArray()

toMdx

public java.lang.String toMdx()
format to MDX

Specified by:
toMdx in interface Exp
See Also:
Exp

clone

public java.lang.Object clone()
Specified by:
clone in interface Exp
Overrides:
clone in class java.lang.Object
See Also:
Object.clone()

accept

public void accept(ExpVisitor visitor)
Description copied from interface: Exp
Exp is visitable

Specified by:
accept in interface Exp
See Also:
Exp.accept(com.tonbeller.jpivot.olap.mdxparse.ExpVisitor)