Class AllocationTokenStatusTransitionConverter
java.lang.Object
google.registry.persistence.converter.StringMapConverterBase<org.joda.time.DateTime,AllocationToken.TokenStatus,TimedTransitionProperty<AllocationToken.TokenStatus>>
google.registry.persistence.converter.TimedTransitionPropertyConverterBase<AllocationToken.TokenStatus>
google.registry.persistence.converter.AllocationTokenStatusTransitionConverter
- All Implemented Interfaces:
javax.persistence.AttributeConverter<TimedTransitionProperty<AllocationToken.TokenStatus>,
StringMapDescriptor.StringMap>
public class AllocationTokenStatusTransitionConverter
extends TimedTransitionPropertyConverterBase<AllocationToken.TokenStatus>
JPA converter for storing/retrieving
TimedTransitionProperty<TokenStatus>
objects.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected AllocationToken.TokenStatus
convertStringToValue
(String string) protected String
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
-
AllocationTokenStatusTransitionConverter
public AllocationTokenStatusTransitionConverter()
-
-
Method Details
-
convertValueToString
- Specified by:
convertValueToString
in classStringMapConverterBase<org.joda.time.DateTime,
AllocationToken.TokenStatus, TimedTransitionProperty<AllocationToken.TokenStatus>>
-
convertStringToValue
- Specified by:
convertStringToValue
in classStringMapConverterBase<org.joda.time.DateTime,
AllocationToken.TokenStatus, TimedTransitionProperty<AllocationToken.TokenStatus>>
-