org.eclipse.jpt.jaxb.core.context
Interface JaxbPersistentClass
- All Superinterfaces:
- org.eclipse.core.runtime.IAdaptable, IResourcePart, JavaContextNode, JaxbClass, JaxbContextNode, JaxbNode, JaxbPersistentType, JaxbType, Model, XmlAccessOrderHolder, XmlAccessTypeHolder, XmlAdaptable
public interface JaxbPersistentClass
- extends JaxbPersistentType, JaxbClass, XmlAdaptable
Represents a JAXB persistent class.
(A class with either an explicit or implicit @XmlType annotation)
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 classes/interfaces inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbType |
JaxbType.Kind |
| Methods inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbPersistentType |
addProp, getDefaultNamespace, getDefaultXmlTypeName, getFactoryClass, getFactoryMethod, getNamespace, getPropOrder, getPropOrderSize, getRootElement, getSpecifiedNamespace, getSpecifiedXmlTypeName, getXmlTypeName, getXsdTypeDefinition, isRootElement, moveProp, removeProp, removeProp, setFactoryClass, setFactoryMethod, setRootElement, setSpecifiedNamespace, setSpecifiedXmlTypeName |
| 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 |
XML_SEE_ALSO_PROPERTY
static final java.lang.String XML_SEE_ALSO_PROPERTY
- See Also:
- Constant Field Values
ATTRIBUTES_COLLECTION
static final java.lang.String ATTRIBUTES_COLLECTION
- See Also:
- Constant Field Values
INHERITED_ATTRIBUTES_COLLECTION
static final java.lang.String INHERITED_ATTRIBUTES_COLLECTION
- See Also:
- Constant Field Values
getXmlSeeAlso
XmlSeeAlso getXmlSeeAlso()
addXmlSeeAlso
XmlSeeAlso addXmlSeeAlso()
removeXmlSeeAlso
void removeXmlSeeAlso()
getAttributes
java.lang.Iterable<JaxbPersistentAttribute> getAttributes()
- attributes
getAttributesSize
int getAttributesSize()
getInheritedAttributes
java.lang.Iterable<JaxbPersistentAttribute> getInheritedAttributes()
- Inherited attributes come from any superclasses that are mapped as @XmlTransient.
- See Also:
JaxbClass.getSuperClass(),
JaxbClass.getInheritanceHierarchy()
getInheritedAttributesSize
int getInheritedAttributesSize()
isInherited
boolean isInherited(JaxbPersistentAttribute attribute)
- Return true if the given attribute is one of the inherited attributes.
getJavaResourceAttributeOwningTypeName
java.lang.String getJavaResourceAttributeOwningTypeName(JaxbPersistentAttribute attribute)
- Only ask this of inherited persistent attributes. Returns the simple
type name of the attribute's resource type.
- See Also:
JaxbPersistentAttribute.isInherited()
containsXmlId
boolean containsXmlId()
- Return true if 1 or more attributes include the @XmlId annotation