E - The type of the container classT - The type of the propertypublic class VersionProperty<E,T> extends PrimitiveProperty<E,T>
Version.| Constructor and Description |
|---|
VersionProperty(GeneratorContext context,
GeneratorTable table,
AttributeAccessor attribute,
javax.persistence.Column column)
Creates a new instance of
VersionProperty. |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getDefaultValue(AttributeAccessor attribute)
Finds the default value from the given attribute.
|
addInsertExpression, getColumn, getContext, getConverter, getDefaultValue, getDialect, getExpression, getPredicate, getTable, isRequiredisTableColumncreatePostInsertStatements, createPreInsertStatements, failIfRequired, findReferencedEntities, generatePendingStatements, getAttribute, getName, getType, getValue, isComposition, setValue, toStringpublic VersionProperty(GeneratorContext context, GeneratorTable table, AttributeAccessor attribute, javax.persistence.Column column)
VersionProperty.context - the current contexttable - the table that the column belongs toattribute - the accessor of the version attributecolumn - the column annotationprotected String getDefaultValue(AttributeAccessor attribute)
PrimitivePropertygetDefaultValue in class PrimitiveProperty<E,T>attribute - the current attribute of the propertynull if none is setDefaultValue.value()Copyright © 2022 fastnate.org. All rights reserved.