org.eclipse.jpt.core.context
Interface Converter

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNode, Model
All Known Subinterfaces:
EclipseLinkConvert, EnumeratedConverter, JavaConverter, JavaEnumeratedConverter, JavaLobConverter, JavaTemporalConverter, LobConverter, OrmConverter, TemporalConverter

public interface Converter
extends JpaContextNode

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:
2.1
Version:
2.1

Field Summary
static java.lang.String ENUMERATED_CONVERTER
           
static java.lang.String LOB_CONVERTER
           
static java.lang.String NO_CONVERTER
           
static java.lang.String TEMPORAL_CONVERTER
           
 
Method Summary
 void addToResourceModel()
          Add the appropriate Converter to the resource model
 AttributeMapping getParent()
          Return the JPA node's parent.
 java.lang.String getType()
          Return a string that represents the type of converter.
 void removeFromResourceModel()
          Remove the Converter from the resource model
 
Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, getResourceType, postUpdate
 
Methods inherited from interface org.eclipse.jpt.core.JpaNode
getJpaProject
 
Methods inherited from interface org.eclipse.jpt.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.core.IResourcePart
getResource
 

Field Detail

NO_CONVERTER

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

LOB_CONVERTER

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

ENUMERATED_CONVERTER

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

TEMPORAL_CONVERTER

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

getType

java.lang.String getType()
Return a string that represents the type of converter. Possibilities are below, NO_CONVERTER, LOB_CONVERTER, ENUMERATED_CONVERTER, TEMPORAL_CONVERTER


removeFromResourceModel

void removeFromResourceModel()
Remove the Converter from the resource model


addToResourceModel

void addToResourceModel()
Add the appropriate Converter to the resource model


getParent

AttributeMapping getParent()
Description copied from interface: JpaNode
Return the JPA node's parent. The JPA project will not have a parent.

Specified by:
getParent in interface JpaNode