001package io.ebeaninternal.xmlmapping.model; 002 003import javax.xml.bind.annotation.XmlRegistry; 004 005 006/** 007 * This object contains factory methods for each 008 * Java content interface and Java element interface 009 * generated in the io.ebeaninternal.xmlmapping.model package. 010 * <p>An ObjectFactory allows you to programatically 011 * construct new instances of the Java representation 012 * for XML content. The Java representation of XML 013 * content can consist of schema derived interfaces 014 * and classes representing the binding of schema 015 * type definitions, element declarations and model 016 * groups. Factory methods for each of these are 017 * provided in this class. 018 */ 019@XmlRegistry 020public class ObjectFactory { 021 022 023 /** 024 * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: io.ebeaninternal.xmlmapping.model 025 */ 026 public ObjectFactory() { 027 } 028 029 /** 030 * Create an instance of {@link XmRawSql } 031 */ 032 public XmRawSql createRawSql() { 033 return new XmRawSql(); 034 } 035 036 /** 037 * Create an instance of {@link XmAliasMapping } 038 */ 039 public XmAliasMapping createAliasMapping() { 040 return new XmAliasMapping(); 041 } 042 043 /** 044 * Create an instance of {@link XmColumnMapping } 045 */ 046 public XmColumnMapping createColumnMapping() { 047 return new XmColumnMapping(); 048 } 049 050 /** 051 * Create an instance of {@link XmQuery } 052 */ 053 public XmQuery createQuery() { 054 return new XmQuery(); 055 } 056 057 /** 058 * Create an instance of {@link XmEbean } 059 */ 060 public XmEbean createEbean() { 061 return new XmEbean(); 062 } 063 064 /** 065 * Create an instance of {@link XmEntity } 066 */ 067 public XmEntity createEntity() { 068 return new XmEntity(); 069 } 070 071 /** 072 * Create an instance of {@link XmNamedQuery } 073 */ 074 public XmNamedQuery createNamedQuery() { 075 return new XmNamedQuery(); 076 } 077 078}