Class AllocationTokenStatusTransitionConverter
- java.lang.Object
-
- google.registry.persistence.converter.StringMapConverterBase<org.joda.time.DateTime,V,TimedTransitionProperty<V>>
-
- 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/retrievingTimedTransitionProperty<TokenStatus>
objects.
-
-
Constructor Summary
Constructors Constructor Description AllocationTokenStatusTransitionConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AllocationToken.TokenStatus
convertStringToValue(java.lang.String string)
protected java.lang.String
convertValueToString(AllocationToken.TokenStatus value)
-
Methods inherited from class google.registry.persistence.converter.TimedTransitionPropertyConverterBase
convertKeyToString, convertMapToDerivedType, convertStringToKey
-
Methods inherited from class google.registry.persistence.converter.StringMapConverterBase
convertToDatabaseColumn, convertToEntityAttribute
-
-
-
-
Method Detail
-
convertValueToString
protected java.lang.String convertValueToString(AllocationToken.TokenStatus value)
- Specified by:
convertValueToString
in classStringMapConverterBase<org.joda.time.DateTime,AllocationToken.TokenStatus,TimedTransitionProperty<AllocationToken.TokenStatus>>
-
convertStringToValue
protected AllocationToken.TokenStatus convertStringToValue(java.lang.String string)
- Specified by:
convertStringToValue
in classStringMapConverterBase<org.joda.time.DateTime,AllocationToken.TokenStatus,TimedTransitionProperty<AllocationToken.TokenStatus>>
-
-