Class CounterGeneration
java.lang.Object
ch.tocco.nice2.businessunit.impl.counter.CounterGeneration
- All Implemented Interfaces:
Serializable,org.hibernate.generator.AnnotationBasedGenerator<Counter>,org.hibernate.generator.BeforeExecutionGenerator,org.hibernate.generator.Generator,org.hibernate.generator.OnExecutionGenerator,org.hibernate.tuple.AnnotationValueGeneration<Counter>,org.hibernate.tuple.ValueGeneration
public class CounterGeneration
extends Object
implements org.hibernate.tuple.AnnotationValueGeneration<Counter>
Creates counters based on 'Counter' table for fields of type 'counter'.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.hibernate.tuple.GenerationTimingorg.hibernate.tuple.ValueGenerator<?> voidinitialize(Counter annotation, Class<?> propertyType) booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.tuple.AnnotationValueGeneration
initializeMethods inherited from interface org.hibernate.generator.Generator
allowAssignedIdentifiers, generatedOnExecution, generatesOnInsert, generatesOnUpdate, generatesSometimesMethods inherited from interface org.hibernate.generator.OnExecutionGenerator
getGeneratedIdentifierDelegate, getUniqueKeyPropertyNamesMethods inherited from interface org.hibernate.tuple.ValueGeneration
generate, generatedOnExecution, getDatabaseGeneratedReferencedColumnValue, getEventTypes, getReferencedColumnValues, referenceColumnsInSql, writePropertyValue
-
Constructor Details
-
CounterGeneration
public CounterGeneration()
-
-
Method Details
-
initialize
- Specified by:
initializein interfaceorg.hibernate.tuple.AnnotationValueGeneration<Counter>
-
getGenerationTiming
public org.hibernate.tuple.GenerationTiming getGenerationTiming()- Specified by:
getGenerationTimingin interfaceorg.hibernate.tuple.ValueGeneration
-
getValueGenerator
public org.hibernate.tuple.ValueGenerator<?> getValueGenerator()- Specified by:
getValueGeneratorin interfaceorg.hibernate.tuple.ValueGeneration
-
referenceColumnInSql
public boolean referenceColumnInSql()- Specified by:
referenceColumnInSqlin interfaceorg.hibernate.tuple.ValueGeneration
-
getDatabaseGeneratedReferencedColumnValue
- Specified by:
getDatabaseGeneratedReferencedColumnValuein interfaceorg.hibernate.tuple.ValueGeneration
-