/** * Sets the required string length for String validation. To pass validation, a String must be * exactly this many characters long. To remove this facet, set a negative value. * * @param length the required length for valid Strings */ public void setLength(final int length) { this._length = length; setMaxLength(length); setMinLength(length); } // -- setLength
/** * Sets the required string length for String validation. To pass * validation, a String must be exactly this many characters long. To remove * this facet, set a negative value. * * @param length * the required length for valid Strings */ public void setLength(final int length) { this._length = length; setMaxLength(length); setMinLength(length); } // -- setLength