Exemplo n.º 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();
 }
Exemplo n.º 2
0
 @Override
 public String toString(ValueType value) {
   return value == null ? null : value.getName();
 }