Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
org.apache.openjpa.jdbc.meta.ValueMapping

Packages that use ValueMapping
org.apache.openjpa.jdbc.kernel | OpenJPA-JDBC Runtime Kernel
org.apache.openjpa.jdbc.meta | OpenJPA-JDBC ORM Metadata
org.apache.openjpa.jdbc.meta.strats | OpenJPA-JDBC ORM Strategies
org.apache.openjpa.persistence.jdbc | OpenJPA JPA-JDBC

Uses of ValueMapping in org.apache.openjpa.jdbc.kernel

Methods in org.apache.openjpa.jdbc.kernel with parameters of type ValueMapping
`Object` | `JDBCStore.find(Object oid, ValueMapping vm, JDBCFetchConfiguration fetch)` Find the object with the given oid.
`Object` | `JDBCStoreManager.find(Object oid, ValueMapping vm, JDBCFetchConfiguration fetch)` Find the object with the given oid.

Uses of ValueMapping in org.apache.openjpa.jdbc.meta

Classes in org.apache.openjpa.jdbc.meta that implement ValueMapping
`class` | `FieldMapping` Specialization of metadata for relational databases.
`class` | `ValueMappingImpl` Standalone `ValueMapping` implementation.

Methods in org.apache.openjpa.jdbc.meta that return ValueMapping
`ValueMapping` | `FieldMapping.getElementMapping()` Convenience method to perform cast from `FieldMetaData.getElement()`
`ValueMapping` | `ClassMapping.getEmbeddingMapping()` Convenience method to perform cast from `ClassMetaData.getEmbeddingMetaData()`
`ValueMapping` | `FieldMapping.getKeyMapping()` Convenience method to perform cast from `FieldMetaData.getKey()`
`ValueMapping` | `FieldMapping.getValueMapping()` Convenience method to perform cast from `FieldMetaData.getValue()`

