Dali Provisional API
Release 3.2

org.eclipse.jpt.jaxb.core.context.java
Interface JavaEnum

All Superinterfaces:
IAdaptable, JavaType, JaxbContextNode, JaxbNode, JptResourceTypeReference, Model, XmlAdaptable

public interface JavaEnum
extends JavaType

Represents a java enum with JAXB metadata (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.jaxb.core.context.java.JavaType
JavaType.IsKind
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
JptResourceTypeReference.ResourceTypeIsKindOf, JptResourceTypeReference.ResourceTypeTransformer
 
Field Summary
 
Fields inherited from interface org.eclipse.jpt.jaxb.core.context.java.JavaType
DEFAULT_MAPPED_PROPERTY, MAPPING_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.jaxb.core.context.XmlAdaptable
XML_JAVA_TYPE_ADAPTER_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
TRANSFORMER
 
Method Summary
 JavaResourceEnum getJavaResourceType()
          Return the associated java resource type
 JavaEnumMapping getMapping()
          Return the mapping of this type.
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.context.java.JavaType
getJaxbPackage, getJaxbPackageInfo, getKind, getTypeName, isDefaultMapped, setDefaultMapped, validate
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.context.XmlAdaptable
addXmlJavaTypeAdapter, getXmlJavaTypeAdapter, removeXmlJavaTypeAdapter
 
Methods inherited from interface org.eclipse.jpt.jaxb.core.context.JaxbContextNode
getCompletionProposals, getContextRoot, getValidationTextRange, synchronizeWithResourceModel, update
 
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
 

Method Detail

getJavaResourceType

JavaResourceEnum getJavaResourceType()
Description copied from interface: JavaType
Return the associated java resource type

Specified by:
getJavaResourceType in interface JavaType

getMapping

JavaEnumMapping getMapping()
Description copied from interface: JavaType
Return the mapping of this type. May be null. Will not be null if this type has an XmlType annotation (or other mapping annotation) or if this type is default mapped.

Specified by:
getMapping in interface JavaType

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.