if (newValue instanceof byte[]) {
// watch out for java serializable property
final byte[] propertyValueAsByteArray = (byte[]) newValue;
if (getMaxLength() != null
&& propertyValueAsByteArray.length > getMaxLength().intValue()) {
IntegrityException ie = new IntegrityException("[" + getName()
+ "] value (" + propertyValueAsByteArray + ") is too long on ["
+ component + "].") {
private static final long serialVersionUID = 7459823123892198831L;