예제 #1
0
 @Override
 public ExtrasMap saveExtras(ExtraProperties extras) {
   Extras e = (Extras) extras;
   ExtrasMap emap = new ExtrasMap();
   if (e.defaultValue != null) emap.put(DEFAULT_VALUE, encode(e.defaultValue));
   return emap;
 }
예제 #2
0
 @Override
 public ExtraProperties loadExtras(ExtrasMap extras) {
   Extras e = new Extras();
   e.defaultValue = extras.get(DEFAULT_VALUE, Types._Dynamic, null);
   return e;
 }