Class 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 Detail

      • description

        protected String description
      • foreignKeyDefinition

        protected String foreignKeyDefinition
    • Constructor Detail

      • JaxbForeignKey

        public JaxbForeignKey()
    • 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 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