org.hibernate.jpamodelgen.xml.jaxb.Embeddable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-jpamodelgen-jakarta Show documentation
Show all versions of hibernate-jpamodelgen-jakarta Show documentation
Annotation Processor to generate JPA 3 static metamodel classes
//
// 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.07.07 at 08:24:00 AM 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;
/**
*
*
* 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", propOrder = {
"description",
"attributes"
})
public class Embeddable {
protected String description;
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;
}
}