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.ModelsContext modelContext) Used in creating annotation instances from JDK variantJoinColumnJpaAnnotation(Map<String, Object> attributeValues, org.hibernate.models.spi.ModelsContext modelContext) Used in creating annotation instances from Jandex variantJoinColumnJpaAnnotation(org.hibernate.models.spi.ModelsContext modelContext) Used in creating dynamic annotation instances (e.g. -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends Annotation> voidapply(JaxbColumnImpl jaxbColumn, XmlDocumentContext xmlDocumentContext) voidapply(JaxbJoinColumnImpl jaxbColumn, XmlDocumentContext xmlDocumentContext) check()voidcheck(CheckConstraint[] value) voidcolumnDefinition(String value) comment()voidvoidforeignKey(ForeignKey value) booleanvoidinsertable(boolean value) name()voidbooleannullable()voidnullable(boolean value) options()voidvoidreferencedColumnName(String value) table()voidstatic JoinColumntoJoinColumn(MapKeyJoinColumn mapKeyJoinColumn, org.hibernate.models.spi.ModelsContext ModelsContext) static JoinColumntoJoinColumn(PrimaryKeyJoinColumn pkJoinColumn, org.hibernate.models.spi.ModelsContext ModelsContext) booleanunique()voidunique(boolean value) booleanvoidupdatable(boolean value)
-
Constructor Details
-
JoinColumnJpaAnnotation
public JoinColumnJpaAnnotation(org.hibernate.models.spi.ModelsContext modelContext) Used in creating dynamic annotation instances (e.g. from XML) -
JoinColumnJpaAnnotation
public JoinColumnJpaAnnotation(JoinColumn annotation, org.hibernate.models.spi.ModelsContext modelContext) Used in creating annotation instances from JDK variant -
JoinColumnJpaAnnotation
public JoinColumnJpaAnnotation(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
-
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.ModelsContext ModelsContext) -
toJoinColumn
public static JoinColumn toJoinColumn(MapKeyJoinColumn mapKeyJoinColumn, org.hibernate.models.spi.ModelsContext ModelsContext)
-