public NddlVariable getVariable(String qualified) { for (Iterator i = variables.iterator(); i.hasNext(); ) { NddlVariable curr = (NddlVariable) i.next(); if (qualified.equals(curr.getName())) return curr; } return null; }
public boolean addVariable(NddlVariable variable) { assert (DebugMsg.debugMsg("NddlName:addVariable", name + ".addVariable(" + variable + ")")); if (containsVariable(variable.getName())) return false; variables.add(variable); return true; }