if (logger == null) { logger = Logging.getLogger(getClass()); }
    public void setPermittedValues (Set values) throws IllegalValueException {             Object o;        Iterator i = values.iterator();        permittedValues.clear();        while (i.hasNext()) {            o = i.next() ;            if ( possibleValues.contains(o) ) {logger.debug("///////////////////////////////////Adding permitted value: "+o);                                permittedValues.add(o);            } else {                throw new IllegalValueException("The following value is not a permitted value: " + o.toString() );            }        }    }