Top Description Fields Constructors Methods
org.hibernate.boot.jaxb.mapping

public Class JaxbForeignKey

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Annotations
@XmlAccessorType:FIELD
@XmlType
name:foreign-key
namespace:http://www.hibernate.org/xsd/orm/mapping
propOrder:description
Imports
java.io.Serializable, jakarta.persistence.ConstraintMode, jakarta.xml.bind.annotation.XmlAccessType, .XmlAccessorType, .XmlAttribute, .XmlElement, .XmlType, jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter

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>

Field Summary

Modifier and TypeField and Description
protected ConstraintMode
protected String
protected String
protected String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ConstraintMode

Returns:

possible object is String
getConstraintMode
()

Gets the value of the constraintMode property.

public String

Returns:

possible object is String
getDescription
()

Gets the value of the description property.

public String

Returns:

possible object is String
getForeignKeyDefinition
()

Gets the value of the foreignKeyDefinition property.

public String

Returns:

possible object is String
getName
()

Gets the value of the name property.

public void
setConstraintMode(ConstraintMode
allowed object is String
value
)

Sets the value of the constraintMode property.

public void
setDescription(String
allowed object is String
value
)

Sets the value of the description property.

public void
setForeignKeyDefinition(String
allowed object is String
value
)

Sets the value of the foreignKeyDefinition property.

public void
setName(String
allowed object is String
value
)

Sets the value of the name property.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

constraintModeback to summary
protected ConstraintMode constraintMode
Annotations
@XmlAttribute
name:constraint-mode
@XmlJavaTypeAdapter:Adapter6
descriptionback to summary
protected String description
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/mapping
foreignKeyDefinitionback to summary
protected String foreignKeyDefinition
Annotations
@XmlAttribute
name:foreign-key-definition
nameback to summary
protected String name
Annotations
@XmlAttribute
name:name

Constructor Detail

JaxbForeignKeyback to summary
public JaxbForeignKey()

Method Detail

getConstraintModeback to summary
public ConstraintMode getConstraintMode()

Gets the value of the constraintMode property.

Returns:ConstraintMode

possible object is String

getDescriptionback to summary
public String getDescription()

Gets the value of the description property.

Returns:String

possible object is String

getForeignKeyDefinitionback to summary
public String getForeignKeyDefinition()

Gets the value of the foreignKeyDefinition property.

Returns:String

possible object is String

getNameback to summary
public String getName()

Gets the value of the name property.

Returns:String

possible object is String

setConstraintModeback to summary
public void setConstraintMode(ConstraintMode value)

Sets the value of the constraintMode property.

Parameters
value:ConstraintMode

allowed object is String

setDescriptionback to summary
public void setDescription(String value)

Sets the value of the description property.

Parameters
value:String

allowed object is String

setForeignKeyDefinitionback to summary
public void setForeignKeyDefinition(String value)

Sets the value of the foreignKeyDefinition property.

Parameters
value:String

allowed object is String

setNameback to summary
public void setName(String value)

Sets the value of the name property.

Parameters
value:String

allowed object is String