Package org.jboss.ejb.plugins.cmp.ejbql

Examples of org.jboss.ejb.plugins.cmp.ejbql.Node


/*      */
/*      */   private ASTPath getPathFromChildren(Node selectFunction)
/*      */   {
/* 1806 */     for (int childInd = 0; childInd < selectFunction.jjtGetNumChildren(); childInd++)
/*      */     {
/* 1808 */       Node child = selectFunction.jjtGetChild(childInd);
/* 1809 */       if ((child instanceof ASTPath))
/*      */       {
/* 1811 */         return (ASTPath)child;
/*      */       }
/* 1813 */       if (!(child instanceof SelectFunction))
/*      */         continue;
/* 1815 */       Node path = getPathFromChildren(child);
/* 1816 */       if (path != null)
/*      */       {
/* 1818 */         return (ASTPath)path;
/*      */       }
/*      */     }
View Full Code Here


/*      */       }
/*      */
/*      */     }
/* 1853 */     else if ((this.selectObject instanceof SelectFunction))
/*      */     {
/* 1855 */       Node funcNode = (Node)this.selectObject;
/* 1856 */       ASTPath fieldPath = getPathFromChildren(funcNode);
/* 1857 */       if (fieldPath.getCMPField() == cmpField)
/*      */       {
/* 1859 */         selected = true;
/*      */       }
View Full Code Here

TOP

Related Classes of org.jboss.ejb.plugins.cmp.ejbql.Node

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.