Class StringListConverterBase<T>
java.lang.Object
google.registry.persistence.converter.StringListConverterBase<T>
- All Implemented Interfaces:
javax.persistence.AttributeConverter<List<T>,
StringCollectionDescriptor.StringCollection>
- Direct Known Subclasses:
AllocationTokenListConverter
,CidrAddressBlockListConverter
,PostalInfoChoiceListConverter
,StringListConverter
public abstract class StringListConverterBase<T>
extends Object
implements javax.persistence.AttributeConverter<List<T>,StringCollectionDescriptor.StringCollection>
Base JPA converter for
List
objects that are stored as an array of strings in the
database.-
Constructor Summary
-
Method Summary
-
Constructor Details
-
StringListConverterBase
public StringListConverterBase()
-
-
Method Details
-
convertToDatabaseColumn
- Specified by:
convertToDatabaseColumn
in interfacejavax.persistence.AttributeConverter<List<T>,
StringCollectionDescriptor.StringCollection>
-
convertToEntityAttribute
- Specified by:
convertToEntityAttribute
in interfacejavax.persistence.AttributeConverter<List<T>,
StringCollectionDescriptor.StringCollection>
-