src/main/java/org/efaps/ui/wicket/models/field/factories/BitEnumUIFactory.java
@SuppressWarnings("unchecked")
    @Override
    public Component getEditable(final String _wicketId,
                                 final AbstractUIField _abstractUIField)
        throws EFapsException
    {
        Component ret = null;
        if (applies(_abstractUIField)) {
            ret = new CheckBoxField(_wicketId, Model.of(_abstractUIField),
                            (List<Object>) _abstractUIField.getValue().getEditValue(
                                            _abstractUIField.getParent().getMode()),
                            _abstractUIField.getFieldConfiguration());
        }
        return ret;
    }
@SuppressWarnings("unchecked")
    @Override
    public Component getEditable(final String _wicketId,
                                 final AbstractUIField _abstractUIField)
        throws EFapsException
    {
        Component ret = null;
        if (applies(_abstractUIField)) {
            ret = new CheckBoxField(_wicketId, Model.of(_abstractUIField),
                            (List<Object>) _abstractUIField.getValue().getEditValue(
                                            _abstractUIField.getParent().getMode()),
                            _abstractUIField.getFieldConfiguration());
        }
        return ret;
    }
@ SuppressWarnings ( "unchecked" ) @ Override public Component getEditable ( final String _wicketId , final AbstractUIField _abstractUIField ) throws EFapsException { Component ret = null ; if ( applies ( _abstractUIField ) ) { ret = new CheckBoxField ( _wicketId , Model . of ( _abstractUIField ) , ( List < Object > ) _abstractUIField . getValue ( ) . getEditValue ( _abstractUIField . getParent ( ) . getMode ( ) ) , _abstractUIField . getFieldConfiguration ( ) ) ; } return ret ; }
{@inheritDoc}
{