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

org.hibernate.boot.jaxb.mapping.spi.JaxbEmbeddable 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.03.16 at 05:21:49 PM UTC 
//


package org.hibernate.boot.jaxb.mapping.spi;

import java.io.Serializable;
import jakarta.persistence.AccessType;
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.XmlType;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 
 * 
 *                 Defines the settings and mappings for embeddable objects. Is
 *                 allowed to be sparsely populated and used in conjunction with
 *                 the annotations. Alternatively, the metadata-complete attribute
 *                 can be used to indicate that no annotations are to be processed
 *                 in the class. If this is the case then the defaulting rules will
 *                 be recursively applied.
 * 
 *                 @Target({TYPE}) @Retention(RUNTIME)
 *                 public @interface Embeddable {}
 * 
 *             
 * 
 * 

Java class for embeddable complex type. * *

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

 * <complexType name="embeddable">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="attributes" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}embeddable-attributes" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="class" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="access" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}access-type" />
 *       <attribute name="metadata-complete" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "embeddable", namespace = "http://xmlns.jcp.org/xml/ns/persistence/orm", propOrder = { "description", "attributes" }) public class JaxbEmbeddable implements Serializable, ManagedType { @XmlElement(namespace = "http://xmlns.jcp.org/xml/ns/persistence/orm") protected String description; @XmlElement(namespace = "http://xmlns.jcp.org/xml/ns/persistence/orm") protected JaxbEmbeddableAttributes attributes; @XmlAttribute(name = "class", required = true) protected String clazz; @XmlAttribute(name = "access") @XmlJavaTypeAdapter(Adapter1 .class) protected AccessType access; @XmlAttribute(name = "metadata-complete") protected Boolean metadataComplete; /** * 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 attributes property. * * @return * possible object is * {@link JaxbEmbeddableAttributes } * */ public JaxbEmbeddableAttributes getAttributes() { return attributes; } /** * Sets the value of the attributes property. * * @param value * allowed object is * {@link JaxbEmbeddableAttributes } * */ public void setAttributes(JaxbEmbeddableAttributes value) { this.attributes = value; } /** * Gets the value of the clazz property. * * @return * possible object is * {@link String } * */ public String getClazz() { return clazz; } /** * Sets the value of the clazz property. * * @param value * allowed object is * {@link String } * */ public void setClazz(String value) { this.clazz = value; } /** * Gets the value of the access property. * * @return * possible object is * {@link String } * */ public AccessType getAccess() { return access; } /** * Sets the value of the access property. * * @param value * allowed object is * {@link String } * */ public void setAccess(AccessType value) { this.access = value; } /** * Gets the value of the metadataComplete property. * * @return * possible object is * {@link Boolean } * */ public Boolean isMetadataComplete() { return metadataComplete; } /** * Sets the value of the metadataComplete property. * * @param value * allowed object is * {@link Boolean } * */ public void setMetadataComplete(Boolean value) { this.metadataComplete = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy