Dali Provisional API
Release 3.2

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

All Superinterfaces:
EclipseLinkConverter, IAdaptable, JpaContextNode, JpaNamedContextNode, JpaNode, JptResourceTypeReference, Model

public interface EclipseLinkObjectTypeConverter
extends EclipseLinkConverter

EclipseLink object type 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

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.context.JpaNamedContextNode
JpaNamedContextNode.NameTransformer<N extends JpaNamedContextNode>
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
JptResourceTypeReference.ResourceTypeTransformer
 
Field Summary
static String CONVERSION_VALUES_LIST
           
static String DATA_TYPE_PROPERTY
           
static String DEFAULT_OBJECT_VALUE_PROPERTY
           
static String FULLY_QUALIFIED_DATA_TYPE_PROPERTY
           
static String FULLY_QUALIFIED_OBJECT_TYPE_PROPERTY
           
static String OBJECT_TYPE_PROPERTY
           
 
Fields inherited from interface org.eclipse.jpt.jpa.eclipselink.core.context.EclipseLinkConverter
TYPES
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.JpaNamedContextNode
NAME_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
RESOURCE_TYPE_TRANSFORMER
 
Method Summary
 EclipseLinkConversionValue addConversionValue()
          Add a conversion value to the converter and return it.
 EclipseLinkConversionValue addConversionValue(int index)
          Add a conversion value to the converter at the specified index and return it.
 EclipseLinkConversionValue getConversionValue(int index)
          Return the conversion value at the specified index.
 org.eclipse.jpt.common.utility.iterable.ListIterable<? extends EclipseLinkConversionValue> getConversionValues()
          Return the converter's conversion values.
 int getConversionValuesSize()
          Return the number of conversion values.
 String getDataType()
           
 Iterable<String> getDataValues()
          Return the converter's data values.
 int getDataValuesSize()
          Return the number of data values.
 String getDefaultObjectValue()
           
 String getFullyQualifiedDataType()
           
 String getFullyQualifiedObjectType()
           
 String getObjectType()
           
 void moveConversionValue(int targetIndex, int sourceIndex)
          Move the conversion value from the specified source index to the specified target index.
 void removeConversionValue(EclipseLinkConversionValue conversionValue)
          Remove the specified conversion value.
 void removeConversionValue(int index)
          Remove the conversion value at the specified index.
 void setDataType(String dataType)
           
 void setDefaultObjectValue(String value)
           
 void setObjectType(String objectType)
           
 
Methods inherited from interface org.eclipse.jpt.jpa.eclipselink.core.context.EclipseLinkConverter
getEnclosingTypeSeparator, getNameTextRange, getType, supportsValidationMessages
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaNamedContextNode
getName, isEquivalentTo, setName
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextNode
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getParent, getPersistenceUnit, getValidationTextRange, synchronizeWithResourceModel, update, validate
 
Methods inherited from interface org.eclipse.jpt.jpa.core.JpaNode
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

DATA_TYPE_PROPERTY

static final String DATA_TYPE_PROPERTY
See Also:
Constant Field Values

FULLY_QUALIFIED_DATA_TYPE_PROPERTY

static final String FULLY_QUALIFIED_DATA_TYPE_PROPERTY
See Also:
Constant Field Values

OBJECT_TYPE_PROPERTY

static final String OBJECT_TYPE_PROPERTY
See Also:
Constant Field Values

FULLY_QUALIFIED_OBJECT_TYPE_PROPERTY

static final String FULLY_QUALIFIED_OBJECT_TYPE_PROPERTY
See Also:
Constant Field Values

CONVERSION_VALUES_LIST

static final String CONVERSION_VALUES_LIST
See Also:
Constant Field Values

DEFAULT_OBJECT_VALUE_PROPERTY

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

getDataType

String getDataType()

setDataType

void setDataType(String dataType)

getFullyQualifiedDataType

String getFullyQualifiedDataType()

getObjectType

String getObjectType()

setObjectType

void setObjectType(String objectType)

getFullyQualifiedObjectType

String getFullyQualifiedObjectType()

getConversionValues

org.eclipse.jpt.common.utility.iterable.ListIterable<? extends EclipseLinkConversionValue> getConversionValues()
Return the converter's conversion values.


getConversionValuesSize

int getConversionValuesSize()
Return the number of conversion values.


getConversionValue

EclipseLinkConversionValue getConversionValue(int index)
Return the conversion value at the specified index.


addConversionValue

EclipseLinkConversionValue addConversionValue(int index)
Add a conversion value to the converter at the specified index and return it.


addConversionValue

EclipseLinkConversionValue addConversionValue()
Add a conversion value to the converter and return it.


removeConversionValue

void removeConversionValue(int index)
Remove the conversion value at the specified index.


removeConversionValue

void removeConversionValue(EclipseLinkConversionValue conversionValue)
Remove the specified conversion value.


moveConversionValue

void moveConversionValue(int targetIndex,
                         int sourceIndex)
Move the conversion value from the specified source index to the specified target index.


getDataValues

Iterable<String> getDataValues()
Return the converter's data values.


getDataValuesSize

int getDataValuesSize()
Return the number of data values.


getDefaultObjectValue

String getDefaultObjectValue()

setDefaultObjectValue

void setDefaultObjectValue(String value)

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.