Package org.hibernate.usertype.internal
Class OffsetTimeCompositeUserType
java.lang.Object
org.hibernate.usertype.internal.AbstractTimeZoneStorageCompositeUserType<OffsetTime>
org.hibernate.usertype.internal.OffsetTimeCompositeUserType
- All Implemented Interfaces:
EmbeddableInstantiator,Instantiator,CompositeUserType<OffsetTime>
public class OffsetTimeCompositeUserType
extends AbstractTimeZoneStorageCompositeUserType<OffsetTime>
- Author:
- Christian Beikov
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields 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(OffsetTime component, int property) Get the value of the property with the given index.instantiate(ValueAccess values, SessionFactoryImplementor sessionFactory) Create an instance of the embeddableThe class returned byinstantiate().Methods inherited from class org.hibernate.usertype.internal.AbstractTimeZoneStorageCompositeUserType
assemble, deepCopy, disassemble, equals, hashCode, isMutable, replaceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.usertype.CompositeUserType
isInstance, isSameClass
-
Field Details
-
LOCAL_TIME_NAME
- See Also:
-
-
Constructor Details
-
OffsetTimeCompositeUserType
public OffsetTimeCompositeUserType()
-
-
Method Details
-
getPropertyValue
Description copied from interface:CompositeUserTypeGet 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:EmbeddableInstantiatorCreate an instance of the embeddable -
embeddable
Description copied from interface:CompositeUserTypeThe class that represents the embeddable mapping of the type. -
returnedClass
Description copied from interface:CompositeUserTypeThe class returned byinstantiate().
-