org.eclipse.jpt.jpa.eclipselink.core.context.orm
Interface OrmEclipseLinkConverterContainer

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

public interface OrmEclipseLinkConverterContainer
extends XmlContextNode

EclipseLink orm.xml converter container

NB: This is only mildly-related to JavaEclipseLinkConverterContainer; thus the lack of common super-interface.

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

Field Summary
static java.lang.String CUSTOM_CONVERTERS_LIST
           
static java.lang.String OBJECT_TYPE_CONVERTERS_LIST
           
static java.lang.String STRUCT_CONVERTERS_LIST
           
static java.lang.String TYPE_CONVERTERS_LIST
           
 
Method Summary
 EclipseLinkCustomConverter addCustomConverter(int index)
          Add a custom converter to the converter holder, return the object representing it.
 EclipseLinkObjectTypeConverter addObjectTypeConverter(int index)
          Add a object type converter to the converter holder, return the object representing it.
 EclipseLinkStructConverter addStructConverter(int index)
          Add a struct converter to the converter holder, return the object representing it.
 EclipseLinkTypeConverter addTypeConverter(int index)
          Add a type converter to the converter holder, return the object representing it.
 java.lang.Iterable<org.eclipse.text.edits.ReplaceEdit> createMoveTypeEdits(org.eclipse.jdt.core.IType originalType, org.eclipse.jdt.core.IPackageFragment newPackage)
           
 java.lang.Iterable<org.eclipse.text.edits.ReplaceEdit> createRenamePackageEdits(org.eclipse.jdt.core.IPackageFragment originalPackage, java.lang.String newName)
           
 java.lang.Iterable<org.eclipse.text.edits.ReplaceEdit> createRenameTypeEdits(org.eclipse.jdt.core.IType originalType, java.lang.String newName)
           
<T extends EclipseLinkCustomConverter>
java.util.ListIterator<T>
customConverters()
          Return a list iterator of the custom converters.
 int customConvertersSize()
          Return the number of custom converters.
 void moveCustomConverter(int targetIndex, int sourceIndex)
          Move the custom converter from the source index to the target index.
 void moveObjectTypeConverter(int targetIndex, int sourceIndex)
          Move the object type converter from the source index to the target index.
 void moveStructConverter(int targetIndex, int sourceIndex)
          Move the struct converter from the source index to the target index.
 void moveTypeConverter(int targetIndex, int sourceIndex)
          Move the type converter from the source index to the target index.
<T extends EclipseLinkObjectTypeConverter>
java.util.ListIterator<T>
objectTypeConverters()
          Return a list iterator of the object type converters.
 int objectTypeConvertersSize()
          Return the number of object type converters.
 void removeCustomConverter(EclipseLinkCustomConverter converter)
          Remove the custom converter at from the converter holder.
 void removeCustomConverter(int index)
          Remove the custom converter at the index from the converter holder.
 void removeObjectTypeConverter(EclipseLinkObjectTypeConverter converter)
          Remove the object type converter at from the converter holder.
 void removeObjectTypeConverter(int index)
          Remove the object type converter at the index from the converter holder.
 void removeStructConverter(EclipseLinkStructConverter converter)
          Remove the struct converter at from the converter holder.
 void removeStructConverter(int index)
          Remove the struct converter at the index from the converter holder.
 void removeTypeConverter(EclipseLinkTypeConverter converter)
          Remove the type converter at from the converter holder.
 void removeTypeConverter(int index)
          Remove the type converter at the index from the converter holder.
<T extends EclipseLinkStructConverter>
java.util.ListIterator<T>
structConverters()
          Return a list iterator of the struct converters.
 int structConvertersSize()
          Return the number of struct converters.
<T extends EclipseLinkTypeConverter>
java.util.ListIterator<T>
typeConverters()
          Return a list iterator of the type converters.
 int typeConvertersSize()
          Return the number of type converters.
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.XmlContextNode
getValidationTextRange, validate
 
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

CUSTOM_CONVERTERS_LIST

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

