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 ConstraintMode
constraintMode
protected String
description
protected String
foreignKeyDefinition
protected String
name
-
Constructor Summary
Constructors Constructor Description JaxbForeignKey()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConstraintMode
getConstraintMode()
Gets the value of the constraintMode property.String
getDescription()
Gets the value of the description property.String
getForeignKeyDefinition()
Gets the value of the foreignKeyDefinition property.String
getName()
Gets the value of the name property.void
setConstraintMode(ConstraintMode value)
Sets the value of the constraintMode property.void
setDescription(String value)
Sets the value of the description property.void
setForeignKeyDefinition(String value)
Sets the value of the foreignKeyDefinition property.void
setName(String value)
Sets the value of the name property.
-
-
-
Field Detail
-
description
protected String description
-
name
protected String name
-
constraintMode
protected ConstraintMode constraintMode
-
foreignKeyDefinition
protected String foreignKeyDefinition
-
-
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 ConstraintMode getConstraintMode()
Gets the value of the constraintMode property.- Returns:
- possible object is
String
-
setConstraintMode
public void setConstraintMode(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
-
-