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

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

There is a newer version: 7.0.0.Beta3
Show newest version

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.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;


/**
 * 
 * 
 *         @Target({METHOD, FIELD}) @Retention(RUNTIME)
 *         public @interface Id {}
 * 
 *       
 * 
 * 

Java class for id complex type. * *

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

{@code
 * 
 *   
 *     
 *       
 *         
 *         
 *         
 *         
 *         
 *       
 *       
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "id", namespace = "https://jakarta.ee/xml/ns/persistence/orm", propOrder = { "column", "generatedValue", "temporal", "tableGenerator", "sequenceGenerator" }) public class Id { @XmlElement(namespace = "https://jakarta.ee/xml/ns/persistence/orm") protected Column column; @XmlElement(name = "generated-value", namespace = "https://jakarta.ee/xml/ns/persistence/orm") protected GeneratedValue generatedValue; @XmlElement(namespace = "https://jakarta.ee/xml/ns/persistence/orm") @XmlSchemaType(name = "token") protected TemporalType temporal; @XmlElement(name = "table-generator", namespace = "https://jakarta.ee/xml/ns/persistence/orm") protected TableGenerator tableGenerator; @XmlElement(name = "sequence-generator", namespace = "https://jakarta.ee/xml/ns/persistence/orm") protected SequenceGenerator sequenceGenerator; @XmlAttribute(name = "name", required = true) protected String name; @XmlAttribute(name = "access") protected AccessType access; /** * Gets the value of the column property. * * @return * possible object is * {@link Column } * */ public Column getColumn() { return column; } /** * Sets the value of the column property. * * @param value * allowed object is * {@link Column } * */ public void setColumn(Column value) { this.column = value; } /** * Gets the value of the generatedValue property. * * @return * possible object is * {@link GeneratedValue } * */ public GeneratedValue getGeneratedValue() { return generatedValue; } /** * Sets the value of the generatedValue property. * * @param value * allowed object is * {@link GeneratedValue } * */ public void setGeneratedValue(GeneratedValue value) { this.generatedValue = value; } /** * Gets the value of the temporal property. * * @return * possible object is * {@link TemporalType } * */ public TemporalType getTemporal() { return temporal; } /** * Sets the value of the temporal property. * * @param value * allowed object is * {@link TemporalType } * */ public void setTemporal(TemporalType value) { this.temporal = value; } /** * Gets the value of the tableGenerator property. * * @return * possible object is * {@link TableGenerator } * */ public TableGenerator getTableGenerator() { return tableGenerator; } /** * Sets the value of the tableGenerator property. * * @param value * allowed object is * {@link TableGenerator } * */ public void setTableGenerator(TableGenerator value) { this.tableGenerator = value; } /** * Gets the value of the sequenceGenerator property. * * @return * possible object is * {@link SequenceGenerator } * */ public SequenceGenerator getSequenceGenerator() { return sequenceGenerator; } /** * Sets the value of the sequenceGenerator property. * * @param value * allowed object is * {@link SequenceGenerator } * */ public void setSequenceGenerator(SequenceGenerator value) { this.sequenceGenerator = 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 access property. * * @return * possible object is * {@link AccessType } * */ public AccessType getAccess() { return access; } /** * Sets the value of the access property. * * @param value * allowed object is * {@link AccessType } * */ public void setAccess(AccessType value) { this.access = value; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy