/** * Set the state of this variable's projection. <code>true</code> means * that this variable is part of the current projection as defined by * the current constraint expression, otherwise the current projection * for this variable should be <code>false</code>. * * @param state <code>true</code> if the variable is part of the current * projection, <code>false</code> otherwise. * @param all If <code>true</code>, set the Project property of all the * members (and their children, and so on). * @see CEEvaluator */ @Override public void setProject(boolean state, boolean all) { super.setProject(state,all); if (all) for (Enumeration e = vars.elements(); e.hasMoreElements();) { ServerMethods sm = (ServerMethods) e.nextElement(); sm.setProject(state, all); } }
DAPNode dn = (DAPNode) bts.pop(); ServerMethods ct = (ServerMethods) dn; ct.setProject(true, false); bt.setProject(true, true);
ct.setProject(true, false); bt.setProject(true, true);
/** * Set the state of this variable's projection. <code>true</code> means * that this variable is part of the current projection as defined by * the current constraint expression, otherwise the current projection * for this variable should be <code>false</code>. * * @param state <code>true</code> if the variable is part of the current * projection, <code>false</code> otherwise. * @param all If <code>true</code>, set the Project property of all the * members (and their children, and so on). * @see CEEvaluator */ @Override public void setProject(boolean state, boolean all) { setProjected(state); if (all) for (Enumeration e = varTemplate.elements(); e.hasMoreElements();) { ServerMethods sm = (ServerMethods) e.nextElement(); sm.setProject(state); } }
/** * Set the state of this variable's projection. <code>true</code> means * that this variable is part of the current projection as defined by * the current constraint expression, otherwise the current projection * for this variable should be <code>false</code>. * * @param state <code>true</code> if the variable is part of the current * projection, <code>false</code> otherwise. * @param all If <code>true</code>, set the Project property of all the * members (and their children, and so on). * @see CEEvaluator */ @Override public void setProject(boolean state, boolean all) { setProjected(state); if (all) { // System.out.println("SDGrid:setProject: Blindly setting Project"); ((SDArray) arrayVar).setProject(state); for (Enumeration e = mapVars.elements(); e.hasMoreElements();) { ServerMethods sm = (ServerMethods) e.nextElement(); sm.setProject(state); } } }
/** * Set the state of this variable's projection. <code>true</code> means * that this variable is part of the current projection as defined by * the current constraint expression, otherwise the current projection * for this variable should be <code>false</code>. * * @param state <code>true</code> if the variable is part of the current * projection, <code>false</code> otherwise. * @param all This parameter has no effect for this type of variable. * @see CEEvaluator */ public void setProject(boolean state, boolean all) { setProjected(state); PrimitiveVector vals = getPrimitiveVector(); ((ServerMethods) (vals.getTemplate())).setProject(state, all); }
/** * Set the state of this variable's projection. <code>true</code> means * that this variable is part of the current projection as defined by * the current constraint expression, otherwise the current projection * for this variable should be <code>false</code>. * * @param state <code>true</code> if the variable is part of the current * projection, <code>false</code> otherwise. * @param all This parameter has no effect for this type of variable. * @see CEEvaluator */ @Override public void setProject(boolean state, boolean all) { setProjected(state); PrimitiveVector vals = getPrimitiveVector(); ((ServerMethods) (vals.getTemplate())).setProject(state, all); // if(vals instanceof BaseTypePrimitiveVector){ // System.out.println("Setting Projecttion for List member: "+ // ((BaseType)((BaseTypePrimitiveVector)vals).getTemplate()).getTypeName() + " " + // ((BaseType)((BaseTypePrimitiveVector)vals).getTemplate()).getName()); // ((ServerMethods)((BaseTypePrimitiveVector)vals).getTemplate()).setProject(state); // } }
s.setProject(state);
i.setValue((int) intvalue); ((ServerMethods) i).setRead(true); ((ServerMethods) i).setProject(true); subclause = getClauseFactory().newValueClause(i, false); s.setValue(text); ((ServerMethods) s).setRead(true); ((ServerMethods) s).setProject(true); subclause = getClauseFactory().newValueClause(s, false);