} else { throw new XDocletException("<XDtMethodEx:randomValueForSetter/> called on unsupported type: " + mtype);
    public String randomValueForSetter() throws XDocletException {        Properties pros = new Properties();        pros.put("type", "content");        String mtype = super.methodType(pros);        StringBuffer result = new StringBuffer();        if ("java.lang.Integer".equals(mtype)) {            result.append("new Integer(" + (int) ((Math.random() * Integer.MAX_VALUE)) + ")");        } else if ("int".equals(mtype)) {            result.append("(int) " + (int) ((Math.random() * Integer.MAX_VALUE)));        } else if ("java.lang.Float".equals(mtype) ) {            result.append("new Float(" + (float) ((Math.random() * Float.MAX_VALUE)) + ")");        } else if ("float".equals(mtype)) {            result.append("(float) " + (float) ((Math.random() * Float.MAX_VALUE)));        } else if ("java.lang.Long".equals(mtype)) {            // not sure why, but Long.MAX_VALUE results in too large a number            result.append("new Long(" + (long) ((Math.random() * Integer.MAX_VALUE)) + ")");        } else if ("long".equals(mtype)) {            // not sure why, but Long.MAX_VALUE results in too large a number            result.append((long) ((Math.random() * Integer.MAX_VALUE)));        } else if ("java.lang.Double".equals(mtype) ) {            result.append("new Double(" + (double) ((Math.random() * Double.MAX_VALUE)) + ")");        } else if ("double".equals(mtype)) {            result.append((double) ((Math.random() * Double.MAX_VALUE)));        } else if ("java.lang.Short".equals(mtype) ) {            result.append("new Short(\"" + (short) ((Math.random() * Short.MAX_VALUE)) + "\")");        } else if ("short".equals(mtype)) {            result.append("(short)" + (short) ((Math.random() * Short.MAX_VALUE)));        } else if ("java.lang.Byte".equals(mtype)) {            result.append("new Byte(\"" + (byte) ((Math.random() * Byte.MAX_VALUE)) + "\")");        } else if ("byte".equals(mtype)) {            result.append("(byte) " + (byte) ((Math.random() * Byte.MAX_VALUE)));        } else if ("java.lang.Boolean".equals(mtype)) {            result.append("new Boolean(\"false\")");        } else if ("boolean".equals(mtype)) {            result.append("false");        } else if ("java.util.Date".equals(mtype)) {            result.append("new Date(" + getDate(new Date()) + ")");        } else if ("java.sql.Timestamp".equals(mtype)) {            result.append("Timestamp.valueOf(\"" + new Timestamp(new Date().getTime()).toString() + "\")");            //result.append("\"" + new Timestamp(new Date().getTime()).toString() + "\"";        } else if ("email".equalsIgnoreCase(super.propertyName())) {            result.append("\"" + super.propertyName() + (int) ((Math.random() * Integer.MAX_VALUE)) +                   "@dev.java.net\"");        } else if ("java.lang.String".equals(mtype)) {            result.append(generateStringValue());        } else {            throw new XDocletException("<XDtMethodEx:randomValueForSetter/> called on unsupported type: " + mtype);        }        //System.out.println("propertyType: " + mtype + " | setter value: " + result.toString());        return result.toString();    }