Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/context/JaxbClass.java')
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/context/JaxbClass.java40
1 files changed, 14 insertions, 26 deletions
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/context/JaxbClass.java b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/context/JaxbClass.java
index f115e68553..6a85bf3de7 100644
--- a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/context/JaxbClass.java
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/context/JaxbClass.java
@@ -12,7 +12,7 @@ package org.eclipse.jpt.jaxb.core.context;
import org.eclipse.jpt.common.core.resource.java.JavaResourceType;
/**
- * Represents a JAXB class.
+ * Represents a <i>class</i> in a JAXB context.
* <p>
* Provisional API: This interface is part of an interim API that is still
* under development and expected to change significantly before reaching
@@ -24,30 +24,18 @@ import org.eclipse.jpt.common.core.resource.java.JavaResourceType;
* @since 3.0
*/
public interface JaxbClass
- extends JaxbType, XmlAccessTypeHolder, XmlAccessOrderHolder {
-
- /**
- * covariant override
- */
+ extends JaxbType {
+
+ // ***** overrides *****
+
JavaResourceType getJavaResourceType();
-
- JaxbClass getSuperClass();
- String SUPER_CLASS_PROPERTY = "superClass"; //$NON-NLS-1$
-
- /**
- * Return the persistent type's "persistence" inheritance hierarchy,
- * <em>including</em> the persistent type itself.
- * The returned iterator will return elements infinitely if the hierarchy
- * has a loop. This includes classes annotated with @XmlTransient.
- */
- Iterable<JaxbClass> getInheritanceHierarchy();
-
- /**
- * Return the persistent type's "persistence" inheritance hierarchy,
- * <em>excluding</em> the persistent type itself.
- * The returned iterator will return elements infinitely if the hierarchy
- * has a loop. This includes classes annotated with @XmlTransient.
- */
- Iterable<JaxbClass> getAncestors();
-
+
+ public JaxbClassMapping getMapping();
+
+
+ // ***** XmlRegistry *****
+
+ String XML_REGISTRY_PROPERTY = "xmlRegistry"; //$NON-NLS-1$
+
+ XmlRegistry getXmlRegistry();
}

Back to the top