1 /** 2 * Licensed to the Apache Software Foundation (ASF) under one or more 3 * contributor license agreements. See the NOTICE file distributed with 4 * this work for additional information regarding copyright ownership. 5 * The ASF licenses this file to You under the Apache License, Version 2.0 6 * (the "License"); you may not use this file except in compliance with 7 * the License. You may obtain a copy of the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 * See the License for the specific language governing permissions and 15 * limitations under the License. 16 */ 17 // 18 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.1-b01-fcs 19 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 20 // Any modifications to this file will be lost upon recompilation of the source schema. 21 // Generated on: 2006.08.11 at 06:51:30 PM PDT 22 // 23 24 25 package org.apache.openejb.jee.jpa.unit; 26 27 28 import javax.xml.bind.annotation.XmlRegistry; 29 30 31 /** 32 * This object contains factory methods for each 33 * Java content interface and Java element interface 34 * generated in the org.apache.openejb.persistence.xml package. 35 * <p>An ObjectFactory allows you to programatically 36 * construct new instances of the Java representation 37 * for XML content. The Java representation of XML 38 * content can consist of schema derived interfaces 39 * and classes representing the binding of schema 40 * type definitions, element declarations and model 41 * groups. Factory methods for each of these are 42 * provided in this class. 43 * 44 */ 45 @XmlRegistry 46 public class ObjectFactory { 47 48 49 /** 50 * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.openejb.persistence.xml 51 * 52 */ 53 public ObjectFactory() { 54 } 55 56 /** 57 * Create an instance of {@link Persistence } 58 * 59 */ 60 public Persistence createPersistence() { 61 return new Persistence(); 62 } 63 64 /** 65 * Create an instance of {@link Properties } 66 * 67 */ 68 public Properties createPersistencePersistenceUnitProperties() { 69 return new Properties(); 70 } 71 72 /** 73 * Create an instance of {@link PersistenceUnit } 74 * 75 */ 76 public PersistenceUnit createPersistencePersistenceUnit() { 77 return new PersistenceUnit(); 78 } 79 80 /** 81 * Create an instance of {@link Property } 82 * 83 */ 84 public Property createPersistencePersistenceUnitPropertiesProperty() { 85 return new Property(); 86 } 87 88 }