Search in sources :

Example 1 with FieldByteSetting

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

the class SettingObjectToByteField method newSetting.

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

Aggregations

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