Class JaxbForeignKeyImpl

java.lang.Object
org.hibernate.boot.jaxb.mapping.spi.JaxbForeignKeyImpl
All Implemented Interfaces:
Serializable

public class JaxbForeignKeyImpl extends Object implements Serializable
@Target({}) @Retention(RUNTIME) public @interface ForeignKey { String name() default ""; ConstraintMode value() default CONSTRAINT; String foreign-key-definition() default ""; String options() default ""; } Note that the elements that embed the use of the annotation default this use as @ForeignKey(PROVIDER_DEFAULT). <p>Java class for foreign-key complex type</p>. <p>The following schema fragment specifies the expected content contained within this class.</p> <pre>{@code <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" /> <attribute name="options" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> }</pre>
See Also:
  • Field Details

    • description

      protected String description
    • name

      protected String name
    • constraintMode

      protected ConstraintMode constraintMode
    • foreignKeyDefinition

      protected String foreignKeyDefinition
    • options

      protected String options
  • Constructor Details

    • JaxbForeignKeyImpl

      public JaxbForeignKeyImpl()
  • Method Details

    • 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 is String
    • 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 is String
    • 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 is String
    • getForeignKeyDefinition

      public String getForeignKeyDefinition()
      Gets the value of the foreignKeyDefinition property.
      Returns:
      possible object is String
    • setForeignKeyDefinition

      public void setForeignKeyDefinition(String value)
      Sets the value of the foreignKeyDefinition property.
      Parameters:
      value - allowed object is String
    • getOptions

      public String getOptions()
      Gets the value of the options property.
      Returns:
      possible object is String
    • setOptions

      public void setOptions(String value)
      Sets the value of the options property.
      Parameters:
      value - allowed object is String