protected Integer eval4Enum(final Attribute _attribute,
                                final Object _value)
    {
        final Integer ret;
        if (_value instanceof IEnum) {
            ret = Integer.valueOf(((IEnum) _value).getInt());
        } else {
            ret = null;
        }
        return ret;
    }
protected Integer eval4Enum ( final Attribute _attribute , final Object _value ) { final Integer ret ; if ( _value instanceof IEnum ) { ret = Integer . valueOf ( ( ( IEnum ) _value ) . getInt ( ) ) ; } else { ret = null ; } return ret ; }
@param _attribute    Attribute for this enumtype
@param _value        value to be evluated
@return  integer value