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

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IResourcePart, JaxbContextNode, JaxbNode, Model

public interface JaxbElementFactoryMethod
extends JaxbContextNode

Represents a JAXB element factory method (A method inside an object factory (@XmlRegistry) with an explicit @XmlElementDecl annotation)

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

Field Summary
static java.lang.String DEFAULT_DEFAULT_VALUE
           
static java.lang.String DEFAULT_NAMESPACE
           
static java.lang.String DEFAULT_SCOPE_CLASS_NAME
           
static java.lang.String DEFAULT_SUBSTIUTION_HEAD_NAME
           
static java.lang.String DEFAULT_SUBSTIUTION_HEAD_NAMESPACE
           
static java.lang.String DEFAULT_VALUE_PROPERTY
           
static java.lang.String ELEMENT_NAME_PROPERTY
           
static java.lang.String NAMESPACE_PROPERTY
           
static java.lang.String SCOPE_PROPERTY
           
static java.lang.String SUBSTIUTION_HEAD_NAME_PROPERTY
           
static java.lang.String SUBSTIUTION_HEAD_NAMESPACE_PROPERTY
           
 
Method Summary
 java.lang.String getDefaultValue()
          Corresponds to the XmlElementDecl annotation 'defaultValue' element
 java.lang.String getElementName()
          Corresponds to the XmlElementDecl annotation 'name' element
 java.lang.String getName()
          Return the method name
 java.lang.String getNamespace()
          Corresponds to the XmlElementDecl annotation 'namespace' element
 JavaResourceMethod getResourceMethod()
           
 java.lang.String getScope()
          Corresponds to the XmlElementDecl annotation 'scope' element
 java.lang.String getSubstitutionHeadName()
          Corresponds to the XmlElementDecl annotation 'substitutionHeadName' element
 java.lang.String getSubstitutionHeadNamespace()
          Corresponds to the XmlElementDecl annotation 'substitutionHeadNamespace' element
 void setDefaultValue(java.lang.String defaultValue)
           
 void setElementName(java.lang.String elementName)
           
 void setNamespace(java.lang.String namespace)
           
 void setScope(java.lang.String scope)
           
 void setSubstitutionHeadName(java.lang.String substitutionHeadName)
           
 void setSubstitutionHeadNamespace(java.lang.String substitutionHeadNamespace)
           
 
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, getParent, 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

ELEMENT_NAME_PROPERTY

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

DEFAULT_VALUE_PROPERTY

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

DEFAULT_DEFAULT_VALUE

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

NAMESPACE_PROPERTY

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

DEFAULT_NAMESPACE

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

SUBSTIUTION_HEAD_NAME_PROPERTY

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

DEFAULT_SUBSTIUTION_HEAD_NAME

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

SUBSTIUTION_HEAD_NAMESPACE_PROPERTY

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

DEFAULT_SUBSTIUTION_HEAD_NAMESPACE

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

SCOPE_PROPERTY

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

DEFAULT_SCOPE_CLASS_NAME

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

getResourceMethod

JavaResourceMethod getResourceMethod()

getName

java.lang.String getName()
Return the method name


getElementName

java.lang.String getElementName()
Corresponds to the XmlElementDecl annotation 'name' element


setElementName

void setElementName(java.lang.String elementName)

getDefaultValue

java.lang.String getDefaultValue()
Corresponds to the XmlElementDecl annotation 'defaultValue' element


setDefaultValue

void setDefaultValue(java.lang.String defaultValue)

getNamespace

java.lang.String getNamespace()
Corresponds to the XmlElementDecl annotation 'namespace' element


setNamespace

void setNamespace(java.lang.String namespace)

getSubstitutionHeadName

java.lang.String getSubstitutionHeadName()
Corresponds to the XmlElementDecl annotation 'substitutionHeadName' element


setSubstitutionHeadName

void setSubstitutionHeadName(java.lang.String substitutionHeadName)

getSubstitutionHeadNamespace

java.lang.String getSubstitutionHeadNamespace()
Corresponds to the XmlElementDecl annotation 'substitutionHeadNamespace' element


setSubstitutionHeadNamespace

void setSubstitutionHeadNamespace(java.lang.String substitutionHeadNamespace)

getScope

java.lang.String getScope()
Corresponds to the XmlElementDecl annotation 'scope' element


setScope

void setScope(java.lang.String scope)