org.hibernate.jpamodelgen.xml.jaxb.ForeignKey Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.1 
// See https://javaee.github.io/jaxb-v2/ 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2022.11.03 at 08:13:47 PM UTC 
//
package org.hibernate.jpamodelgen.xml.jaxb;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlType;
/**
 * 
 * 
 *                 @Target({}) @Retention(RUNTIME)
 *                 public @interface ForeignKey {
 *                 String name() default "";
 *                 String foreign-key-definition() default "";
 *                 boolean disable-foreign-key() default false;
 *                 }
 * 
 *             
 * 
 * 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="foreign-key-definition" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="disable-foreign-key" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "foreign-key", propOrder = {
    "description"
})
public class ForeignKey {
    protected String description;
    @XmlAttribute(name = "name")
    protected String name;
    @XmlAttribute(name = "foreign-key-definition")
    protected String foreignKeyDefinition;
    @XmlAttribute(name = "disable-foreign-key")
    protected Boolean disableForeignKey;
    /**
     * Gets the value of the description property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getDescription() {
        return description;
    }
    /**
     * Sets the value of the description property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDescription(String value) {
        this.description = value;
    }
    /**
     * Gets the value of the name property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getName() {
        return name;
    }
    /**
     * Sets the value of the name property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setName(String value) {
        this.name = value;
    }
    /**
     * Gets the value of the foreignKeyDefinition property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getForeignKeyDefinition() {
        return foreignKeyDefinition;
    }
    /**
     * Sets the value of the foreignKeyDefinition property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setForeignKeyDefinition(String value) {
        this.foreignKeyDefinition = value;
    }
    /**
     * Gets the value of the disableForeignKey property.
     * 
     * @return
     *     possible object is
     *     {@link Boolean }
     *     
     */
    public Boolean isDisableForeignKey() {
        return disableForeignKey;
    }
    /**
     * Sets the value of the disableForeignKey property.
     * 
     * @param value
     *     allowed object is
     *     {@link Boolean }
     *     
     */
    public void setDisableForeignKey(Boolean value) {
        this.disableForeignKey = value;
    }
}
    © 2015 - 2025 Weber Informatics LLC | Privacy Policy