blob: ce351c024521430982c8218e96db72e30c928736 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
/*******************************************************************************
* Copyright (c) 2009 Oracle. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0, which accompanies this distribution
* and is available at http://www.eclipse.org/legal/epl-v10.html.
*
* Contributors:
* Oracle - initial API and implementation
******************************************************************************/
package org.eclipse.jpt.core.jpa2.context.orm;
import org.eclipse.jpt.core.context.orm.OrmAssociationOverrideContainer;
import org.eclipse.jpt.core.context.orm.OrmPersistentAttribute;
import org.eclipse.jpt.core.context.orm.OrmTypeMapping;
import org.eclipse.jpt.core.context.orm.OrmXmlContextNodeFactory;
import org.eclipse.jpt.core.jpa2.context.java.JavaElementCollectionMapping2_0;
import org.eclipse.jpt.core.resource.orm.XmlAssociationOverrideContainer;
import org.eclipse.jpt.core.resource.orm.XmlElementCollection;
import org.eclipse.jpt.core.resource.orm.v2_0.XmlCacheable_2_0;
import org.eclipse.jpt.core.resource.orm.v2_0.XmlDerivedId_2_0;
import org.eclipse.jpt.core.resource.orm.v2_0.XmlMapsId_2_0;
import org.eclipse.jpt.core.resource.orm.v2_0.XmlOrphanRemovable_2_0;
public interface OrmXml2_0ContextNodeFactory extends OrmXmlContextNodeFactory
{
// ********** ORM Context Model **********
OrmAssociationOverrideContainer buildOrmAssociationOverrideContainer(
OrmEmbeddedMapping2_0 parent,
OrmAssociationOverrideContainer.Owner owner,
XmlAssociationOverrideContainer resourceAssociationOverrideContainer);
OrmDerivedId2_0 buildOrmDerivedId(
OrmSingleRelationshipMapping2_0 parent, XmlDerivedId_2_0 resource);
OrmElementCollectionMapping2_0 buildOrmElementCollectionMapping2_0(
OrmPersistentAttribute parent, XmlElementCollection resourceMapping);
OrmMapsId2_0 buildOrmMapsId(
OrmSingleRelationshipMapping2_0 parent, XmlMapsId_2_0 resource);
XmlElementCollection buildVirtualXmlElementCollection2_0(
OrmTypeMapping ormTypeMapping, JavaElementCollectionMapping2_0 javaMapping);
OrmCacheable2_0 buildOrmCacheable(OrmCacheableHolder2_0 parent, XmlCacheable_2_0 resource);
OrmOrphanRemovable2_0 buildOrmOrphanRemoval(OrmOrphanRemovalHolder2_0 parent, XmlOrphanRemovable_2_0 resource);
}
|