Example #1
0
 /**
  * Refresh state.
  *
  * @throws T2DBException
  */
 protected void update() throws T2DBException {
   this.name = getName();
   ValueType<T> vt = getDatabase().getValueType(getSurrogate());
   // load all values again, it's expected to be a rare operation
   values = vt.getValueDescriptions();
 }
Example #2
0
 @Override
 public String toString(ValueType value) {
   return value == null ? null : value.getName();
 }