All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.jpamodelgen.xml.jaxb.DiscriminatorColumn Maven / Gradle / Ivy

There is a newer version: 5.6.15.Final
Show newest version
//
// 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.09.27 at 12:27:10 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({TYPE}) @Retention(RUNTIME)
 *                 public @interface DiscriminatorColumn {
 *                 String name() default "DTYPE";
 *                 DiscriminatorType discriminatorType() default STRING;
 *                 String columnDefinition() default "";
 *                 int length() default 31;
 *                 }
 * 
 *             
 * 
 * 

Java class for discriminator-column complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="discriminator-column">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="discriminator-type" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}discriminator-type" />
 *       <attribute name="column-definition" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="length" type="{http://www.w3.org/2001/XMLSchema}int" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "discriminator-column") public class DiscriminatorColumn { @XmlAttribute(name = "name") protected String name; @XmlAttribute(name = "discriminator-type") protected DiscriminatorType discriminatorType; @XmlAttribute(name = "column-definition") protected String columnDefinition; @XmlAttribute(name = "length") protected Integer length; /** * 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 discriminatorType property. * * @return * possible object is * {@link DiscriminatorType } * */ public DiscriminatorType getDiscriminatorType() { return discriminatorType; } /** * Sets the value of the discriminatorType property. * * @param value * allowed object is * {@link DiscriminatorType } * */ public void setDiscriminatorType(DiscriminatorType value) { this.discriminatorType = value; } /** * Gets the value of the columnDefinition property. * * @return * possible object is * {@link String } * */ public String getColumnDefinition() { return columnDefinition; } /** * Sets the value of the columnDefinition property. * * @param value * allowed object is * {@link String } * */ public void setColumnDefinition(String value) { this.columnDefinition = value; } /** * Gets the value of the length property. * * @return * possible object is * {@link Integer } * */ public Integer getLength() { return length; } /** * Sets the value of the length property. * * @param value * allowed object is * {@link Integer } * */ public void setLength(Integer value) { this.length = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy