Search in sources :

Example 1 with FieldShortSetting

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

the class SettingObjectToShortField method newSetting.

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

Aggregations

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