org.eclipse.jpt.eclipselink.core.context
Interface EclipseLinkConvert

All Superinterfaces:
Converter, org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNode, Model

public interface EclipseLinkConvert
extends JpaContextNode, Converter

Corresponds to a Convert resource model object 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 CLASS_INSTANCE_CONVERTER
          Reserved name for specifying a class instance converter.
static java.lang.String CONVERTER_PROPERTY
           
static java.lang.String DEFAULT_CONVERTER_NAME
           
static java.lang.String DEFAULT_CONVERTER_NAME_PROPERTY
           
static java.lang.String ECLIPSE_LINK_CONVERTER
           
static java.lang.String NO_CONVERTER
          Reserved name for specifying no converter.
static java.lang.String[] RESERVED_CONVERTER_NAMES
           
static java.lang.String SERIALIZED_CONVERTER
          Reserved name for specifying a serialized object converter.
static java.lang.String SPECIFIED_CONVERTER_NAME_PROPERTY
           
 
Fields inherited from interface org.eclipse.jpt.core.context.Converter
ENUMERATED_CONVERTER, LOB_CONVERTER, TEMPORAL_CONVERTER
 
Method Summary
 EclipseLinkConverter getConverter()
          This will return null if there is no converter specified on the mapping
 java.lang.String getConverterName()
           
 java.lang.String getDefaultConverterName()
           
 java.lang.String getSpecifiedConverterName()
           
 void setConverter(java.lang.String converterType)
          Possible values for converter type are:
 void setSpecifiedConverterName(java.lang.String converterName)
           
 
Methods inherited from interface org.eclipse.jpt.core.context.Converter
addToResourceModel, getParent, getType, removeFromResourceModel
 

Field Detail

ECLIPSE_LINK_CONVERTER

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

DEFAULT_CONVERTER_NAME_PROPERTY

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

SPECIFIED_CONVERTER_NAME_PROPERTY

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

SERIALIZED_CONVERTER

static final java.lang.String SERIALIZED_CONVERTER
Reserved name for specifying a serialized object converter. In this case there does not need to be a corresponding @CustomConverter defined.

See Also:
Constant Field Values

CLASS_INSTANCE_CONVERTER

static final java.lang.String CLASS_INSTANCE_CONVERTER
Reserved name for specifying a class instance converter. Will use a ClassInstanceConverter on the associated mapping. When using a ClassInstanceConverter the database representation is a String representing the Class name and the object-model representation is an instance of that class built with a no-args constructor In this case there does not need to be a corresponding @CustomConverter defined.

See Also:
Constant Field Values

NO_CONVERTER

static final java.lang.String NO_CONVERTER
Reserved name for specifying no converter. This can be used to override a situation where either another converter is defaulted or another converter is set. In this case there does not need to be a corresponding @CustomConverter defined.

See Also:
Constant Field Values

RESERVED_CONVERTER_NAMES

static final java.lang.String[] RESERVED_CONVERTER_NAMES

DEFAULT_CONVERTER_NAME

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

CONVERTER_PROPERTY

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

getConverterName

java.lang.String getConverterName()

getDefaultConverterName

java.lang.String getDefaultConverterName()

getSpecifiedConverterName

java.lang.String getSpecifiedConverterName()

setSpecifiedConverterName

void setSpecifiedConverterName(java.lang.String converterName)

getConverter

EclipseLinkConverter getConverter()
This will return null if there is no converter specified on the mapping

Returns:

setConverter

void setConverter(java.lang.String converterType)
Possible values for converter type are:

Parameters:
converterType -