org.eclipse.jpt.eclipselink.core.context
Interface EclipseLinkConverter
- All Superinterfaces:
- org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNode, Model
- All Known Subinterfaces:
- EclipseLinkCustomConverter, EclipseLinkObjectTypeConverter, EclipseLinkStructConverter, EclipseLinkTypeConverter
public interface EclipseLinkConverter
- extends JpaContextNode
Corresponds to a *CustomConverter 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
|
Method Summary |
boolean |
duplicates(EclipseLinkConverter converter)
Return whether the converter is a duplicate of the given converter. |
char |
getEnclosingTypeSeparator()
Return the char to be used for browsing or creating the converter class IType. |
java.lang.String |
getName()
|
java.lang.String |
getType()
Return a string that represents the type of converter. |
boolean |
overrides(EclipseLinkConverter converter)
Return whether the converter definition overrides the definition of the
given converter
(e.g. |
void |
setName(java.lang.String name)
|
| 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 |
NO_CONVERTER
static final java.lang.String NO_CONVERTER
- See Also:
- Constant Field Values
CUSTOM_CONVERTER
static final java.lang.String CUSTOM_CONVERTER
- See Also:
- Constant Field Values
OBJECT_TYPE_CONVERTER
static final java.lang.String OBJECT_TYPE_CONVERTER
- See Also:
- Constant Field Values
STRUCT_CONVERTER
static final java.lang.String STRUCT_CONVERTER
- See Also:
- Constant Field Values
TYPE_CONVERTER
static final java.lang.String TYPE_CONVERTER
- See Also:
- Constant Field Values
NAME_PROPERTY
static final java.lang.String NAME_PROPERTY
- See Also:
- Constant Field Values
getType
java.lang.String getType()
- Return a string that represents the type of converter.
Possibilities are below, NO_CONVERTER, CUSTOM_CONVERTER,
OBJECT_TYPE_CONVERTER, STRUCT_CONVERTER, TYPE_CONVERTER
getName
java.lang.String getName()
setName
void setName(java.lang.String name)
getEnclosingTypeSeparator
char getEnclosingTypeSeparator()
- Return the char 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 definition overrides the definition of the
given 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 given converter.
A converter is not a duplicate of another converter if is the same exact converter,
if it is a nameless converter (which is an error condition), or if it overrides
or is overridden by the other converter.