Package org.hibernate.boot.jaxb.mapping
Class JaxbForeignKey
java.lang.Object
org.hibernate.boot.jaxb.mapping.JaxbForeignKey
- All Implemented Interfaces:
Serializable
See `@jakarta.persistence.ForeignKey`
Java class for foreign-key complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="foreign-key">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="constraint-mode" type="{http://www.hibernate.org/xsd/orm/mapping}constraint-mode" />
<attribute name="foreign-key-definition" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ConstraintModeprotected Stringprotected Stringprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the constraintMode property.Gets the value of the description property.Gets the value of the foreignKeyDefinition property.getName()Gets the value of the name property.voidsetConstraintMode(ConstraintMode value) Sets the value of the constraintMode property.voidsetDescription(String value) Sets the value of the description property.voidsetForeignKeyDefinition(String value) Sets the value of the foreignKeyDefinition property.voidSets the value of the name property.
-
Field Details
-
description
-
name
-
constraintMode
-
foreignKeyDefinition
-
-
Constructor Details
-
JaxbForeignKey
public JaxbForeignKey()
-
-
Method Details
-
getDescription
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getConstraintMode
Gets the value of the constraintMode property.- Returns:
- possible object is
String
-
setConstraintMode
Sets the value of the constraintMode property.- Parameters:
value- allowed object isString
-
getForeignKeyDefinition
Gets the value of the foreignKeyDefinition property.- Returns:
- possible object is
String
-
setForeignKeyDefinition
Sets the value of the foreignKeyDefinition property.- Parameters:
value- allowed object isString
-