Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkmoore2012-03-05 15:17:27 +0000
committerkmoore2012-03-05 15:17:27 +0000
commiteeccada92fc231d94cc5722e54ba59ef89f05f43 (patch)
tree9d600e0b0feac268eae014d82ca9d4fd4b8d02ae /jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/context
parentd1d939e4444d70a6de1d203b8c7e195fd358eecc (diff)
downloadwebtools.dali-eeccada92fc231d94cc5722e54ba59ef89f05f43.tar.gz
webtools.dali-eeccada92fc231d94cc5722e54ba59ef89f05f43.tar.xz
webtools.dali-eeccada92fc231d94cc5722e54ba59ef89f05f43.zip
Bug 369940 - [EclipseLink] dynamic persistence validation for parent-class attribute
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/context')
-rw-r--r--jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/context/orm/OrmTypeMapping.java25
1 files changed, 25 insertions, 0 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/context/orm/OrmTypeMapping.java b/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/context/orm/OrmTypeMapping.java
index 7f6e2bb071..6b4f177fea 100644
--- a/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/context/orm/OrmTypeMapping.java
+++ b/jpa/plugins/org.eclipse.jpt.jpa.core/src/org/eclipse/jpt/jpa/core/context/orm/OrmTypeMapping.java
@@ -67,6 +67,31 @@ public interface OrmTypeMapping
String OVERRIDE_METADATA_COMPLETE_PROPERTY = "overrideMetadataComplete"; //$NON-NLS-1$
+ // ********** parent class **********
+
+ /**
+ * <strong>NB:</strong> This may be an unqualified name to be prefixed by the
+ * entity mappings's package value.
+ *
+ * @see EntityMappings#getPackage()
+ */
+ String getParentClass();
+
+ String getFullyQualifiedParentClass();
+ String FULLY_QUALIFIED_PARENT_CLASS_PROPERTY = "fullyQualifiedParentClass"; //$NON-NLS-1$
+
+ String getSpecifiedParentClass();
+
+ /**
+ * @see #getParentClass()
+ */
+ void setSpecifiedParentClass(String parentClass);
+ String SPECIFIED_PARENT_CLASS_PROPERTY = "specifiedParentClass"; //$NON-NLS-1$
+
+ String getDefaultParentClass();
+ String DEFAULT_PARENT_CLASS_PROPERTY = "defaultParentClass"; //$NON-NLS-1$
+
+
// ********** XML **********
/**

Back to the top