Dali Provisional API
Release 3.2

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

All Superinterfaces:
IAdaptable, JaxbContextNode, JaxbNode, JaxbTypeMapping, JptResourceTypeReference, Model
All Known Subinterfaces:
JavaEnumMapping, OxmXmlEnum

public interface JaxbEnumMapping
extends JaxbTypeMapping

Represents mapping metadata on an enum (specified or implied).

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.1

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
JptResourceTypeReference.ResourceTypeTransformer
 
Field Summary
static String DEFAULT_VALUE
          The default value if nothing else is specified
static String ENUM_CONSTANTS_COLLECTION
           
static String SPECIFIED_VALUE_PROPERTY
           
static String VALUE_PROPERTY
           
 
Fields inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbTypeMapping
XML_ROOT_ELEMENT_PROPERTY, XML_SEE_ALSO_PROPERTY, XML_TRANSIENT_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
RESOURCE_TYPE_TRANSFORMER
 
Method Summary
 Iterable<JaxbEnumConstant> getEnumConstants()
           
 int getEnumConstantsSize()
           
 String getSpecifiedValue()
          Return the value of the XmlEnum.value element
 String getValue()
          Return the fully qualified type, specified or not
 XsdSimpleTypeDefinition getValueXsdTypeDefinition()
           
 void setSpecifiedValue(String value)
           
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbTypeMapping
getJaxbPackage, getQName, getReferencedXmlTypeNames, getTypeKind, getTypeName, getXmlRootElement, getXmlSeeAlso, getXsdTypeDefinition, hasRootElementInHierarchy, isXmlTransient
 
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

VALUE_PROPERTY

static final String VALUE_PROPERTY
See Also:
Constant Field Values

SPECIFIED_VALUE_PROPERTY

static final String SPECIFIED_VALUE_PROPERTY
See Also:
Constant Field Values

DEFAULT_VALUE

static final String DEFAULT_VALUE
The default value if nothing else is specified

See Also:
Constant Field Values

ENUM_CONSTANTS_COLLECTION

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

getValue

String getValue()
Return the fully qualified type, specified or not


getSpecifiedValue

String getSpecifiedValue()
Return the value of the XmlEnum.value element


setSpecifiedValue

void setSpecifiedValue(String value)

getEnumConstants

Iterable<JaxbEnumConstant> getEnumConstants()

getEnumConstantsSize

int getEnumConstantsSize()

getValueXsdTypeDefinition

XsdSimpleTypeDefinition getValueXsdTypeDefinition()

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.