Class TldStateTransitionConverter
java.lang.Object
google.registry.persistence.converter.StringMapConverterBase<org.joda.time.DateTime,Tld.TldState,TimedTransitionProperty<Tld.TldState>>
google.registry.persistence.converter.TimedTransitionPropertyConverterBase<Tld.TldState>
google.registry.persistence.converter.TldStateTransitionConverter
- All Implemented Interfaces:
javax.persistence.AttributeConverter<TimedTransitionProperty<Tld.TldState>,
StringMapDescriptor.StringMap>
JPA converter for storing/retrieving
TimedTransitionProperty<TldState>
objects.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Tld.TldState
convertStringToValue
(String string) protected String
convertValueToString
(Tld.TldState value) Methods inherited from class google.registry.persistence.converter.TimedTransitionPropertyConverterBase
convertKeyToString, convertMapToDerivedType, convertStringToKey
Methods inherited from class google.registry.persistence.converter.StringMapConverterBase
convertToDatabaseColumn, convertToEntityAttribute
-
Constructor Details
-
TldStateTransitionConverter
public TldStateTransitionConverter()
-
-
Method Details
-
convertValueToString
- Specified by:
convertValueToString
in classStringMapConverterBase<org.joda.time.DateTime,
Tld.TldState, TimedTransitionProperty<Tld.TldState>>
-
convertStringToValue
- Specified by:
convertStringToValue
in classStringMapConverterBase<org.joda.time.DateTime,
Tld.TldState, TimedTransitionProperty<Tld.TldState>>
-