001// 002// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 003// See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a> 004// Any modifications to this file will be lost upon recompilation of the source schema. 005// Generated on: 2018.12.10 at 03:02:30 PM PST 006// 007 008 009package org.microbean.jpa.jaxb; 010 011import javax.xml.bind.annotation.XmlAccessType; 012import javax.xml.bind.annotation.XmlAccessorType; 013import javax.xml.bind.annotation.XmlElement; 014import javax.xml.bind.annotation.XmlType; 015 016 017/** 018 * 019 * 020 * Metadata that applies to the persistence unit and not just to 021 * the mapping file in which it is contained. 022 * 023 * If the xml-mapping-metadata-complete element is specified, 024 * the complete set of mapping metadata for the persistence unit 025 * is contained in the XML mapping files for the persistence unit. 026 * 027 * 028 * 029 * <p>Java class for persistence-unit-metadata complex type. 030 * 031 * <p>The following schema fragment specifies the expected content contained within this class. 032 * 033 * <pre> 034 * <complexType name="persistence-unit-metadata"> 035 * <complexContent> 036 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 037 * <sequence> 038 * <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 039 * <element name="xml-mapping-metadata-complete" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}emptyType" minOccurs="0"/> 040 * <element name="persistence-unit-defaults" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}persistence-unit-defaults" minOccurs="0"/> 041 * </sequence> 042 * </restriction> 043 * </complexContent> 044 * </complexType> 045 * </pre> 046 * 047 * 048 */ 049@XmlAccessorType(XmlAccessType.FIELD) 050@XmlType(name = "persistence-unit-metadata", propOrder = { 051 "description", 052 "xmlMappingMetadataComplete", 053 "persistenceUnitDefaults" 054}) 055public class PersistenceUnitMetadata { 056 057 protected String description; 058 @XmlElement(name = "xml-mapping-metadata-complete") 059 protected EmptyType xmlMappingMetadataComplete; 060 @XmlElement(name = "persistence-unit-defaults") 061 protected PersistenceUnitDefaults persistenceUnitDefaults; 062 063 /** 064 * Gets the value of the description property. 065 * 066 * @return 067 * possible object is 068 * {@link String } 069 * 070 */ 071 public String getDescription() { 072 return description; 073 } 074 075 /** 076 * Sets the value of the description property. 077 * 078 * @param value 079 * allowed object is 080 * {@link String } 081 * 082 */ 083 public void setDescription(String value) { 084 this.description = value; 085 } 086 087 /** 088 * Gets the value of the xmlMappingMetadataComplete property. 089 * 090 * @return 091 * possible object is 092 * {@link EmptyType } 093 * 094 */ 095 public EmptyType getXmlMappingMetadataComplete() { 096 return xmlMappingMetadataComplete; 097 } 098 099 /** 100 * Sets the value of the xmlMappingMetadataComplete property. 101 * 102 * @param value 103 * allowed object is 104 * {@link EmptyType } 105 * 106 */ 107 public void setXmlMappingMetadataComplete(EmptyType value) { 108 this.xmlMappingMetadataComplete = value; 109 } 110 111 /** 112 * Gets the value of the persistenceUnitDefaults property. 113 * 114 * @return 115 * possible object is 116 * {@link PersistenceUnitDefaults } 117 * 118 */ 119 public PersistenceUnitDefaults getPersistenceUnitDefaults() { 120 return persistenceUnitDefaults; 121 } 122 123 /** 124 * Sets the value of the persistenceUnitDefaults property. 125 * 126 * @param value 127 * allowed object is 128 * {@link PersistenceUnitDefaults } 129 * 130 */ 131 public void setPersistenceUnitDefaults(PersistenceUnitDefaults value) { 132 this.persistenceUnitDefaults = value; 133 } 134 135}