Dali Provisional API
Release 3.2

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

All Superinterfaces:
IAdaptable, JpaContextModel, JpaModel, JptResourceTypeReference, Model
All Known Subinterfaces:
EclipseLinkJavaConverterContainer, EclipseLinkOrmConverterContainer

public interface EclipseLinkConverterContainer
extends JpaContextModel

EclipseLink converter container

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:
3.2

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.JpaModel
JpaModel.JpaVersionIsCompatibleWith
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
JptResourceTypeReference.ResourceTypeIsKindOf, JptResourceTypeReference.ResourceTypeTransformer
 
Field Summary
static String CUSTOM_CONVERTERS_LIST
           
static String OBJECT_TYPE_CONVERTERS_LIST
           
static String STRUCT_CONVERTERS_LIST
           
static String TYPE_CONVERTERS_LIST
           
 
Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
TRANSFORMER
 
Method Summary
 EclipseLinkCustomConverter addCustomConverter(String name, int index)
          Add a custom converter to the converter holder, return the object representing it.
 EclipseLinkObjectTypeConverter addObjectTypeConverter(String name, int index)
          Add a object type converter to the converter holder, return the object representing it.
 EclipseLinkStructConverter addStructConverter(String name, int index)
          Add a struct converter to the converter holder, return the object representing it.
 EclipseLinkTypeConverter addTypeConverter(String name, int index)
          Add a type converter to the converter holder, return the object representing it.
 Iterable<EclipseLinkConverter> getConverters()
           
 int getConvertersSize()
           
 org.eclipse.jpt.common.utility.iterable.ListIterable<? extends EclipseLinkCustomConverter> getCustomConverters()
          Return a list iterator of the custom converters.
 int getCustomConvertersSize()
          Return the number of custom converters.
 int getMaximumAllowedConverters()
           
 org.eclipse.jpt.common.utility.iterable.ListIterable<? extends EclipseLinkObjectTypeConverter> getObjectTypeConverters()
          Return a list iterator of the object type converters.
 int getObjectTypeConvertersSize()
          Return the number of object type converters.
 org.eclipse.jpt.common.utility.iterable.ListIterable<? extends EclipseLinkStructConverter> getStructConverters()
          Return a list iterator of the struct converters.
 int getStructConvertersSize()
          Return the number of struct converters.
 org.eclipse.jpt.common.utility.iterable.ListIterable<? extends EclipseLinkTypeConverter> getTypeConverters()
          Return a list iterator of the type converters.
 int getTypeConvertersSize()
          Return the number of type 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.
 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.
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextModel
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getParent, getPersistenceUnit, getValidationTextRange, synchronizeWithResourceModel, update, validate
 
Methods inherited from interface org.eclipse.jpt.jpa.core.JpaModel
getJpaPlatform, getJpaProject, getJpaProjectManager, getResource, stateChanged
 
Methods inherited from interface org.eclipse.jpt.common.utility.model.Model
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
getResourceType
 

Field Detail

CUSTOM_CONVERTERS_LIST

static final String CUSTOM_CONVERTERS_LIST
See Also:
Constant Field Values

OBJECT_TYPE_CONVERTERS_LIST

static final String OBJECT_TYPE_CONVERTERS_LIST
See Also:
Constant Field Values

STRUCT_CONVERTERS_LIST

static final String STRUCT_CONVERTERS_LIST
See Also:
Constant Field Values

TYPE_CONVERTERS_LIST

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

getConverters

Iterable<EclipseLinkConverter> getConverters()

getConvertersSize

int getConvertersSize()

getMaximumAllowedConverters

int getMaximumAllowedConverters()

getCustomConverters

org.eclipse.jpt.common.utility.iterable.ListIterable<? extends EclipseLinkCustomConverter> getCustomConverters()
Return a list iterator of the custom converters. This will not be null.


getCustomConvertersSize

int getCustomConvertersSize()
Return the number of custom converters.


addCustomConverter

EclipseLinkCustomConverter addCustomConverter(String name,
                                              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.


getObjectTypeConverters

org.eclipse.jpt.common.utility.iterable.ListIterable<? extends EclipseLinkObjectTypeConverter> getObjectTypeConverters()
Return a list iterator of the object type converters. This will not be null.


getObjectTypeConvertersSize

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


addObjectTypeConverter

EclipseLinkObjectTypeConverter addObjectTypeConverter(String name,
                                                      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.


getStructConverters

org.eclipse.jpt.common.utility.iterable.ListIterable<? extends EclipseLinkStructConverter> getStructConverters()
Return a list iterator of the struct converters. This will not be null.


getStructConvertersSize

int getStructConvertersSize()
Return the number of struct converters.


addStructConverter

EclipseLinkStructConverter addStructConverter(String name,
                                              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.


getTypeConverters

org.eclipse.jpt.common.utility.iterable.ListIterable<? extends EclipseLinkTypeConverter> getTypeConverters()
Return a list iterator of the type converters. This will not be null.


getTypeConvertersSize

int getTypeConvertersSize()
Return the number of type converters.


addTypeConverter

EclipseLinkTypeConverter addTypeConverter(String name,
                                          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.


Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.