Package com.sun.jdo.spi.persistence.support.sqlstore

Examples of com.sun.jdo.spi.persistence.support.sqlstore.RetrieveDesc


        }
        _t = __t175;
        _t = _t.getNextSibling();
        if ( inputState.guessing==0 ) {
         
          RetrieveDesc to = (RetrieveDesc)usedRD.get(var.getText());
          if (to == null)
          {
          to = createRetrieveDesc(var.getText(), (ClassType)var.getJQLType());
          usedRD.put(var.getText(), to);
          }
          var.setRetrieveDesc(to);
         
        }
      }
      else if ((_t.getType()==NOT_IN)) {
        AST __t177 = _t;
        notIn = _t==ASTNULL ? null :(JQLAST)_t;
        match(_t,NOT_IN);
        _t = _t.getFirstChild();
        notInArg = _t==ASTNULL ? null : (JQLAST)_t;
        checkRetrieveDesc(_t,usedRD);
        _t = _retTree;
        _t = __t177;
        _t = _t.getNextSibling();
        if ( inputState.guessing==0 ) {
         
          notIn.setRetrieveDesc(notInArg.getRetrieveDesc());
         
        }
      }
      else if ((_t.getType()==FIELD_ACCESS)) {
        AST __t178 = _t;
        fa = _t==ASTNULL ? null :(JQLAST)_t;
        match(_t,FIELD_ACCESS);
        _t = _t.getFirstChild();
        expr4 = _t==ASTNULL ? null : (JQLAST)_t;
        checkRetrieveDesc(_t,usedRD);
        _t = _retTree;
        i = (JQLAST)_t;
        match(_t,IDENT);
        _t = _t.getNextSibling();
        _t = __t178;
        _t = _t.getNextSibling();
        if ( inputState.guessing==0 ) {
         
          fa.setRetrieveDesc(expr4.getRetrieveDesc());
          i.setRetrieveDesc(expr4.getRetrieveDesc());
         
        }
      }
      else if ((_t.getType()==NAVIGATION)) {
        AST __t179 = _t;
        n = _t==ASTNULL ? null :(JQLAST)_t;
        match(_t,NAVIGATION);
        _t = _t.getFirstChild();
        checkRetrieveDesc(_t,usedRD);
        _t = _retTree;
        JQLAST tmp72_AST_in = (JQLAST)_t;
        match(_t,IDENT);
        _t = _t.getNextSibling();
        _t = __t179;
        _t = _t.getNextSibling();
        if ( inputState.guessing==0 ) {
         
          RetrieveDesc to = (RetrieveDesc)usedRD.get(n.getText());
          if (to == null)
          {
          to = createRetrieveDesc(n.getText(), (ClassType)n.getJQLType());
          usedRD.put(n.getText(), to);
          }
View Full Code Here


        public void addConstraint(String name, int operation, Object value)
        {
            String thirdArgRepr = null;
            if (value instanceof RetrieveDesc)
            {
                RetrieveDesc foreignConstraint = (RetrieveDesc)value;
                thirdArgRepr = JQLAST.getRetrieveDescRepr(foreignConstraint);
                value = unwrap(foreignConstraint);
            }
            else
            {
View Full Code Here

TOP

Related Classes of com.sun.jdo.spi.persistence.support.sqlstore.RetrieveDesc

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.