org.eclipse.jpt.jpa.eclipselink.core.context
Interface EclipseLinkConverter

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNode, Model
All Known Subinterfaces:
EclipseLinkConverterClassConverter, EclipseLinkCustomConverter, EclipseLinkObjectTypeConverter, EclipseLinkStructConverter, EclipseLinkTypeConverter

public interface EclipseLinkConverter
extends JpaContextNode

EclipseLink converter:

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 ECLIPSELINK_CONVERTER_CLASS_NAME
           
static java.lang.String NAME_PROPERTY
           
static java.lang.Iterable<java.lang.Class<? extends EclipseLinkConverter>> TYPES
           
 
Method Summary
 boolean duplicates(EclipseLinkConverter converter)
          Return whether the converter is a duplicate of the specified converter.
 char getEnclosingTypeSeparator()
          Return the character to be used for browsing or creating the converter class IType.
 java.lang.String getName()
           
 java.lang.Class<? extends EclipseLinkConverter> getType()
          Return the converter's type.
 boolean overrides(EclipseLinkConverter converter)
          Return whether the converter "overrides" the specified converter (e.g.
 void setName(java.lang.String name)
           
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextNode
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, getResourceType, synchronizeWithResourceModel, update
 
Methods inherited from interface org.eclipse.jpt.jpa.core.JpaNode
getJpaProject, getParent, stateChanged
 
Methods inherited from interface org.eclipse.jpt.common.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.common.core.IResourcePart
getResource
 

Field Detail

ECLIPSELINK_CONVERTER_CLASS_NAME

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

TYPES

static final java.lang.Iterable<java.lang.Class<? extends EclipseLinkConverter>> TYPES

NAME_PROPERTY

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

getType

java.lang.Class<? extends EclipseLinkConverter> getType()
Return the converter's type.


getName

java.lang.String getName()

setName

void setName(java.lang.String name)

getEnclosingTypeSeparator

char getEnclosingTypeSeparator()
Return the character to be used for browsing or creating the converter class IType.

See Also:
IType.getFullyQualifiedName(char)

overrides

boolean overrides(EclipseLinkConverter converter)
Return whether the converter "overrides" the specified converter (e.g. a converter defined in orm.xml overrides one defined in Java).


duplicates

boolean duplicates(EclipseLinkConverter converter)
Return whether the converter is a duplicate of the specified converter. A converter is not a duplicate of another converter if is the exact same converter, if it is a nameless converter (which is an error condition), or if it overrides or is overridden by the other converter.