/** * 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); } } }