Search in sources :

Example 1 with FieldBooleanSetting

use of com.tvd12.dahlia.core.setting.FieldBooleanSetting in project dahlia by youngmonkeys.

the class SettingObjectToBooleanField method newSetting.

@Override
protected FieldBooleanSetting newSetting(SettingObjectToFields mappers, EzyObject object) {
    FieldBooleanSetting setting = new FieldBooleanSetting();
    setting.setDefaultValue(object.get(SettingFields.DEFAULT, boolean.class));
    return setting;
}
Also used : FieldBooleanSetting(com.tvd12.dahlia.core.setting.FieldBooleanSetting)

Aggregations

FieldBooleanSetting (com.tvd12.dahlia.core.setting.FieldBooleanSetting)1