lojix/power_model_validation/src/main/com/thesett/aima/attribute/validation/ValidEnumValidator.java
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}
{