Methods in org.apache.openjpa.jdbc.meta with parameters of type ValueMapping
`void` | `ReverseMappingTool.addConstraints(ValueMapping vm)` Add existing unique constraints and indexes to the given value.
`void` | `FieldMapping.copyMappingInfo(ValueMapping vm)`
`void` | `ValueMapping.copyMappingInfo(ValueMapping vm)` Copy mapping info from the given instance to this one.
`void` | `ValueMappingImpl.copyMappingInfo(ValueMapping vm)`
`protected ValueHandler` | `MappingRepository.defaultHandler(ValueMapping val)` Determine the default handler to use for the given value.
`protected ValueHandler` | `MappingRepository.defaultHandler(ValueMapping val, boolean adapting)` Determine the default handler to use for the given value.
`Column[]` | `ValueMappingInfo.getColumns(ValueMapping val, String name, Column[] tmplates, Table table, boolean adapt)` Return the columns for this value, based on the given templates.
`ForeignKey` | `MappingDefaults.getForeignKey(ValueMapping vm, String name, Table local, Table foreign, boolean inverse)` Return a default foreign key for the join from this value to its related type, or null for a logical foreign key only.
`ForeignKey` | `MappingDefaultsImpl.getForeignKey(ValueMapping vm, String name, Table local, Table foreign, boolean inverse)`
`ForeignKey` | `NoneMappingDefaults.getForeignKey(ValueMapping vm, String name, Table local, Table foreign, boolean inverse)`
`Index` | `ValueMappingInfo.getIndex(ValueMapping val, String name, boolean adapt)` Return an index for the given columns, or null if none.
`Index` | `MappingDefaults.getIndex(ValueMapping vm, String name, Table table, Column[] cols)` Return a default index for the value, or null if the value columns should not be indexed by default.
`Index` | `MappingDefaultsImpl.getIndex(ValueMapping vm, String name, Table table, Column[] cols)`
`Index` | `NoneMappingDefaults.getIndex(ValueMapping vm, String name, Table table, Column[] cols)`
`ForeignKey` | `ValueMappingInfo.getInverseTypeJoin(ValueMapping val, String name, boolean adapt)` Return the join from the related type to this value.
`Column` | `ValueMappingInfo.getNullIndicatorColumn(ValueMapping val, String name, Table table, boolean adapt)` Return the null indicator column for this value, or null if none.
`Object` | `ValueHandler.getResultArgument(ValueMapping vm)` Return the argument to pass to the result set when loading data via `Result.getObject(java.lang.Object, int, java.lang.Object)`, or null if none.
`Object` | `MappingDefaults.getStrategy(ValueMapping vm, Class type, boolean adapt)` Custom handler or strategy for the given field, or null if none has been registered.
`Object` | `MappingDefaultsImpl.getStrategy(ValueMapping vm, Class type, boolean adapt)`
`Object` | `NoneMappingDefaults.getStrategy(ValueMapping vm, Class type, boolean adapt)`
`ForeignKey` | `ValueMappingInfo.getTypeJoin(ValueMapping val, String name, boolean inversable, boolean adapt)` Return the join from this value to its related type.
`Unique` | `ValueMappingInfo.getUnique(ValueMapping val, String name, boolean adapt)` Return a unique constraint for the given columns, or null if none.
`Unique` | `MappingDefaults.getUnique(ValueMapping vm, String name, Table table, Column[] cols)` Return a default constraint for the value, or null if the value columns should not be constrained by default.
`Unique` | `MappingDefaultsImpl.getUnique(ValueMapping vm, String name, Table table, Column[] cols)`
`Unique` | `NoneMappingDefaults.getUnique(ValueMapping vm, String name, Table table, Column[] cols)`
`boolean` | `ValueHandler.isVersionable(ValueMapping vm)` Return whether the values managed by this handler can be used in state image versioning.
`Column[]` | `ValueHandler.map(ValueMapping vm, String name, ColumnIO io, boolean adapt)` Map the given value and return all mapped columns, or simply return an array of unmapped default columns.
`protected ValueHandler` | `MappingRepository.namedHandler(ValueMapping val)` Instantiate the given value's named handler, or return null if no named handler.
`protected ValueMappingInfo` | `MappingRepository.newMappingInfo(ValueMapping vm)` Create raw mapping info for the given instance.
`boolean` | `ValueHandler.objectValueRequiresLoad(ValueMapping vm)` Return whether this handler potentially must load extra data to extract the object value from its datastore representation.
`void` | `MappingDefaults.populateColumns(ValueMapping vm, String name, Table table, Column[] cols)` Fill in default information for the given value columns.
`void` | `MappingDefaultsImpl.populateColumns(ValueMapping vm, String name, Table table, Column[] cols)`
`void` | `NoneMappingDefaults.populateColumns(ValueMapping vm, String name, Table table, Column[] cols)`
`void` | `MappingDefaults.populateForeignKeyColumn(ValueMapping vm, String name, Table local, Table foreign, Column col, Object target, boolean inverse, int pos, int cols)` Fill in default information for the given column used to join a value to its related type.
`void` | `MappingDefaultsImpl.populateForeignKeyColumn(ValueMapping vm, String name, Table local, Table foreign, Column col, Object target, boolean inverse, int pos, int cols)`
`void` | `NoneMappingDefaults.populateForeignKeyColumn(ValueMapping vm, String name, Table local, Table foreign, Column col, Object target, boolean inverse, int pos, int cols)`
`boolean` | `MappingDefaults.populateNullIndicatorColumns(ValueMapping vm, String name, Table table, Column[] cols)` Fill in default information for the given null indicator columns.
`boolean` | `MappingDefaultsImpl.populateNullIndicatorColumns(ValueMapping vm, String name, Table table, Column[] cols)`
`boolean` | `NoneMappingDefaults.populateNullIndicatorColumns(ValueMapping vm, String name, Table table, Column[] cols)`
`void` | `ValueMappingInfo.syncWith(ValueMapping val)` Synchronize internal information with the mapping data for the given value.
`Object` | `ValueHandler.toDataStoreValue(ValueMapping vm, Object val, JDBCStore store)` Translate the given value to its datastore equivalent.
`Object` | `ValueHandler.toObjectValue(ValueMapping vm, Object val)` Translate the given datastore value into its Java equivalent.
`Object` | `ValueHandler.toObjectValue(ValueMapping vm, Object val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch)` Translate the given datastore value into its Java equivalent.

Uses of ValueMapping in org.apache.openjpa.jdbc.meta.strats

