public interface StringRepresentableType<T>
Modifier and Type | Method and Description |
---|---|
T |
fromStringValue(java.lang.String string)
Consume the given string representation back into this types java form.
|
java.lang.String |
toString(T value)
Render the value to the string representation.
|
java.lang.String toString(T value) throws HibernateException
value
- The value to render to string.HibernateException
- Problem renderingT fromStringValue(java.lang.String string) throws HibernateException
string
- The string representation to be consumed.HibernateException
- Problem consumingCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.