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.ModelsContext modelContext) Used in creating annotation instances from JDK variantTableGeneratorJpaAnnotation(String name, org.hibernate.models.spi.ModelsContext modelContext) Used in creating named, defaulted annotation instances.TableGeneratorJpaAnnotation(Map<String, Object> attributeValues, org.hibernate.models.spi.ModelsContext modelContext) Used in creating annotation instances from Jandex variantTableGeneratorJpaAnnotation(org.hibernate.models.spi.ModelsContext modelContext) Used in creating dynamic annotation instances (e.g. -
Method Summary
Modifier and TypeMethodDescriptionintvoidallocationSize(int value) Class<? extends Annotation>voidapply(JaxbTableGeneratorImpl jaxbGenerator, XmlDocumentContext xmlDocumentContext) catalog()voidIndex[]indexes()voidintvoidinitialValue(int value) name()voidoptions()voidvoidpkColumnName(String value) voidpkColumnValue(String value) schema()voidtable()voidvoiduniqueConstraints(UniqueConstraint[] value) voidvalueColumnName(String value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.annotation.Annotation
equals, hashCode, toString
-
Constructor Details
-
TableGeneratorJpaAnnotation
public TableGeneratorJpaAnnotation(org.hibernate.models.spi.ModelsContext modelContext) Used in creating dynamic annotation instances (e.g. from XML) -
TableGeneratorJpaAnnotation
public TableGeneratorJpaAnnotation(String name, org.hibernate.models.spi.ModelsContext 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.ModelsContext modelContext) Used in creating annotation instances from JDK variant -
TableGeneratorJpaAnnotation
public TableGeneratorJpaAnnotation(Map<String, Object> attributeValues, org.hibernate.models.spi.ModelsContext modelContext) Used in creating annotation instances from Jandex variant
-
-
Method Details
-
annotationType
- Specified by:
annotationTypein 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:
uniqueConstraintsin interfaceUniqueConstraintCollector
-
uniqueConstraints
- Specified by:
uniqueConstraintsin interfaceUniqueConstraintCollector
-
indexes
- Specified by:
indexesin interfaceIndexCollector
-
indexes
- Specified by:
indexesin interfaceIndexCollector
-
options
-
options
-
apply
-