@Override
    public String validateValue(final UIValue _value)
        throws CacheReloadException
    {
        String ret = null;
        if (_value.getAttribute() != null && _value.getDbValue() != null) {
            if (_value.getAttribute().getSize() > 0
                            && String.valueOf(_value.getDbValue()).length() > _value.getAttribute().getSize()) {
                ret = DBProperties.getProperty(StringUI.class.getName() + ".InvalidValue") + " "
                                + _value.getAttribute().getSize();
            }
        }
        return ret;
    }
@ Override public String validateValue ( final UIValue _value ) throws CacheReloadException { String ret = null ; if ( _value . getAttribute ( ) != null && _value . getDbValue ( ) != null ) { if ( _value . getAttribute ( ) . getSize ( ) > 0 && String . valueOf ( _value . getDbValue ( ) ) . length ( ) > _value . getAttribute ( ) . getSize ( ) ) { ret = DBProperties . getProperty ( StringUI . class . getName ( ) + ".InvalidValue" ) + " " + _value . getAttribute ( ) . getSize ( ) ; } } return ret ; }
{@inheritDoc}