private static String asString(final AggregationKind value) {
   return value == null ? null : value.getName();
 }
 public static void setDefault(
     final IPreferenceStore store, final String name, final AggregationKind value) {
   store.setDefault(name, value.getName());
 }