Class AbstractVersionColumnSizeEvent
java.lang.Object
io.hypersistence.optimizer.core.event.AbstractEvent
io.hypersistence.optimizer.hibernate.event.mapping.EntityMappingEvent
io.hypersistence.optimizer.hibernate.event.mapping.EntityAttributeMappingEvent
io.hypersistence.optimizer.hibernate.event.mapping.basic.AbstractVersionColumnSizeEvent
- All Implemented Interfaces:
Event,Serializable
- Direct Known Subclasses:
IntegerVersionColumnSizeEvent,LongVersionColumnSizeEvent
The
AbstractVersionColumnSizeEvent indicates that an entity attribute is mapped
as a Version property while using a large numeric type,
such as int or long.- Since:
- 1.0.0
- Author:
- Vlad Mihalcea
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.hypersistence.optimizer.core.event.Event
Event.Priority -
Method Summary
Modifier and TypeMethodDescriptionGet theEvent.Priorityof thisEventprotected abstract intSpecify the column size of the associatedVersionproperty.Methods inherited from class io.hypersistence.optimizer.hibernate.event.mapping.EntityAttributeMappingEvent
getEntityAttributeMethods inherited from class io.hypersistence.optimizer.hibernate.event.mapping.EntityMappingEvent
getEntityClass, getEntityNameMethods inherited from class io.hypersistence.optimizer.core.event.AbstractEvent
getInfoUrl
-
Method Details
-
getVersionColumnByteCount
protected abstract int getVersionColumnByteCount()Specify the column size of the associatedVersionproperty.- Returns:
Versioncolumn size
-
getPriority
Get theEvent.Priorityof thisEvent- Returns:
- the
Event.Priorityof thisEvent
-
getDescription
-