/** * 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(); }
@Override public String toString(ValueType value) { return value == null ? null : value.getName(); }