Package org.hibernate.usertype.internal
Class ZonedDateTimeCompositeUserType
java.lang.Object
org.hibernate.usertype.internal.AbstractTimeZoneStorageCompositeUserType<ZonedDateTime>
org.hibernate.usertype.internal.ZonedDateTimeCompositeUserType
- All Implemented Interfaces:
EmbeddableInstantiator
,Instantiator
,CompositeUserType<ZonedDateTime>
public class ZonedDateTimeCompositeUserType
extends AbstractTimeZoneStorageCompositeUserType<ZonedDateTime>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields inherited from class org.hibernate.usertype.internal.AbstractTimeZoneStorageCompositeUserType
INSTANT_NAME, ZONE_OFFSET_NAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<?>
The class that represents the embeddable mapping of the type.getPropertyValue
(ZonedDateTime component, int property) Get the value of the property with the given index.instantiate
(ValueAccess values) Create an instance of the embeddableThe class returned byinstantiate()
.Methods inherited from class org.hibernate.usertype.internal.AbstractTimeZoneStorageCompositeUserType
assemble, deepCopy, disassemble, equals, hashCode, isMutable, replace
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.usertype.CompositeUserType
isInstance, isSameClass
-
Constructor Details
-
ZonedDateTimeCompositeUserType
public ZonedDateTimeCompositeUserType()
-
-
Method Details
-
getPropertyValue
Description copied from interface:CompositeUserType
Get the value of the property with the given index. Properties of theCompositeUserType.embeddable()
are sorted by name and assigned an index based on this ordering.- Parameters:
component
- an instance of class mapped by this "type"property
- the property index- Returns:
- the property value
- Throws:
HibernateException
-
instantiate
Description copied from interface:EmbeddableInstantiator
Create an instance of the embeddable -
embeddable
Description copied from interface:CompositeUserType
The class that represents the embeddable mapping of the type. -
returnedClass
Description copied from interface:CompositeUserType
The class returned byinstantiate()
.
-