Dali Provisional API
Release 3.2

org.eclipse.jpt.jaxb.eclipselink.core.context.oxm
Interface OxmJavaType

All Superinterfaces:
IAdaptable, JaxbClassMapping, JaxbContextNode, JaxbNode, JaxbTypeMapping, JptResourceTypeReference, Model, OxmTypeMapping, XmlAccessOrderHolder, XmlAccessTypeHolder

public interface OxmJavaType
extends OxmTypeMapping, JaxbClassMapping

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.3

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbClassMapping
JaxbClassMapping.AttributesTransformer, JaxbClassMapping.SuperClassTransformer
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
JptResourceTypeReference.ResourceTypeIsKindOf, JptResourceTypeReference.ResourceTypeTransformer
 
Field Summary
static String DEFAULT_SUPER_TYPE_NAME_PROPERTY
          String associated with changes to the "defaultSuperTypeName" property
static String SPECIFIED_ATTRIBUTES_LIST
           
static String SPECIFIED_NAME_PROPERTY
          String associated with changes to the "specifiedName" property
static String SPECIFIED_SUPER_TYPE_NAME_PROPERTY
          String associated with changes to the "specifiedSuperTypeName" property
static String SUPER_TYPE_NAME_PROPERTY
          String associated with changes to the "superTypeName" property
 
Fields inherited from interface org.eclipse.jpt.jaxb.eclipselink.core.context.oxm.OxmTypeMapping
DEFAULT_XML_ROOT_ELEMENT_PROPERTY, DEFAULT_XML_SEE_ALSO_PROPERTY, DEFAULT_XML_TRANSIENT_PROPERTY, JAVA_TYPE_PROPERTY, SPECIFIED_XML_ROOT_ELEMENT_PROPERTY, SPECIFIED_XML_SEE_ALSO_PROPERTY, SPECIFIED_XML_TRANSIENT_PROPERTY, TYPE_NAME_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbClassMapping
ATTRIBUTES_COLLECTION, ATTRIBUTES_TRANSFORMER, FACTORY_METHOD_PROPERTY, INCLUDED_ATTRIBUTES_COLLECTION, PROP_ORDER_LIST, SPECIFIED_FACTORY_CLASS_PROPERTY, SUPER_CLASS_TRANSFORMER, SUPERCLASS_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbTypeMapping
XML_ROOT_ELEMENT_PROPERTY, XML_SEE_ALSO_PROPERTY, XML_TRANSIENT_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.jaxb.core.context.XmlAccessTypeHolder
ACCESS_TYPE_PROPERTY, 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
 
Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
TRANSFORMER
 
Method Summary
 void attributeMappingChanged(OxmJavaAttribute attribute, OxmAttributeMapping oldMapping, OxmAttributeMapping newMapping)
           
 String getDefaultSuperTypeName()
          Return the default super-type name
 org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType getETypeMapping()
          Resource model element
 JavaClass getJavaType()
           
 org.eclipse.jpt.common.utility.iterable.ListIterable<OxmJavaAttribute> getSpecifiedAttributes()
           
 int getSpecifiedAttributesSize()
           
 String getSpecifiedName()
          Return the name specified in source
 String getSpecifiedSuperTypeName()
          Return the super-type name specified in source
 String getSuperTypeName()
          Return the super-type name (may be null)
 void setSpecifiedName(String newName)
          Set the name specified in source
 void setSpecifiedSuperTypeName(String newSuperTypeName)
          Set the super-type name in source
 
Methods inherited from interface org.eclipse.jpt.jaxb.eclipselink.core.context.oxm.OxmTypeMapping
addSpecifiedXmlRootElement, addSpecifiedXmlSeeAlso, getDefaultXmlRootElement, getDefaultXmlSeeAlso, getJaxbPackage, getSpecifiedXmlRootElement, getSpecifiedXmlSeeAlso, getSpecifiedXmlTransient, getXmlBindings, isDefaultXmlTransient, removeSpecifiedXmlRootElement, removeSpecifiedXmlSeeAlso, setSpecifiedXmlTransient
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbClassMapping
addProp, buildIncludedAttributesContainer, getAllLocallyDefinedAttributes, getAttributes, getAttributesSize, getFactoryClass, getFactoryMethod, getIncludedAttributes, getIncludedAttributesSize, getInheritedAttributes, getProp, getPropOrder, getPropOrderSize, getSpecifiedFactoryClass, getSuperclass, getXmlIdMapping, moveProp, removeProp, removeProp, setFactoryMethod, setSpecifiedFactoryClass
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbTypeMapping
getQName, getReferencedXmlTypeNames, getTypeKind, getTypeName, getXmlRootElement, getXmlSeeAlso, getXsdTypeDefinition, hasRootElementInHierarchy, isXmlTransient
 
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
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbContextNode
getCompletionProposals, getContextRoot, getValidationTextRange, synchronizeWithResourceModel, update, validate
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.JaxbNode
getJaxbProject, getParent, getResource, stateChanged
 
Methods inherited from interface org.eclipse.jpt.common.utility.model.Model
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
getResourceType
 

Field Detail

SPECIFIED_NAME_PROPERTY

static final String SPECIFIED_NAME_PROPERTY
String associated with changes to the "specifiedName" property

See Also:
Constant Field Values

SUPER_TYPE_NAME_PROPERTY

static final String SUPER_TYPE_NAME_PROPERTY
String associated with changes to the "superTypeName" property

See Also:
Constant Field Values

DEFAULT_SUPER_TYPE_NAME_PROPERTY

static final String DEFAULT_SUPER_TYPE_NAME_PROPERTY
String associated with changes to the "defaultSuperTypeName" property

See Also:
Constant Field Values

SPECIFIED_SUPER_TYPE_NAME_PROPERTY

static final String SPECIFIED_SUPER_TYPE_NAME_PROPERTY
String associated with changes to the "specifiedSuperTypeName" property

See Also:
Constant Field Values

SPECIFIED_ATTRIBUTES_LIST

static final String SPECIFIED_ATTRIBUTES_LIST
See Also:
Constant Field Values
Method Detail

getETypeMapping

org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EJavaType getETypeMapping()
Description copied from interface: OxmTypeMapping
Resource model element

Specified by:
getETypeMapping in interface OxmTypeMapping

getJavaType

JavaClass getJavaType()
Specified by:
getJavaType in interface OxmTypeMapping

getSpecifiedName

String getSpecifiedName()
Return the name specified in source


setSpecifiedName

void setSpecifiedName(String newName)
Set the name specified in source


getSuperTypeName

String getSuperTypeName()
Return the super-type name (may be null)


getDefaultSuperTypeName

String getDefaultSuperTypeName()
Return the default super-type name


getSpecifiedSuperTypeName

String getSpecifiedSuperTypeName()
Return the super-type name specified in source


setSpecifiedSuperTypeName

void setSpecifiedSuperTypeName(String newSuperTypeName)
Set the super-type name in source


getSpecifiedAttributes

org.eclipse.jpt.common.utility.iterable.ListIterable<OxmJavaAttribute> getSpecifiedAttributes()

getSpecifiedAttributesSize

int getSpecifiedAttributesSize()

attributeMappingChanged

void attributeMappingChanged(OxmJavaAttribute attribute,
                             OxmAttributeMapping oldMapping,
                             OxmAttributeMapping newMapping)

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.