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

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

There is a newer version: 7.0.0.Beta2
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.XmlType;


/**
 * 
 * 
 *                 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 Embeddable { @XmlElement(namespace = "http://xmlns.jcp.org/xml/ns/persistence/orm") protected String description; @XmlElement(namespace = "http://xmlns.jcp.org/xml/ns/persistence/orm") protected EmbeddableAttributes attributes; @XmlAttribute(name = "class", required = true) protected String clazz; @XmlAttribute(name = "access") 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 EmbeddableAttributes } * */ public EmbeddableAttributes getAttributes() { return attributes; } /** * Sets the value of the attributes property. * * @param value * allowed object is * {@link EmbeddableAttributes } * */ public void setAttributes(EmbeddableAttributes 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 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; } /** * 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 - 2025 Weber Informatics LLC | Privacy Policy