OBJECT_TYPE_CONVERTERS_LIST

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

STRUCT_CONVERTERS_LIST

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

TYPE_CONVERTERS_LIST

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

customConverters

<T extends EclipseLinkCustomConverter> java.util.ListIterator<T> customConverters()
Return a list iterator of the custom converters. This will not be null.


customConvertersSize

int customConvertersSize()
Return the number of custom converters.


addCustomConverter

EclipseLinkCustomConverter addCustomConverter(int index)
Add a custom converter to the converter holder, return the object representing it.


removeCustomConverter

void removeCustomConverter(int index)
Remove the custom converter at the index from the converter holder.


removeCustomConverter

void removeCustomConverter(EclipseLinkCustomConverter converter)
Remove the custom converter at from the converter holder.


moveCustomConverter

void moveCustomConverter(int targetIndex,
                         int sourceIndex)
Move the custom converter from the source index to the target index.


objectTypeConverters

<T extends EclipseLinkObjectTypeConverter> java.util.ListIterator<T> objectTypeConverters()
Return a list iterator of the object type converters. This will not be null.


objectTypeConvertersSize

int objectTypeConvertersSize()
Return the number of object type converters.


addObjectTypeConverter

EclipseLinkObjectTypeConverter addObjectTypeConverter(int index)
Add a object type converter to the converter holder, return the object representing it.


removeObjectTypeConverter

void removeObjectTypeConverter(int index)
Remove the object type converter at the index from the converter holder.


removeObjectTypeConverter

void removeObjectTypeConverter(EclipseLinkObjectTypeConverter converter)
Remove the object type converter at from the converter holder.


moveObjectTypeConverter

void moveObjectTypeConverter(int targetIndex,
                             int sourceIndex)
Move the object type converter from the source index to the target index.


structConverters

<T extends EclipseLinkStructConverter> java.util.ListIterator<T> structConverters()
Return a list iterator of the struct converters. This will not be null.


structConvertersSize

int structConvertersSize()
Return the number of struct converters.


addStructConverter

EclipseLinkStructConverter addStructConverter(int index)
Add a struct converter to the converter holder, return the object representing it.


removeStructConverter

void removeStructConverter(int index)
Remove the struct converter at the index from the converter holder.


removeStructConverter

void removeStructConverter(EclipseLinkStructConverter converter)
Remove the struct converter at from the converter holder.


moveStructConverter

void moveStructConverter(int targetIndex,
                         int sourceIndex)
Move the struct converter from the source index to the target index.


typeConverters

<T extends EclipseLinkTypeConverter> java.util.ListIterator<T> typeConverters()
Return a list iterator of the type converters. This will not be null.


typeConvertersSize

int typeConvertersSize()
Return the number of type converters.


addTypeConverter

EclipseLinkTypeConverter addTypeConverter(int index)
Add a type converter to the converter holder, return the object representing it.


removeTypeConverter

void removeTypeConverter(int index)
Remove the type converter at the index from the converter holder.


removeTypeConverter

void removeTypeConverter(EclipseLinkTypeConverter converter)
Remove the type converter at from the converter holder.


moveTypeConverter

void moveTypeConverter(int targetIndex,
                       int sourceIndex)
Move the type converter from the source index to the target index.


createRenameTypeEdits

java.lang.Iterable<org.eclipse.text.edits.ReplaceEdit> createRenameTypeEdits(org.eclipse.jdt.core.IType originalType,
                                                                             java.lang.String newName)

createMoveTypeEdits

java.lang.Iterable<org.eclipse.text.edits.ReplaceEdit> createMoveTypeEdits(org.eclipse.jdt.core.IType originalType,
                                                                           org.eclipse.jdt.core.IPackageFragment newPackage)

createRenamePackageEdits

java.lang.Iterable<org.eclipse.text.edits.ReplaceEdit> createRenamePackageEdits(org.eclipse.jdt.core.IPackageFragment originalPackage,
                                                                                java.lang.String newName)