Dali Provisional API
Release 3.2

org.eclipse.jpt.jaxb.eclipselink.core.context
Interface ELXmlNamedNodeMapping

All Superinterfaces:
ELXmlPathMapping, IAdaptable, JaxbAttributeMapping, JaxbContextNode, JaxbNode, JptResourceTypeReference, Model, XmlAdaptable, XmlAdaptableMapping, XmlNamedNodeMapping, XmlNodeMapping
All Known Subinterfaces:
ELXmlAttributeMapping, ELXmlElementMapping

public interface ELXmlNamedNodeMapping
extends XmlNamedNodeMapping, ELXmlPathMapping

Common interface for ELXmlElementMapping and ELXmlAttributeMapping 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.2

Nested Class Summary
static class ELXmlNamedNodeMapping.HasXmlKey
           
static class ELXmlNamedNodeMapping.XPathTransformer
           
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jaxb.core.context.XmlNamedNodeMapping
XmlNamedNodeMapping.HasXmlID, XmlNamedNodeMapping.IsNamedNodeMapping
 
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.ResourceTypeIsKindOf, JptResourceTypeReference.ResourceTypeTransformer
 
Field Summary
static org.eclipse.jpt.common.utility.predicate.Predicate<ELXmlNamedNodeMapping> HAS_KEY
           
static org.eclipse.jpt.common.utility.predicate.Predicate<ELXmlNamedNodeMapping> HAS_XML_KEY
           
static org.eclipse.jpt.common.utility.transformer.Transformer<ELXmlNamedNodeMapping,String> X_PATH_TRANSFORMER
           
static String XML_KEY_PROPERTY
          String associated with changes to the xmlKey property
 
Fields inherited from interface org.eclipse.jpt.jaxb.core.context.XmlNamedNodeMapping
HAS_XML_ID, IS_NAMED_NODE_MAPPING, XML_ATTACHMENT_REF_PROPERTY, XML_ID_PROPERTY, XML_IDREF_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.jaxb.core.context.XmlNodeMapping
DEFAULT_XML_LIST_PROPERTY, SPECIFIED_XML_LIST_PROPERTY, XML_SCHEMA_TYPE_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbAttributeMapping
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
TRANSFORMER
 
Fields inherited from interface org.eclipse.jpt.jaxb.eclipselink.core.context.ELXmlPathMapping
XML_PATH_PROPERTY
 
Method Summary
 ELXmlKey addXmlKey()
          Add (and return) an xmlKey property value.
 ELXmlKey getXmlKey()
          Return the xmlKey property value.
 String getXPath()
          Return an XPath to represent this attribute mapping.
 void removeXmlKey()
          Remove the xmlKey property value.
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.context.XmlNamedNodeMapping
addXmlAttachmentRef, addXmlID, addXmlIDREF, getXmlAttachmentRef, getXmlID, getXmlIDREF, getXsdFeature, removeXmlAttachmentRef, removeXmlID, removeXmlIDREF
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.context.XmlNodeMapping
addXmlSchemaType, getXmlSchemaType, isDefaultXmlList, isSpecifiedXmlList, isXmlList, removeXmlSchemaType, setSpecifiedXmlList
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbAttributeMapping
getBoundTypeName, getClassMapping, getDataTypeName, getDataTypeXsdTypeDefinition, getKey, getPersistentAttribute, getReferencedXmlTypeNames, getValueTypeName, 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
 
Methods inherited from interface org.eclipse.jpt.jaxb.eclipselink.core.context.ELXmlPathMapping
addXmlPath, getXmlPath, removeXmlPath
 

Field Detail

XML_KEY_PROPERTY

static final String XML_KEY_PROPERTY
String associated with changes to the xmlKey property

See Also:
Constant Field Values

HAS_XML_KEY

static final org.eclipse.jpt.common.utility.predicate.Predicate<ELXmlNamedNodeMapping> HAS_XML_KEY

HAS_KEY

static final org.eclipse.jpt.common.utility.predicate.Predicate<ELXmlNamedNodeMapping> HAS_KEY

X_PATH_TRANSFORMER

static final org.eclipse.jpt.common.utility.transformer.Transformer<ELXmlNamedNodeMapping,String> X_PATH_TRANSFORMER
Method Detail

getXmlKey

ELXmlKey getXmlKey()
Return the xmlKey property value. A null indicates it is not specified.


addXmlKey

ELXmlKey addXmlKey()
Add (and return) an xmlKey property value. (Specifies the property)


removeXmlKey

void removeXmlKey()
Remove the xmlKey property value. (Unspecifies the property)


getXPath

String getXPath()
Return an XPath to represent this attribute mapping. Return null if no valid XPath can be constructed. (Trivial if this mapping has an XmlPath annotation)


Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.