Class TableGeneratorJpaAnnotation
java.lang.Object
org.hibernate.boot.models.annotations.internal.TableGeneratorJpaAnnotation
- All Implemented Interfaces:
Annotation
,IndexCollector
,UniqueConstraintCollector
@Generated("org.hibernate.orm.build.annotations.ClassGeneratorProcessor")
public class TableGeneratorJpaAnnotation
extends Object
implements TableGenerator, UniqueConstraintCollector, IndexCollector
-
Constructor Summary
ConstructorsConstructorDescriptionTableGeneratorJpaAnnotation
(TableGenerator annotation, org.hibernate.models.spi.SourceModelBuildingContext modelContext) Used in creating annotation instances from JDK variantTableGeneratorJpaAnnotation
(String name, org.hibernate.models.spi.SourceModelBuildingContext modelContext) Used in creating named, defaulted annotation instances.TableGeneratorJpaAnnotation
(Map<String, Object> attributeValues, org.hibernate.models.spi.SourceModelBuildingContext modelContext) Used in creating annotation instances from Jandex variantTableGeneratorJpaAnnotation
(org.hibernate.models.spi.SourceModelBuildingContext modelContext) Used in creating dynamic annotation instances (e.g. -
Method Summary
Modifier and TypeMethodDescriptionint
void
allocationSize
(int value) Class<? extends Annotation>
void
apply
(JaxbTableGeneratorImpl jaxbGenerator, XmlDocumentContext xmlDocumentContext) catalog()
void
Index[]
indexes()
void
int
void
initialValue
(int value) name()
void
options()
void
void
pkColumnName
(String value) void
pkColumnValue
(String value) schema()
void
table()
void
void
uniqueConstraints
(UniqueConstraint[] value) void
valueColumnName
(String value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.annotation.Annotation
equals, hashCode, toString
-
Constructor Details
-
TableGeneratorJpaAnnotation
public TableGeneratorJpaAnnotation(org.hibernate.models.spi.SourceModelBuildingContext modelContext) Used in creating dynamic annotation instances (e.g. from XML) -
TableGeneratorJpaAnnotation
public TableGeneratorJpaAnnotation(String name, org.hibernate.models.spi.SourceModelBuildingContext modelContext) Used in creating named, defaulted annotation instances. Generally this is a situation where we have:- GeneratedValue.strategy() set to GenerationType.TABLE
- GeneratedValue.generator() set to a non-empty String, but with no matching TableGenerator
-
TableGeneratorJpaAnnotation
public TableGeneratorJpaAnnotation(TableGenerator annotation, org.hibernate.models.spi.SourceModelBuildingContext modelContext) Used in creating annotation instances from JDK variant -
TableGeneratorJpaAnnotation
public TableGeneratorJpaAnnotation(Map<String, Object> attributeValues, org.hibernate.models.spi.SourceModelBuildingContext modelContext) Used in creating annotation instances from Jandex variant
-
-
Method Details
-
annotationType
- Specified by:
annotationType
in interfaceAnnotation
-
name
-
name
-
table
-
table
-
catalog
-
catalog
-
schema
-
schema
-
pkColumnName
-
pkColumnName
-
valueColumnName
-
valueColumnName
-
pkColumnValue
-
pkColumnValue
-
initialValue
public int initialValue() -
initialValue
public void initialValue(int value) -
allocationSize
public int allocationSize() -
allocationSize
public void allocationSize(int value) -
uniqueConstraints
- Specified by:
uniqueConstraints
in interfaceUniqueConstraintCollector
-
uniqueConstraints
- Specified by:
uniqueConstraints
in interfaceUniqueConstraintCollector
-
indexes
- Specified by:
indexes
in interfaceIndexCollector
-
indexes
- Specified by:
indexes
in interfaceIndexCollector
-
options
-
options
-
apply
-