Dali Provisional API
Release 3.2

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

All Superinterfaces:
IAdaptable, JaxbContextNode, JaxbNode, JptResourceTypeReference, 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

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
JptResourceTypeReference.ResourceTypeTransformer
 
Field Summary
static String DEFAULT_DEFAULT_VALUE
           
static String DEFAULT_SCOPE_CLASS_NAME
           
static String DEFAULT_VALUE_PROPERTY
          Corresponds to the XmlElementDecl annotation 'defaultValue' element
static String SCOPE_PROPERTY
          Corresponds to the XmlElementDecl annotation 'scope' element
 
Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
RESOURCE_TYPE_TRANSFORMER
 
Method Summary
 String getDefaultValue()
           
 String getFullyQualifiedScope()
           
 String getName()
          Return the method name
 JaxbQName getQName()
           
 JavaResourceMethod getResourceMethod()
           
 String getScope()
           
 JaxbQName getSubstitutionHeadQName()
           
 boolean isGlobalScope()
          Return true if the scope is default or is specified to be XmlElementDecl.GLOBAL.
 void setDefaultValue(String defaultValue)
           
 void setScope(String scope)
           
 
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

SCOPE_PROPERTY

static final String SCOPE_PROPERTY
Corresponds to the XmlElementDecl annotation 'scope' element

See Also:
Constant Field Values

DEFAULT_SCOPE_CLASS_NAME

static final String DEFAULT_SCOPE_CLASS_NAME
See Also:
Constant Field Values

DEFAULT_VALUE_PROPERTY

static final String DEFAULT_VALUE_PROPERTY
Corresponds to the XmlElementDecl annotation 'defaultValue' element

See Also:
Constant Field Values

DEFAULT_DEFAULT_VALUE

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

getResourceMethod

JavaResourceMethod getResourceMethod()

getName

String getName()
Return the method name


getScope

String getScope()

setScope

void setScope(String scope)

getFullyQualifiedScope

String getFullyQualifiedScope()

isGlobalScope

boolean isGlobalScope()
Return true if the scope is default or is specified to be XmlElementDecl.GLOBAL.


getQName

JaxbQName getQName()

getSubstitutionHeadQName

JaxbQName getSubstitutionHeadQName()

getDefaultValue

String getDefaultValue()

setDefaultValue

void setDefaultValue(String defaultValue)

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.