001: /**
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. See the NOTICE file distributed with
004: * this work for additional information regarding copyright ownership.
005: * The ASF licenses this file to You under the Apache License, Version 2.0
006: * (the "License"); you may not use this file except in compliance with
007: * the License. You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */package org.apache.openejb.jee.jpa;
017:
018: import javax.xml.bind.annotation.XmlRegistry;
019:
020: /**
021: * This object contains factory methods for each
022: * Java content interface and Java element interface
023: * generated in the org.apache.openejb.jee.jpa package.
024: * <p>An ObjectFactory allows you to programatically
025: * construct new instances of the Java representation
026: * for XML content. The Java representation of XML
027: * content can consist of schema derived interfaces
028: * and classes representing the binding of schema
029: * type definitions, element declarations and model
030: * groups. Factory methods for each of these are
031: * provided in this class.
032: *
033: */
034: @XmlRegistry
035: public class ObjectFactory {
036:
037: /**
038: * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.openejb.jee.jpa
039: *
040: */
041: public ObjectFactory() {
042: }
043:
044: /**
045: * Create an instance of {@link PreRemove }
046: *
047: */
048: public PreRemove createPreRemove() {
049: return new PreRemove();
050: }
051:
052: /**
053: * Create an instance of {@link PostUpdate }
054: *
055: */
056: public PostUpdate createPostUpdate() {
057: return new PostUpdate();
058: }
059:
060: /**
061: * Create an instance of {@link Basic }
062: *
063: */
064: public Basic createBasic() {
065: return new Basic();
066: }
067:
068: /**
069: * Create an instance of {@link JoinColumn }
070: *
071: */
072: public JoinColumn createJoinColumn() {
073: return new JoinColumn();
074: }
075:
076: /**
077: * Create an instance of {@link TableGenerator }
078: *
079: */
080: public TableGenerator createTableGenerator() {
081: return new TableGenerator();
082: }
083:
084: /**
085: * Create an instance of {@link DiscriminatorColumn }
086: *
087: */
088: public DiscriminatorColumn createDiscriminatorColumn() {
089: return new DiscriminatorColumn();
090: }
091:
092: /**
093: * Create an instance of {@link Embeddable }
094: *
095: */
096: public Embeddable createEmbeddable() {
097: return new Embeddable();
098: }
099:
100: /**
101: * Create an instance of {@link NamedNativeQuery }
102: *
103: */
104: public NamedNativeQuery createNamedNativeQuery() {
105: return new NamedNativeQuery();
106: }
107:
108: /**
109: * Create an instance of {@link ColumnResult }
110: *
111: */
112: public ColumnResult createColumnResult() {
113: return new ColumnResult();
114: }
115:
116: /**
117: * Create an instance of {@link EmbeddableAttributes }
118: *
119: */
120: public EmbeddableAttributes createEmbeddableAttributes() {
121: return new EmbeddableAttributes();
122: }
123:
124: /**
125: * Create an instance of {@link QueryHint }
126: *
127: */
128: public QueryHint createQueryHint() {
129: return new QueryHint();
130: }
131:
132: /**
133: * Create an instance of {@link FieldResult }
134: *
135: */
136: public FieldResult createFieldResult() {
137: return new FieldResult();
138: }
139:
140: /**
141: * Create an instance of {@link Id }
142: *
143: */
144: public Id createId() {
145: return new Id();
146: }
147:
148: /**
149: * Create an instance of {@link ManyToOne }
150: *
151: */
152: public ManyToOne createManyToOne() {
153: return new ManyToOne();
154: }
155:
156: /**
157: * Create an instance of {@link EntityMappings }
158: *
159: */
160: public EntityMappings createEntityMappings() {
161: return new EntityMappings();
162: }
163:
164: /**
165: * Create an instance of {@link Table }
166: *
167: */
168: public Table createTable() {
169: return new Table();
170: }
171:
172: /**
173: * Create an instance of {@link SecondaryTable }
174: *
175: */
176: public SecondaryTable createSecondaryTable() {
177: return new SecondaryTable();
178: }
179:
180: /**
181: * Create an instance of {@link PrimaryKeyJoinColumn }
182: *
183: */
184: public PrimaryKeyJoinColumn createPrimaryKeyJoinColumn() {
185: return new PrimaryKeyJoinColumn();
186: }
187:
188: /**
189: * Create an instance of {@link ManyToMany }
190: *
191: */
192: public ManyToMany createManyToMany() {
193: return new ManyToMany();
194: }
195:
196: /**
197: * Create an instance of {@link SequenceGenerator }
198: *
199: */
200: public SequenceGenerator createSequenceGenerator() {
201: return new SequenceGenerator();
202: }
203:
204: /**
205: * Create an instance of {@link EntityListeners }
206: *
207: */
208: public EntityListeners createEntityListeners() {
209: return new EntityListeners();
210: }
211:
212: /**
213: * Create an instance of {@link SqlResultSetMapping }
214: *
215: */
216: public SqlResultSetMapping createSqlResultSetMapping() {
217: return new SqlResultSetMapping();
218: }
219:
220: /**
221: * Create an instance of {@link PersistenceUnitDefaults }
222: *
223: */
224: public PersistenceUnitDefaults createPersistenceUnitDefaults() {
225: return new PersistenceUnitDefaults();
226: }
227:
228: /**
229: * Create an instance of {@link MappedSuperclass }
230: *
231: */
232: public MappedSuperclass createMappedSuperclass() {
233: return new MappedSuperclass();
234: }
235:
236: /**
237: * Create an instance of {@link PersistenceUnitMetadata }
238: *
239: */
240: public PersistenceUnitMetadata createPersistenceUnitMetadata() {
241: return new PersistenceUnitMetadata();
242: }
243:
244: /**
245: * Create an instance of {@link PreUpdate }
246: *
247: */
248: public PreUpdate createPreUpdate() {
249: return new PreUpdate();
250: }
251:
252: /**
253: * Create an instance of {@link PrePersist }
254: *
255: */
256: public PrePersist createPrePersist() {
257: return new PrePersist();
258: }
259:
260: /**
261: * Create an instance of {@link Version }
262: *
263: */
264: public Version createVersion() {
265: return new Version();
266: }
267:
268: /**
269: * Create an instance of {@link Entity }
270: *
271: */
272: public Entity createEntity() {
273: return new Entity();
274: }
275:
276: /**
277: * Create an instance of {@link MapKey }
278: *
279: */
280: public MapKey createMapKey() {
281: return new MapKey();
282: }
283:
284: /**
285: * Create an instance of {@link CascadeType }
286: *
287: */
288: public CascadeType createCascadeType() {
289: return new CascadeType();
290: }
291:
292: /**
293: * Create an instance of {@link AssociationOverride }
294: *
295: */
296: public AssociationOverride createAssociationOverride() {
297: return new AssociationOverride();
298: }
299:
300: /**
301: * Create an instance of {@link EmbeddedId }
302: *
303: */
304: public EmbeddedId createEmbeddedId() {
305: return new EmbeddedId();
306: }
307:
308: /**
309: * Create an instance of {@link Transient }
310: *
311: */
312: public Transient createTransient() {
313: return new Transient();
314: }
315:
316: /**
317: * Create an instance of {@link GeneratedValue }
318: *
319: */
320: public GeneratedValue createGeneratedValue() {
321: return new GeneratedValue();
322: }
323:
324: /**
325: * Create an instance of {@link Lob }
326: *
327: */
328: public Lob createLob() {
329: return new Lob();
330: }
331:
332: /**
333: * Create an instance of {@link UniqueConstraint }
334: *
335: */
336: public UniqueConstraint createUniqueConstraint() {
337: return new UniqueConstraint();
338: }
339:
340: /**
341: * Create an instance of {@link Embedded }
342: *
343: */
344: public Embedded createEmbedded() {
345: return new Embedded();
346: }
347:
348: /**
349: * Create an instance of {@link EmptyType }
350: *
351: */
352: public EmptyType createEmptyType() {
353: return new EmptyType();
354: }
355:
356: /**
357: * Create an instance of {@link Attributes }
358: *
359: */
360: public Attributes createAttributes() {
361: return new Attributes();
362: }
363:
364: /**
365: * Create an instance of {@link IdClass }
366: *
367: */
368: public IdClass createIdClass() {
369: return new IdClass();
370: }
371:
372: /**
373: * Create an instance of {@link OneToMany }
374: *
375: */
376: public OneToMany createOneToMany() {
377: return new OneToMany();
378: }
379:
380: /**
381: * Create an instance of {@link PostLoad }
382: *
383: */
384: public PostLoad createPostLoad() {
385: return new PostLoad();
386: }
387:
388: /**
389: * Create an instance of {@link EntityListener }
390: *
391: */
392: public EntityListener createEntityListener() {
393: return new EntityListener();
394: }
395:
396: /**
397: * Create an instance of {@link EntityResult }
398: *
399: */
400: public EntityResult createEntityResult() {
401: return new EntityResult();
402: }
403:
404: /**
405: * Create an instance of {@link JoinTable }
406: *
407: */
408: public JoinTable createJoinTable() {
409: return new JoinTable();
410: }
411:
412: /**
413: * Create an instance of {@link AttributeOverride }
414: *
415: */
416: public AttributeOverride createAttributeOverride() {
417: return new AttributeOverride();
418: }
419:
420: /**
421: * Create an instance of {@link OneToOne }
422: *
423: */
424: public OneToOne createOneToOne() {
425: return new OneToOne();
426: }
427:
428: /**
429: * Create an instance of {@link NamedQuery }
430: *
431: */
432: public NamedQuery createNamedQuery() {
433: return new NamedQuery();
434: }
435:
436: /**
437: * Create an instance of {@link PostPersist }
438: *
439: */
440: public PostPersist createPostPersist() {
441: return new PostPersist();
442: }
443:
444: /**
445: * Create an instance of {@link Column }
446: *
447: */
448: public Column createColumn() {
449: return new Column();
450: }
451:
452: /**
453: * Create an instance of {@link Inheritance }
454: *
455: */
456: public Inheritance createInheritance() {
457: return new Inheritance();
458: }
459:
460: /**
461: * Create an instance of {@link PostRemove }
462: *
463: */
464: public PostRemove createPostRemove() {
465: return new PostRemove();
466: }
467:
468: }
|