Class RegistrarToRoleConverter
java.lang.Object
google.registry.persistence.converter.StringMapConverterBase<String,RegistrarRole,Map<String,RegistrarRole>>
google.registry.persistence.converter.RegistrarToRoleConverter
- All Implemented Interfaces:
javax.persistence.AttributeConverter<Map<String,
RegistrarRole>, StringMapDescriptor.StringMap>
public class RegistrarToRoleConverter
extends StringMapConverterBase<String,RegistrarRole,Map<String,RegistrarRole>>
JPA converter for storing / retrieving
Map<String, RegistrarRole>
objects.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
convertKeyToString
(String key) protected Map
<String, RegistrarRole> protected String
convertStringToKey
(String string) protected RegistrarRole
convertStringToValue
(String string) protected String
Methods inherited from class google.registry.persistence.converter.StringMapConverterBase
convertToDatabaseColumn, convertToEntityAttribute
-
Constructor Details
-
RegistrarToRoleConverter
public RegistrarToRoleConverter()
-
-
Method Details
-
convertKeyToString
- Specified by:
convertKeyToString
in classStringMapConverterBase<String,
RegistrarRole, Map<String, RegistrarRole>>
-
convertValueToString
- Specified by:
convertValueToString
in classStringMapConverterBase<String,
RegistrarRole, Map<String, RegistrarRole>>
-
convertStringToKey
- Specified by:
convertStringToKey
in classStringMapConverterBase<String,
RegistrarRole, Map<String, RegistrarRole>>
-
convertStringToValue
- Specified by:
convertStringToValue
in classStringMapConverterBase<String,
RegistrarRole, Map<String, RegistrarRole>>
-
convertMapToDerivedType
- Specified by:
convertMapToDerivedType
in classStringMapConverterBase<String,
RegistrarRole, Map<String, RegistrarRole>>
-