public boolean isValid(EnumeratedStringAttribute value, ConstraintValidatorContext context)
    {
        if (value == null)
        {
            return true;
        }

        return value.getId() != -1;
    }
public boolean isValid(EnumeratedStringAttribute value, ConstraintValidatorContext context)
    {
        if (value == null)
        {
            return true;
        }

        return value.getId() != -1;
    }
public boolean isValid ( EnumeratedStringAttribute value , ConstraintValidatorContext context ) { if ( value == null ) { return true ; } return value . getId ( ) != - 1 ; }
{@inheritDoc}
{