com.ibm.tivoli.maximo.report.expr

Class CaseWhenCollector

  • All Implemented Interfaces:
    Node.Visitor


    public class CaseWhenCollector
    extends ValueCollector
    Collector that will collect all expressions in a "case when" block. ie, if you have an expression like
     case when a>b then 1 else 0 end
     
    then This collector will return a group containing
     a > b
     
    • Constructor Detail

      • CaseWhenCollector

        public CaseWhenCollector()
    • Method Detail

      • accept

        public boolean accept(Node n)
                       throws java.rmi.RemoteException,
                              MXException
        Description copied from class: Collector
        Return true if this node can be accepted by the Collector
        Overrides:
        accept in class ValueCollector
        Returns:
        Throws:
        java.rmi.RemoteException
        MXException