System.out.println("Updating permitted values.");
    void setPermittedValues (Set values) throws IllegalValueException {     System.out.println("Updating permitted values.");                Object o;        Iterator i = values.iterator();        while (i.hasNext()) {            o = i.next() ;            if ( possibleValues.contains(o) ) {                permittedValues.add(o);            } else {                throw new IllegalValueException("The following value is not a permitted value: " + o.toString() );            }        }    }