/** * Set the Read property. A normal variable is read using the * <code>read()</code> method. Once read the <em>Read</em> property is * <code>true</code>. Use this function to manually set the property * value. By default this property is false. * * @param state <code>true</code> if the variable has been read, * <code>false</code> otherwise. * @see #isRead() * @see #read(String, Object) */ public void setAllReadFlags(boolean state) { ReadMe = state; for (Enumeration e = varTemplate.elements(); e.hasMoreElements();) { ServerMethods sm = (ServerMethods) e.nextElement(); //System.out.println("Setting Read Flag for "+((BaseType)sm).getName()+" to "+state); sm.setRead(state); } }
DInt32 i = getFactory().newDInt32(s); i.setValue((int) intvalue); ((ServerMethods) i).setRead(true); ((ServerMethods) i).setProject(true); subclause = getClauseFactory().newValueClause(i, false); DString s = getFactory().newDString(text); s.setValue(text); ((ServerMethods) s).setRead(true); ((ServerMethods) s).setProject(true); subclause = getClauseFactory().newValueClause(s, false);