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.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
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.ValueGeneration
getGenerationTiming, timingMatches
-
Constructor Details
-
AbstractFieldGeneration
public AbstractFieldGeneration()
-
-
Method Details
-
initialize
- Specified by:
initialize
in interfaceorg.hibernate.tuple.AnnotationValueGeneration<T extends Annotation>
-
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
-