Class AbstractFieldGeneration<T extends Annotation>
java.lang.Object
ch.tocco.nice2.persist.core.impl.hibernate.pojo.generator.AbstractFieldGeneration<T>
- All Implemented Interfaces:
Serializable
,org.hibernate.generator.AnnotationBasedGenerator<T>
,org.hibernate.generator.BeforeExecutionGenerator
,org.hibernate.generator.Generator
,org.hibernate.generator.OnExecutionGenerator
,org.hibernate.tuple.AnnotationValueGeneration<T>
,org.hibernate.tuple.ValueGeneration
- Direct Known Subclasses:
AlwaysFieldGeneration
,InsertFieldGeneration
public abstract class AbstractFieldGeneration<T extends Annotation>
extends Object
implements org.hibernate.tuple.AnnotationValueGeneration<T>
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract String
getFieldName
(T annotation) protected abstract String
getFieldType
(T annotation) org.hibernate.tuple.ValueGenerator
<?> void
initialize
(T annotation, Class<?> propertyType) boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.tuple.AnnotationValueGeneration
initialize
Methods inherited from interface org.hibernate.generator.Generator
allowAssignedIdentifiers, generatedOnExecution, generatesOnInsert, generatesOnUpdate, generatesSometimes
Methods inherited from interface org.hibernate.generator.OnExecutionGenerator
getGeneratedIdentifierDelegate, getUniqueKeyPropertyNames
Methods inherited from interface org.hibernate.tuple.ValueGeneration
generate, generatedOnExecution, getDatabaseGeneratedReferencedColumnValue, getEventTypes, getGenerationTiming, getReferencedColumnValues, referenceColumnsInSql, writePropertyValue
-
Constructor Details
-
AbstractFieldGeneration
public AbstractFieldGeneration()
-
-
Method Details
-
initialize
- Specified by:
initialize
in interfaceorg.hibernate.tuple.AnnotationValueGeneration<T extends Annotation>
-
getFieldName
-
getFieldType
-
getValueGenerator
public org.hibernate.tuple.ValueGenerator<?> getValueGenerator()- Specified by:
getValueGenerator
in interfaceorg.hibernate.tuple.ValueGeneration
-
referenceColumnInSql
public boolean referenceColumnInSql()- Specified by:
referenceColumnInSql
in interfaceorg.hibernate.tuple.ValueGeneration
-
getDatabaseGeneratedReferencedColumnValue
- Specified by:
getDatabaseGeneratedReferencedColumnValue
in interfaceorg.hibernate.tuple.ValueGeneration
-