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

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IResourcePart, JavaContextNode, JaxbAttributeMapping, JaxbContextNode, JaxbNode, Model, XmlAdaptable
All Known Subinterfaces:
XmlAttributeMapping, XmlElementMapping

public interface JaxbContainmentMapping
extends JaxbAttributeMapping, XmlAdaptable

Represents a JAXB containment mappings (xml element/attribute)

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_REQUIRED
           
static java.lang.String SPECIFIED_NAME_PROPERTY
           
static java.lang.String SPECIFIED_NAMESPACE_PROPERTY
           
static java.lang.String SPECIFIED_REQUIRED_PROPERTY
           
static java.lang.String XML_ATTACHMENT_REF_PROPERTY
           
static java.lang.String XML_ID_PROPERTY
           
static java.lang.String XML_IDREF_PROPERTY
           
static java.lang.String XML_LIST_PROPERTY
           
static java.lang.String 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
 XmlAttachmentRef addXmlAttachmentRef()
           
 XmlID addXmlID()
           
 XmlIDREF addXmlIDREF()
           
 XmlList addXmlList()
           
 XmlSchemaType addXmlSchemaType()
           
 java.lang.String getDefaultName()
           
 java.lang.String getDefaultNamespace()
           
 java.lang.String getName()
           
 java.lang.String getNamespace()
           
 java.lang.String getSpecifiedName()
           
 java.lang.String getSpecifiedNamespace()
           
 java.lang.Boolean getSpecifiedRequired()
           
 XmlAttachmentRef getXmlAttachmentRef()
          XmlAttachmentRef
 XmlID getXmlID()
          XmlID
 XmlIDREF getXmlIDREF()
          XmlIDREF
 XmlList getXmlList()
          XmlList
 XmlSchemaType getXmlSchemaType()
          Return the xml schema type or null.
 boolean hasXmlSchemaType()
          Return whether this class has an XmlSchemaType annotation)
 boolean isDefaultRequired()
           
 boolean isRequired()
           
 void removeXmlAttachmentRef()
           
 void removeXmlID()
           
 void removeXmlIDREF()
           
 void removeXmlList()
           
 void removeXmlSchemaType()
           
 void setSpecifiedName(java.lang.String name)
           
 void setSpecifiedNamespace(java.lang.String namespace)
           
 void setSpecifiedRequired(java.lang.Boolean specifiedRequired)
           
 
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

SPECIFIED_NAME_PROPERTY

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

DEFAULT_REQUIRED

static final boolean DEFAULT_REQUIRED
See Also:
Constant Field Values

SPECIFIED_REQUIRED_PROPERTY

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

SPECIFIED_NAMESPACE_PROPERTY

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

XML_SCHEMA_TYPE

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

XML_LIST_PROPERTY

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

XML_ID_PROPERTY

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

XML_IDREF_PROPERTY

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

XML_ATTACHMENT_REF_PROPERTY

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

getName

java.lang.String getName()

getDefaultName

java.lang.String getDefaultName()

getSpecifiedName

java.lang.String getSpecifiedName()

setSpecifiedName

void setSpecifiedName(java.lang.String name)

isRequired

boolean isRequired()

isDefaultRequired

boolean isDefaultRequired()

getSpecifiedRequired

java.lang.Boolean getSpecifiedRequired()

setSpecifiedRequired

void setSpecifiedRequired(java.lang.Boolean specifiedRequired)

getNamespace

java.lang.String getNamespace()

getDefaultNamespace

java.lang.String getDefaultNamespace()

getSpecifiedNamespace

java.lang.String getSpecifiedNamespace()

setSpecifiedNamespace

void setSpecifiedNamespace(java.lang.String namespace)

hasXmlSchemaType

boolean hasXmlSchemaType()
Return whether this class has an XmlSchemaType annotation)


getXmlSchemaType

XmlSchemaType getXmlSchemaType()
Return the xml schema type or null.


addXmlSchemaType

XmlSchemaType addXmlSchemaType()

removeXmlSchemaType

void removeXmlSchemaType()

getXmlList

XmlList getXmlList()
XmlList


addXmlList

XmlList addXmlList()

removeXmlList

void removeXmlList()

getXmlID

XmlID getXmlID()
XmlID


addXmlID

XmlID addXmlID()

removeXmlID

void removeXmlID()

getXmlIDREF

XmlIDREF getXmlIDREF()
XmlIDREF


addXmlIDREF

XmlIDREF addXmlIDREF()

removeXmlIDREF

void removeXmlIDREF()

getXmlAttachmentRef

XmlAttachmentRef getXmlAttachmentRef()
XmlAttachmentRef


addXmlAttachmentRef

XmlAttachmentRef addXmlAttachmentRef()

removeXmlAttachmentRef

void removeXmlAttachmentRef()