org.eclipse.jpt.jaxb.core.context
Interface JaxbClass

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IResourcePart, JavaContextNode, JaxbContextNode, JaxbNode, JaxbType, Model, XmlAccessOrderHolder, XmlAccessTypeHolder
All Known Subinterfaces:
JaxbPersistentClass, JaxbTransientClass

public interface JaxbClass
extends JaxbType, XmlAccessTypeHolder, XmlAccessOrderHolder

Represents a JAXB class.

Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.

Since:
3.0
Version:
3.0

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbType
JaxbType.Kind
 
Field Summary
static java.lang.String SUPER_CLASS_PROPERTY
           
 
Fields inherited from interface org.eclipse.jpt.jaxb.core.context.XmlAccessTypeHolder
DEFAULT_ACCESS_TYPE_PROPERTY, SPECIFIED_ACCESS_TYPE_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.jaxb.core.context.XmlAccessOrderHolder
DEFAULT_ACCESS_ORDER_PROPERTY, SPECIFIED_ACCESS_ORDER_PROPERTY
 
Method Summary
 java.lang.Iterable<JaxbClass> getAncestors()
          Return the persistent type's "persistence" inheritance hierarchy, excluding the persistent type itself.
 java.lang.Iterable<JaxbClass> getInheritanceHierarchy()
          Return the persistent type's "persistence" inheritance hierarchy, including the persistent type itself.
 JavaResourceType getJavaResourceType()
          covariant override
 JaxbClass getSuperClass()
           
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbType
getDirectlyReferencedTypeNames, getFullyQualifiedName, getJaxbPackage, getKind, getPackageName, getSimpleName, getTypeQualifiedName, validate
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.context.java.JavaContextNode
getJavaCompletionProposals, getValidationTextRange, validate
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbContextNode
getContextRoot, getResourceType, synchronizeWithResourceModel, update
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.JaxbNode
getJaxbProject, getParent, stateChanged
 
Methods inherited from interface org.eclipse.jpt.common.utility.model.Model
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.jpt.common.core.IResourcePart
getResource
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.context.XmlAccessTypeHolder
getAccessType, getDefaultAccessType, getSpecifiedAccessType, setSpecifiedAccessType
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.context.XmlAccessOrderHolder
getAccessOrder, getDefaultAccessOrder, getSpecifiedAccessOrder, setSpecifiedAccessOrder
 

Field Detail

SUPER_CLASS_PROPERTY

static final java.lang.String SUPER_CLASS_PROPERTY
See Also:
Constant Field Values
Method Detail

getJavaResourceType

JavaResourceType getJavaResourceType()
covariant override

Specified by:
getJavaResourceType in interface JaxbType

getSuperClass

JaxbClass getSuperClass()

getInheritanceHierarchy

java.lang.Iterable<JaxbClass> getInheritanceHierarchy()
Return the persistent type's "persistence" inheritance hierarchy, including the persistent type itself. The returned iterator will return elements infinitely if the hierarchy has a loop. This includes classes annotated with @XmlTransient.


getAncestors

java.lang.Iterable<JaxbClass> getAncestors()
Return the persistent type's "persistence" inheritance hierarchy, excluding the persistent type itself. The returned iterator will return elements infinitely if the hierarchy has a loop. This includes classes annotated with @XmlTransient.