Class VKeyConverter<T,C extends Serializable>
java.lang.Object
google.registry.persistence.converter.VKeyConverter<T,C>
- All Implemented Interfaces:
jakarta.persistence.AttributeConverter<VKey<? extends T>,
C>
public abstract class VKeyConverter<T,C extends Serializable>
extends Object
implements jakarta.persistence.AttributeConverter<VKey<? extends T>,C>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconvertToDatabaseColumn
(VKey<? extends T> attribute) convertToEntityAttribute
(C dbData) Returns the class of the entity that the VKey represents.Returns the class of the key that the VKey holds.
-
Constructor Details
-
VKeyConverter
public VKeyConverter()
-
-
Method Details
-
convertToDatabaseColumn
- Specified by:
convertToDatabaseColumn
in interfacejakarta.persistence.AttributeConverter<T,
C extends Serializable>
-
convertToEntityAttribute
- Specified by:
convertToEntityAttribute
in interfacejakarta.persistence.AttributeConverter<T,
C extends Serializable>
-
getEntityClass
Returns the class of the entity that the VKey represents. -
getKeyClass
Returns the class of the key that the VKey holds.
-