public T toValue(String clientValue) { for (T object : list) { if (clientValue.equals(propertyAdapter.get(object).toString())) { return object; } } return null; }
public String toClient(T value) { return propertyAdapter.get(value).toString(); }