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

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IResourcePart, JavaContextNode, JaxbAttributeMapping, JaxbContainmentMapping, JaxbContextNode, JaxbNode, Model, XmlAdaptable

public interface XmlElementMapping
extends JaxbContainmentMapping

Represents a JAXB xml element mapping (@XmlElement)

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.XmlAdaptable
XmlAdaptable.Owner
 
Field Summary
static boolean DEFAULT_NILLABLE
           
static java.lang.String DEFAULT_VALUE_PROPERTY
           
static java.lang.String SPECIFIED_NILLABLE_PROPERTY
           
static java.lang.String SPECIFIED_TYPE_PROPERTY
           
static java.lang.String XML_ELEMENT_WRAPPER_PROPERTY
           
 
Fields inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbContainmentMapping
DEFAULT_REQUIRED, SPECIFIED_NAME_PROPERTY, SPECIFIED_NAMESPACE_PROPERTY, SPECIFIED_REQUIRED_PROPERTY, XML_ATTACHMENT_REF_PROPERTY, XML_ID_PROPERTY, XML_IDREF_PROPERTY, XML_LIST_PROPERTY, XML_SCHEMA_TYPE
 
Fields inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbAttributeMapping
DEFAULT_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.jaxb.core.context.XmlAdaptable
XML_JAVA_TYPE_ADAPTER_PROPERTY
 
Method Summary
 XmlElementWrapper addXmlElementWrapper()
           
 java.lang.String getDefaultType()
           
 java.lang.String getDefaultValue()
           
 java.lang.Boolean getSpecifiedNillable()
           
 java.lang.String getSpecifiedType()
           
 java.lang.String getType()
           
 XmlElementWrapper getXmlElementWrapper()
          XmlElementWrapper
 boolean isDefaultNillable()
           
 boolean isNillable()
           
 void removeXmlElementWrapper()
           
 void setDefaultValue(java.lang.String defaultValue)
           
 void setSpecifiedNillable(java.lang.Boolean specifiedNillable)
           
 void setSpecifiedType(java.lang.String type)
           
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbContainmentMapping
addXmlAttachmentRef, addXmlID, addXmlIDREF, addXmlList, addXmlSchemaType, getDefaultName, getDefaultNamespace, getName, getNamespace, getSpecifiedName, getSpecifiedNamespace, getSpecifiedRequired, getXmlAttachmentRef, getXmlID, getXmlIDREF, getXmlList, getXmlSchemaType, hasXmlSchemaType, isDefaultRequired, isRequired, removeXmlAttachmentRef, removeXmlID, removeXmlIDREF, removeXmlList, removeXmlSchemaType, setSpecifiedName, setSpecifiedNamespace, setSpecifiedRequired
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbAttributeMapping
getDirectlyReferencedTypeNames, getJavaResourceAttribute, getKey, getParent, isDefault, updateDefault
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.context.XmlAdaptable
addXmlJavaTypeAdapter, getXmlJavaTypeAdapter, removeXmlJavaTypeAdapter
 
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, 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
 

Field Detail

DEFAULT_NILLABLE

static final boolean DEFAULT_NILLABLE
See Also:
Constant Field Values

SPECIFIED_NILLABLE_PROPERTY

static final java.lang.String SPECIFIED_NILLABLE_PROPERTY
See Also:
Constant Field Values

DEFAULT_VALUE_PROPERTY

static final java.lang.String DEFAULT_VALUE_PROPERTY
See Also:
Constant Field Values

SPECIFIED_TYPE_PROPERTY

static final java.lang.String SPECIFIED_TYPE_PROPERTY
See Also:
Constant Field Values

XML_ELEMENT_WRAPPER_PROPERTY

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

isNillable

boolean isNillable()

isDefaultNillable

boolean isDefaultNillable()

getSpecifiedNillable

java.lang.Boolean getSpecifiedNillable()

setSpecifiedNillable

void setSpecifiedNillable(java.lang.Boolean specifiedNillable)

getDefaultValue

java.lang.String getDefaultValue()

setDefaultValue

void setDefaultValue(java.lang.String defaultValue)

getType

java.lang.String getType()

getDefaultType

java.lang.String getDefaultType()

getSpecifiedType

java.lang.String getSpecifiedType()

setSpecifiedType

void setSpecifiedType(java.lang.String type)

getXmlElementWrapper

XmlElementWrapper getXmlElementWrapper()
XmlElementWrapper


addXmlElementWrapper

XmlElementWrapper addXmlElementWrapper()

removeXmlElementWrapper

void removeXmlElementWrapper()