Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/context/persistence/EclipseLinkPersistenceUnit.java')
-rw-r--r--jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/context/persistence/EclipseLinkPersistenceUnit.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/context/persistence/EclipseLinkPersistenceUnit.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/context/persistence/EclipseLinkPersistenceUnit.java
index 86585806f0..7a5156eacc 100644
--- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/context/persistence/EclipseLinkPersistenceUnit.java
+++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/context/persistence/EclipseLinkPersistenceUnit.java
@@ -100,6 +100,15 @@ public class EclipseLinkPersistenceUnit
* String constant associated with changes to the implied eclipselink mapping file ref
*/
public static final String IMPLIED_ECLIPSELINK_MAPPING_FILE_REF_PROPERTY = "impliedEclipseLinkMappingFileRef"; //$NON-NLS-1$
+ public static final Transformer<EclipseLinkPersistenceUnit, MappingFileRef> IMPLIED_ECLIPSELINK_MAPPING_FILE_REF_TRANSFORMER = new ImpliedEclipseLinkMappingFileRefTransformer();
+ public static class ImpliedEclipseLinkMappingFileRefTransformer
+ extends TransformerAdapter<EclipseLinkPersistenceUnit, MappingFileRef>
+ {
+ @Override
+ public MappingFileRef transform(EclipseLinkPersistenceUnit pu) {
+ return pu.getImpliedEclipseLinkMappingFileRef();
+ }
+ }
/**
* Store the implied EL mapping file ref even if it is not part of the context model.

Back to the top