Methods in org.apache.openjpa.jdbc.meta.strats with parameters of type ValueMapping
`static void` | `HandlerStrategies.assertJoinable(ValueMapping vm)` Throw the proper exception if the given handler-controlled value represents an unjoinable relation.
`Object` | `AbstractValueHandler.getResultArgument(ValueMapping vm)`
`Object` | `ObjectIdValueHandler.getResultArgument(ValueMapping vm)`
`boolean` | `AbstractValueHandler.isVersionable(ValueMapping vm)`
`boolean` | `ImmutableValueHandler.isVersionable(ValueMapping vm)`
`boolean` | `UntypedPCValueHandler.isVersionable(ValueMapping vm)`
`static Object` | `HandlerStrategies.loadDataStore(ValueMapping vm, Result res, Joins joins, Column[] cols)` Load the datastore value from the given result.
`static Object` | `HandlerStrategies.loadObject(ValueMapping vm, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins, Column[] cols, boolean objectValueRequiresLoad)` Load the Object value from the given result.
`Column[]` | `BlobValueHandler.map(ValueMapping vm, String name, ColumnIO io, boolean adapt)`
`Column[]` | `ByteArrayValueHandler.map(ValueMapping vm, String name, ColumnIO io, boolean adapt)`
`Column[]` | `CharArrayStreamValueHandler.map(ValueMapping vm, String name, ColumnIO io, boolean adapt)`
`Column[]` | `CharArrayValueHandler.map(ValueMapping vm, String name, ColumnIO io, boolean adapt)`
`Column[]` | `ClobValueHandler.map(ValueMapping vm, String name, ColumnIO io, boolean adapt)`
`static Column[]` | `HandlerStrategies.map(ValueMapping vm, String name, ColumnIO io, boolean adapt)` Map the given value.
`Column[]` | `ImmutableValueHandler.map(ValueMapping vm, String name, ColumnIO io, boolean adapt)`
`Column[]` | `ObjectIdValueHandler.map(ValueMapping vm, String name, ColumnIO io, boolean adapt)`
`Column[]` | `UntypedPCValueHandler.map(ValueMapping vm, String name, ColumnIO io, boolean adapt)`
`Column[]` | `EnumValueHandler.map(ValueMapping vm, String name, ColumnIO io, boolean adapt)`
`protected void` | `EmbedValueHandler.map(ValueMapping vm, String name, ColumnIO io, boolean adapt, List cols, List args)` Maps embedded value and gathers columns and arguments into given lists.
`static void` | `RelationStrategies.mapRelationToUnmappedPC(ValueMapping vm, String name, boolean adapt)` Map a logical foreign key to an unmapped base class relation.
`boolean` | `AbstractValueHandler.objectValueRequiresLoad(ValueMapping vm)`
`boolean` | `UntypedPCValueHandler.objectValueRequiresLoad(ValueMapping vm)`
`static void` | `HandlerStrategies.set(ValueMapping vm, Object val, JDBCStore store, Row row, Column[] cols, ColumnIO io, boolean nullNone)` Set the given value into the given row.
`protected Object` | `EmbedValueHandler.toDataStoreValue(OpenJPAStateManager em, ValueMapping vm, JDBCStore store, Column[] cols, Object rval, int idx)` Helper to convert an object value to its datastore equivalent.
`static Object` | `HandlerStrategies.toDataStoreValue(ValueMapping vm, Object val, Column[] cols, JDBCStore store)` Convert the given object to its datastore value(s).
`Object` | `AbstractValueHandler.toDataStoreValue(ValueMapping vm, Object val, JDBCStore store)`
`Object` | `ByteArrayValueHandler.toDataStoreValue(ValueMapping vm, Object val, JDBCStore store)`
`Object` | `CharArrayStreamValueHandler.toDataStoreValue(ValueMapping vm, Object val, JDBCStore store)`
`Object` | `CharArrayValueHandler.toDataStoreValue(ValueMapping vm, Object val, JDBCStore store)`
`Object` | `ImmutableValueHandler.toDataStoreValue(ValueMapping vm, Object val, JDBCStore store)`
`Object` | `ObjectIdValueHandler.toDataStoreValue(ValueMapping vm, Object val, JDBCStore store)`
`static Object` | `RelationStrategies.toDataStoreValue(ValueMapping vm, Object val, JDBCStore store)` Return the given object as its foreign key values.
`Object` | `UntypedPCValueHandler.toDataStoreValue(ValueMapping vm, Object val, JDBCStore store)`
`Object` | `EnumValueHandler.toDataStoreValue(ValueMapping vm, Object val, JDBCStore store)`
`protected void` | `EmbedValueHandler.toObjectValue(OpenJPAStateManager em, ValueMapping vm, Object val, JDBCStore store, JDBCFetchConfiguration fetch, Column[] cols, int idx)` Helper to convert a datastore value to its object equivalent.
`Object` | `AbstractValueHandler.toObjectValue(ValueMapping vm, Object val)`
`Object` | `ByteArrayValueHandler.toObjectValue(ValueMapping vm, Object val)`
`Object` | `CharArrayStreamValueHandler.toObjectValue(ValueMapping vm, Object val)`
`Object` | `CharArrayValueHandler.toObjectValue(ValueMapping vm, Object val)`
`Object` | `ObjectIdValueHandler.toObjectValue(ValueMapping vm, Object val)`
`Object` | `EnumValueHandler.toObjectValue(ValueMapping vm, Object val)`
`Object` | `AbstractValueHandler.toObjectValue(ValueMapping vm, Object val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch)`
`Object` | `UntypedPCValueHandler.toObjectValue(ValueMapping vm, Object val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch)`
`static MetaDataException` | `RelationStrategies.uninversable(ValueMapping vm)` Return an exception indicating that the relation is invalid because it has is based on an inverse foreign key and has independent subclasses.
`static MetaDataException` | `RelationStrategies.unjoinable(ValueMapping vm)` Return an exception indicating that we cannot join to the given relation.
`static MetaDataException` | `RelationStrategies.unloadable(ValueMapping vm)` Return an exception indicating that the relation cannot be loaded because it has independent subclasses and does not represent a full oid.
`static void` | `HandlerStrategies.where(ValueMapping vm, Object val, JDBCStore store, Row row, Column[] cols)` Add where conditions to the given row.

Uses of ValueMapping in org.apache.openjpa.persistence.jdbc

Methods in org.apache.openjpa.persistence.jdbc with parameters of type ValueMapping
`void` | `PersistenceMappingDefaults.populateForeignKeyColumn(ValueMapping vm, String name, Table local, Table foreign, Column col, Object target, boolean inverse, int pos, int cols)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2006 Apache Software Foundation. All Rights Reserved.