Package org.hibernate.boot.jaxb.mapping
Class JaxbForeignKey
- java.lang.Object
-
- org.hibernate.boot.jaxb.mapping.JaxbForeignKey
-
- All Implemented Interfaces:
Serializable
public class JaxbForeignKey extends Object implements 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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected jakarta.persistence.ConstraintModeconstraintModeprotected Stringdescriptionprotected StringforeignKeyDefinitionprotected Stringname
-
Constructor Summary
Constructors Constructor Description JaxbForeignKey()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.persistence.ConstraintModegetConstraintMode()Gets the value of the constraintMode property.StringgetDescription()Gets the value of the description property.StringgetForeignKeyDefinition()Gets the value of the foreignKeyDefinition property.StringgetName()Gets the value of the name property.voidsetConstraintMode(jakarta.persistence.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.voidsetName(String value)Sets the value of the name property.
-
-
-
Method Detail
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getConstraintMode
public jakarta.persistence.ConstraintMode getConstraintMode()
Gets the value of the constraintMode property.- Returns:
- possible object is
String
-
setConstraintMode
public void setConstraintMode(jakarta.persistence.ConstraintMode value)
Sets the value of the constraintMode property.- Parameters:
value- allowed object isString
-
getForeignKeyDefinition
public String getForeignKeyDefinition()
Gets the value of the foreignKeyDefinition property.- Returns:
- possible object is
String
-
-