public abstract class TemporalAccessorStringBridge<T extends java.time.temporal.TemporalAccessor> extends Object implements TwoWayStringBridge
TemporalAccessor to String.| Constructor and Description |
|---|
TemporalAccessorStringBridge(java.time.format.DateTimeFormatter formatter,
Class<T> type) |
| Modifier and Type | Method and Description |
|---|---|
String |
objectToString(Object object)
Converts the object representation to a string.
|
Object |
stringToObject(String stringValue)
Convert the index string representation to an object.
|
public String objectToString(Object object)
StringBridgeobjectToString in interface StringBridgeobject - The object to transform into a string representation.null. It can be empty though.public Object stringToObject(String stringValue)
TwoWayStringBridgestringToObject in interface TwoWayStringBridgestringValue - The index value.Object.Copyright © 2006–2016 Hibernate. All rights reserved.