Dali Provisional API
Release 3.2

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

All Superinterfaces:
IAdaptable, JaxbAttributeMapping, JaxbContextNode, JaxbNode, JptResourceTypeReference, Model, XmlAdaptable, XmlAdaptableMapping
All Known Subinterfaces:
ELXmlElementsMapping

public interface XmlElementsMapping
extends JaxbAttributeMapping, XmlAdaptableMapping

Represents a JAXB xml elements mapping (@XmlElements)

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

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbAttributeMapping
JaxbAttributeMapping.ReferencedXmlTypeNamesTransformer
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
JptResourceTypeReference.ResourceTypeTransformer
 
Field Summary
static String XML_ELEMENT_WRAPPER_PROPERTY
           
static String XML_ELEMENTS_LIST
           
static String XML_IDREF_PROPERTY
           
 
Fields inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbAttributeMapping
DEFAULT_PROPERTY, REFERENCED_XML_TYPE_NAMES_TRANSFORMER
 
Fields inherited from interface org.eclipse.jpt.jaxb.core.context.XmlAdaptable
XML_JAVA_TYPE_ADAPTER_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
RESOURCE_TYPE_TRANSFORMER
 
Method Summary
 XmlElement addXmlElement(int index)
           
 XmlElementWrapper addXmlElementWrapper()
           
 XmlIDREF addXmlIDREF()
           
 org.eclipse.jpt.common.utility.iterable.ListIterable<XmlElement> getXmlElements()
           
 int getXmlElementsSize()
           
 XmlElementWrapper getXmlElementWrapper()
           
 XmlIDREF getXmlIDREF()
           
 void moveXmlElement(int targetIndex, int sourceIndex)
           
 void removeXmlElement(int index)
           
 void removeXmlElement(XmlElement xmlElement)
           
 void removeXmlElementWrapper()
           
 void removeXmlIDREF()
           
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbAttributeMapping
getBoundTypeName, getClassMapping, getDataTypeName, getDataTypeXsdTypeDefinition, getJavaResourceAttribute, getKey, getPersistentAttribute, getReferencedXmlTypeNames, getValueTypeName, isDefault, isParticleMapping, isTransient
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.context.XmlAdaptableMapping
getXmlAdapter
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.context.XmlAdaptable
addXmlJavaTypeAdapter, getXmlJavaTypeAdapter, removeXmlJavaTypeAdapter
 
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

XML_ELEMENTS_LIST

static final String XML_ELEMENTS_LIST
See Also:
Constant Field Values

XML_ELEMENT_WRAPPER_PROPERTY

static final String XML_ELEMENT_WRAPPER_PROPERTY
See Also:
Constant Field Values

XML_IDREF_PROPERTY

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

getXmlElements

org.eclipse.jpt.common.utility.iterable.ListIterable<XmlElement> getXmlElements()

getXmlElementsSize

int getXmlElementsSize()

addXmlElement

XmlElement addXmlElement(int index)

removeXmlElement

void removeXmlElement(int index)

removeXmlElement

void removeXmlElement(XmlElement xmlElement)

moveXmlElement

void moveXmlElement(int targetIndex,
                    int sourceIndex)

getXmlElementWrapper

XmlElementWrapper getXmlElementWrapper()

addXmlElementWrapper

XmlElementWrapper addXmlElementWrapper()

removeXmlElementWrapper

void removeXmlElementWrapper()

getXmlIDREF

XmlIDREF getXmlIDREF()

addXmlIDREF

XmlIDREF addXmlIDREF()

removeXmlIDREF

void removeXmlIDREF()

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.