|
Lines 17-23
Link Here
|
| 17 |
import org.eclipse.jpt.common.utility.internal.iterables.FilteringIterable; |
17 |
import org.eclipse.jpt.common.utility.internal.iterables.FilteringIterable; |
| 18 |
import org.eclipse.jpt.common.utility.internal.iterables.TransformationIterable; |
18 |
import org.eclipse.jpt.common.utility.internal.iterables.TransformationIterable; |
| 19 |
import org.eclipse.jpt.jpa.core.context.AttributeMapping; |
19 |
import org.eclipse.jpt.jpa.core.context.AttributeMapping; |
|
|
20 |
import org.eclipse.jpt.jpa.core.context.Query; |
| 20 |
import org.eclipse.jpt.jpa.core.context.orm.OrmPersistentType; |
21 |
import org.eclipse.jpt.jpa.core.context.orm.OrmPersistentType; |
|
|
22 |
import org.eclipse.jpt.jpa.core.context.orm.OrmQueryContainer; |
| 21 |
import org.eclipse.jpt.jpa.core.internal.context.JptValidator; |
23 |
import org.eclipse.jpt.jpa.core.internal.context.JptValidator; |
| 22 |
import org.eclipse.jpt.jpa.core.internal.context.orm.AbstractOrmMappedSuperclass; |
24 |
import org.eclipse.jpt.jpa.core.internal.context.orm.AbstractOrmMappedSuperclass; |
| 23 |
import org.eclipse.jpt.jpa.core.jpa2.context.orm.OrmCacheable2_0; |
25 |
import org.eclipse.jpt.jpa.core.jpa2.context.orm.OrmCacheable2_0; |
|
Lines 61-66
Link Here
|
| 61 |
|
63 |
|
| 62 |
protected final OrmEclipseLinkMultitenancy multitenancy; |
64 |
protected final OrmEclipseLinkMultitenancy multitenancy; |
| 63 |
|
65 |
|
|
|
66 |
protected final OrmQueryContainer queryContainer; |
| 64 |
|
67 |
|
| 65 |
public OrmEclipseLinkMappedSuperclassImpl(OrmPersistentType parent, XmlMappedSuperclass xmlMappedSuperclass) { |
68 |
public OrmEclipseLinkMappedSuperclassImpl(OrmPersistentType parent, XmlMappedSuperclass xmlMappedSuperclass) { |
| 66 |
super(parent, xmlMappedSuperclass); |
69 |
super(parent, xmlMappedSuperclass); |
|
Lines 70-75
Link Here
|
| 70 |
this.changeTracking = this.buildChangeTracking(); |
73 |
this.changeTracking = this.buildChangeTracking(); |
| 71 |
this.customizer = this.buildCustomizer(); |
74 |
this.customizer = this.buildCustomizer(); |
| 72 |
this.multitenancy = this.buildMultitenancy(); |
75 |
this.multitenancy = this.buildMultitenancy(); |
|
|
76 |
this.queryContainer = this.buildQueryContainer(); |
| 73 |
} |
77 |
} |
| 74 |
|
78 |
|
| 75 |
|
79 |
|
|
Lines 84-89
Link Here
|
| 84 |
this.changeTracking.synchronizeWithResourceModel(); |
88 |
this.changeTracking.synchronizeWithResourceModel(); |
| 85 |
this.customizer.synchronizeWithResourceModel(); |
89 |
this.customizer.synchronizeWithResourceModel(); |
| 86 |
this.multitenancy.synchronizeWithResourceModel(); |
90 |
this.multitenancy.synchronizeWithResourceModel(); |
|
|
91 |
this.queryContainer.synchronizeWithResourceModel(); |
| 87 |
} |
92 |
} |
| 88 |
|
93 |
|
| 89 |
@Override |
94 |
@Override |
|
Lines 95-100
Link Here
|
| 95 |
this.changeTracking.update(); |
100 |
this.changeTracking.update(); |
| 96 |
this.customizer.update(); |
101 |
this.customizer.update(); |
| 97 |
this.multitenancy.update(); |
102 |
this.multitenancy.update(); |
|
|
103 |
this.queryContainer.update(); |
| 98 |
} |
104 |
} |
| 99 |
|
105 |
|
| 100 |
|
106 |
|
|
Lines 186-191
Link Here
|
| 186 |
return JptJpaEclipseLinkCorePlugin.nodeIsEclipseLink2_3Compatible(this); |
192 |
return JptJpaEclipseLinkCorePlugin.nodeIsEclipseLink2_3Compatible(this); |
| 187 |
} |
193 |
} |
| 188 |
|
194 |
|
|
|
195 |
// ********** query container ********** |
| 196 |
|
| 197 |
public OrmQueryContainer getQueryContainer() { |
| 198 |
return this.queryContainer; |
| 199 |
} |
| 200 |
|
| 201 |
protected OrmQueryContainer buildQueryContainer() { |
| 202 |
return this.getContextNodeFactory().buildOrmQueryContainer(this, this.xmlTypeMapping); |
| 203 |
} |
| 204 |
|
| 205 |
@Override |
| 206 |
public Iterable<Query> getQueries() { |
| 207 |
return this.queryContainer.getQueries(); |
| 208 |
} |
| 189 |
|
209 |
|
| 190 |
// ********** misc ********** |
210 |
// ********** misc ********** |
| 191 |
|
211 |
|