Class JoinColumnJpaAnnotation
java.lang.Object
org.hibernate.boot.models.annotations.internal.JoinColumnJpaAnnotation
- All Implemented Interfaces:
Annotation
@Generated("org.hibernate.orm.build.annotations.ClassGeneratorProcessor")
public class JoinColumnJpaAnnotation
extends Object
implements JoinColumn
-
Constructor Summary
ConstructorsConstructorDescriptionJoinColumnJpaAnnotation
(JoinColumn annotation, org.hibernate.models.spi.SourceModelBuildingContext modelContext) Used in creating annotation instances from JDK variantJoinColumnJpaAnnotation
(Map<String, Object> attributeValues, org.hibernate.models.spi.SourceModelBuildingContext modelContext) Used in creating annotation instances from Jandex variantJoinColumnJpaAnnotation
(org.hibernate.models.spi.SourceModelBuildingContext modelContext) Used in creating dynamic annotation instances (e.g. -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends Annotation>
void
apply
(JaxbColumnImpl jaxbColumn, XmlDocumentContext xmlDocumentContext) void
apply
(JaxbJoinColumnImpl jaxbColumn, XmlDocumentContext xmlDocumentContext) check()
void
check
(CheckConstraint[] value) void
columnDefinition
(String value) comment()
void
void
foreignKey
(ForeignKey value) boolean
void
insertable
(boolean value) name()
void
boolean
nullable()
void
nullable
(boolean value) options()
void
void
referencedColumnName
(String value) table()
void
static JoinColumn
toJoinColumn
(MapKeyJoinColumn mapKeyJoinColumn, org.hibernate.models.spi.SourceModelBuildingContext sourceModelBuildingContext) static JoinColumn
toJoinColumn
(PrimaryKeyJoinColumn pkJoinColumn, org.hibernate.models.spi.SourceModelBuildingContext sourceModelBuildingContext) boolean
unique()
void
unique
(boolean value) boolean
void
updatable
(boolean value)
-
Constructor Details
-
JoinColumnJpaAnnotation
public JoinColumnJpaAnnotation(org.hibernate.models.spi.SourceModelBuildingContext modelContext) Used in creating dynamic annotation instances (e.g. from XML) -
JoinColumnJpaAnnotation
public JoinColumnJpaAnnotation(JoinColumn annotation, org.hibernate.models.spi.SourceModelBuildingContext modelContext) Used in creating annotation instances from JDK variant -
JoinColumnJpaAnnotation
public JoinColumnJpaAnnotation(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
-
referencedColumnName
-
referencedColumnName
-
unique
public boolean unique() -
unique
public void unique(boolean value) -
nullable
public boolean nullable() -
nullable
public void nullable(boolean value) -
insertable
public boolean insertable() -
insertable
public void insertable(boolean value) -
updatable
public boolean updatable() -
updatable
public void updatable(boolean value) -
columnDefinition
-
columnDefinition
-
options
-
options
-
table
-
table
-
foreignKey
-
foreignKey
-
check
-
check
-
comment
-
comment
-
apply
-
apply
-
toJoinColumn
public static JoinColumn toJoinColumn(PrimaryKeyJoinColumn pkJoinColumn, org.hibernate.models.spi.SourceModelBuildingContext sourceModelBuildingContext) -
toJoinColumn
public static JoinColumn toJoinColumn(MapKeyJoinColumn mapKeyJoinColumn, org.hibernate.models.spi.SourceModelBuildingContext sourceModelBuildingContext)
-