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;
}
Aggregations