|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use FieldMapping | |
---|---|
org.apache.openjpa.jdbc.kernel.exps | OpenJPA-JDBC Expression Tree |
org.apache.openjpa.jdbc.meta | OpenJPA-JDBC ORM Metadata |
org.apache.openjpa.jdbc.meta.strats | OpenJPA-JDBC ORM Strategies |
org.apache.openjpa.jdbc.sql | OpenJPA-JDBC SQL Abstraction |
Uses of FieldMapping in org.apache.openjpa.jdbc.kernel.exps |
---|
Methods in org.apache.openjpa.jdbc.kernel.exps that return FieldMapping | |
---|---|
FieldMapping |
FilterValue.getFieldMapping()
If this is a path to a persistent field, return its mapping, else return null. |
Uses of FieldMapping in org.apache.openjpa.jdbc.meta |
---|
Methods in org.apache.openjpa.jdbc.meta that return FieldMapping | |
---|---|
FieldMapping |
ClassMapping.addDeclaredFieldMapping(java.lang.String name,
java.lang.Class type)
Convenience method to perform cast from ClassMetaData.addDeclaredField(java.lang.String, java.lang.Class) . |
FieldMapping |
ClassMapping.getDeclaredFieldMapping(int index)
Convenience method to perform cast from ClassMetaData.getDeclaredField(int) . |
FieldMapping |
ClassMapping.getDeclaredFieldMapping(java.lang.String name)
Convenience method to perform cast from ClassMetaData.getDeclaredField(int) . |
FieldMapping[] |
ClassMapping.getDeclaredFieldMappings()
Convenience method to perform cast from ClassMetaData.getDeclaredFields() . |
FieldMapping[] |
ClassMapping.getDeclaredUnmanagedFieldMappings()
Convenience method to perform cast from ClassMetaData.getDeclaredUnmanagedFields() . |
FieldMapping[] |
ClassMapping.getDefaultFetchGroupFieldMappings()
Convenience method to perform cast from ClassMetaData.getDefaultFetchGroupFields() . |
FieldMapping[] |
ClassMapping.getDefinedFieldMappings()
Convenience method to perform cast from ClassMetaData.getDefinedFields() . |
FieldMapping[] |
ClassMapping.getDefinedFieldMappingsInListingOrder()
Convenience method to perform cast from ClassMetaData.getDefinedFieldsInListingOrder() . |
FieldMapping |
FieldMapping.getFieldMapping()
|
FieldMapping |
ValueMapping.getFieldMapping()
Convenience method to perform cast from ValueMetaData.getFieldMetaData() . |
FieldMapping |
ValueMappingImpl.getFieldMapping()
|
FieldMapping |
ClassMapping.getFieldMapping(int index)
Convenience method to perform cast from ClassMetaData.getField(int) . |
FieldMapping |
ClassMapping.getFieldMapping(java.lang.String name)
Convenience method to perform cast from ClassMetaData.getField(int) . |
FieldMapping[] |
ClassMapping.getFieldMappings()
Convenience method to perform cast from ClassMetaData.getFields() . |
FieldMapping[] |
ClassMapping.getFieldMappingsInListingOrder()
Convenience method to perform cast from ClassMetaData.getFieldsInListingOrder() . |
FieldMapping[] |
FieldMapping.getInverseMappings()
Convenience method to perform cast from FieldMetaData.getInverseMetaDatas() |
FieldMapping |
FieldMapping.getMappedByMapping()
Convenience method to perform cast from FieldMetaData.getMappedByMetaData() |
FieldMapping[] |
ClassMapping.getPrimaryKeyFieldMappings()
Convenience method to perform cast from ClassMetaData.getPrimaryKeyFields() . |
FieldMapping |
FieldMapping.getValueMappedByMapping()
|
FieldMapping |
ValueMapping.getValueMappedByMapping()
Convenience method to perform cast from ValueMetaData.getValueMappedByMetaData() . |
FieldMapping |
ValueMappingImpl.getValueMappedByMapping()
|
FieldMapping |
ClassMapping.getVersionFieldMapping()
Convenience method to perform cast from ClassMetaData.getVersionField() . |
FieldMapping |
ReverseMappingTool.newFieldMapping(java.lang.String name,
java.lang.Class type,
Column col,
ForeignKey fk,
ClassMapping dec)
Create a field mapping for the given info, or return null if customizer rejects. |
Methods in org.apache.openjpa.jdbc.meta with parameters of type FieldMapping | |
---|---|
void |
ReverseMappingTool.addJoinConstraints(FieldMapping field)
Add existing unique constraints and indexes to the given field's join. |
void |
FieldMapping.copyMappingInfo(FieldMapping fm)
Copy mapping info from the given instance to this one. |
void |
ReverseCustomizer.customize(FieldMapping field)
Customize the given field information produced by the reverse mapping tool. |
void |
PropertiesReverseCustomizer.customize(FieldMapping field)
|
protected FieldStrategy |
MappingRepository.defaultStrategy(FieldMapping field,
boolean installHandlers)
Determine the default strategy to use for the given field. |
protected FieldStrategy |
MappingRepository.defaultStrategy(FieldMapping field,
boolean installHandlers,
boolean adapting)
Determine the default strategy to use for the given field. |
protected VersionStrategy |
MappingRepository.defaultStrategy(Version vers,
FieldMapping vfield)
Return the default version strategy, given a version field. |
protected FieldStrategy |
MappingRepository.defaultTypeStrategy(FieldMapping field,
boolean installHandlers,
boolean adapting)
Return the built-in strategy for the field's type, or null if none. |
java.lang.String |
ReverseCustomizer.getDeclaration(FieldMapping field)
Return a code template for the declaration of the given field, or null to use the system-generated default Java code. |
java.lang.String |
PropertiesReverseCustomizer.getDeclaration(FieldMapping field)
|
java.lang.String |
ReverseCustomizer.getFieldCode(FieldMapping field)
Return a code template for the get/set methods of the given field, or null to use the system-generated default Java code. |
java.lang.String |
PropertiesReverseCustomizer.getFieldCode(FieldMapping field)
|
java.lang.String |
ReverseCustomizer.getInitialValue(FieldMapping field)
Return code for the initial value for the given field, or null to use the default generated by the system. |
java.lang.String |
PropertiesReverseCustomizer.getInitialValue(FieldMapping field)
|
ForeignKey |
FieldMappingInfo.getJoin(FieldMapping field,
Table table,
boolean adapt)
Return the join from the field table to the owning class table. |
ForeignKey |
MappingDefaults.getJoinForeignKey(FieldMapping fm,
Table local,
Table foreign)
Return a default foreign key for the join from this field's table to its defining class' table, or null for a logical foreign key only. |
ForeignKey |
MappingDefaultsImpl.getJoinForeignKey(FieldMapping fm,
Table local,
Table foreign)
|
ForeignKey |
NoneMappingDefaults.getJoinForeignKey(FieldMapping fm,
Table local,
Table foreign)
|
Index |
FieldMappingInfo.getJoinIndex(FieldMapping field,
boolean adapt)
Index on the field join. |
Index |
MappingDefaults.getJoinIndex(FieldMapping fm,
Table table,
Column[] cols)
Return a default index for the join, or null if the join columns should not be indexed by default. |
Index |
MappingDefaultsImpl.getJoinIndex(FieldMapping fm,
Table table,
Column[] cols)
|
Index |
NoneMappingDefaults.getJoinIndex(FieldMapping fm,
Table table,
Column[] cols)
|
Unique |
FieldMappingInfo.getJoinUnique(FieldMapping field,
boolean def,
boolean adapt)
Unique constraint on the field join. |
Unique |
MappingDefaults.getJoinUnique(FieldMapping fm,
Table table,
Column[] cols)
Return a default constraint for the join, or null if the join columns should not be constrained by default. |
Unique |
MappingDefaultsImpl.getJoinUnique(FieldMapping fm,
Table table,
Column[] cols)
|
Unique |
NoneMappingDefaults.getJoinUnique(FieldMapping fm,
Table table,
Column[] cols)
|
Column |
FieldMappingInfo.getOrderColumn(FieldMapping field,
Table table,
boolean adapt)
Return the ordering column for this field, or null if none. |
Table |
FieldMappingInfo.getTable(FieldMapping field,
boolean create,
boolean adapt)
Return the table for the given field, or null if no table given. |
java.lang.String |
MappingDefaults.getTableName(FieldMapping fm,
Schema defaultSchema)
Return the default secondary table name for the given field. |
java.lang.String |
MappingDefaultsImpl.getTableName(FieldMapping fm,
Schema schema)
|
java.lang.String |
NoneMappingDefaults.getTableName(FieldMapping fm,
Schema schema)
|
protected FieldStrategy |
MappingRepository.handlerCollectionStrategy(FieldMapping field,
ValueHandler ehandler,
boolean installHandlers)
Return the collection strategy for the given element handler, or null if none. |
protected FieldStrategy |
MappingRepository.handlerMapStrategy(FieldMapping field,
ValueHandler khandler,
ValueHandler vhandler,
boolean krel,
boolean vrel,
boolean installHandlers)
Return the map strategy for the given key and value handlers / relations, or null if none. |
boolean |
QueryResultMapping.PCResult.hasEager(java.util.List path,
FieldMapping field)
Return true if the mapped result contains eager data for the given field at the given path. |
void |
MappingDefaults.installPrimaryKey(FieldMapping fm,
Table table)
If desired, install a primary key on the given secondary table. |
void |
MappingDefaultsImpl.installPrimaryKey(FieldMapping fm,
Table table)
|
void |
NoneMappingDefaults.installPrimaryKey(FieldMapping fm,
Table table)
|
abstract void |
StrategyInstaller.installStrategy(FieldMapping fm)
Install a strategy on the given mapping. |
void |
MappingStrategyInstaller.installStrategy(FieldMapping field)
|
void |
NoneStrategyInstaller.installStrategy(FieldMapping field)
|
void |
RefreshStrategyInstaller.installStrategy(FieldMapping field)
|
void |
RuntimeStrategyInstaller.installStrategy(FieldMapping field)
|
protected FieldStrategy |
MappingRepository.namedStrategy(FieldMapping field,
boolean installHandlers)
Instantiate the given field's named strategy, or return null if no named strategy. |
protected FieldMappingInfo |
MappingRepository.newMappingInfo(FieldMapping fm)
Create raw mapping info for the given instance. |
void |
MappingDefaults.populateJoinColumn(FieldMapping fm,
Table local,
Table foreign,
Column col,
java.lang.Object target,
int pos,
int cols)
Fill in default information for the given column used to join a field to its defining class' table. |
void |
MappingDefaultsImpl.populateJoinColumn(FieldMapping fm,
Table local,
Table foreign,
Column col,
java.lang.Object target,
int pos,
int cols)
|
void |
NoneMappingDefaults.populateJoinColumn(FieldMapping fm,
Table local,
Table foreign,
Column col,
java.lang.Object target,
int pos,
int cols)
|
boolean |
MappingDefaults.populateOrderColumns(FieldMapping fm,
Table table,
Column[] cols)
Fill in default information for the given order columns. |
boolean |
MappingDefaultsImpl.populateOrderColumns(FieldMapping fm,
Table table,
Column[] cols)
|
boolean |
NoneMappingDefaults.populateOrderColumns(FieldMapping fm,
Table table,
Column[] cols)
|
void |
FieldMapping.setFieldMapping(FieldMapping owner)
|
void |
FieldStrategy.setFieldMapping(FieldMapping owner)
Set the class mapping using this strategy. |
void |
FieldMappingInfo.syncOrderColumn(FieldMapping field)
Synchronize internal order column information with the given field. |
void |
FieldMappingInfo.syncStrategy(FieldMapping field)
Synchronize internal mapping strategy information with the given field. |
void |
FieldMappingInfo.syncWith(FieldMapping field)
Synchronize internal information with the mapping data for the given field. |
Constructors in org.apache.openjpa.jdbc.meta with parameters of type FieldMapping | |
---|---|
ValueMappingImpl(FieldMapping owner)
Constructor. |
Uses of FieldMapping in org.apache.openjpa.jdbc.meta.strats |
---|
Fields in org.apache.openjpa.jdbc.meta.strats declared as FieldMapping | |
---|---|
protected FieldMapping |
AbstractFieldStrategy.field
The owning field mapping. |
Methods in org.apache.openjpa.jdbc.meta.strats that return FieldMapping | |
---|---|
FieldMapping |
LRSCollectionFieldStrategy.getFieldMapping()
The owning field mapping. |
FieldMapping |
LRSMapFieldStrategy.getFieldMapping()
The owning field mapping. |
FieldMapping |
MapTableFieldStrategy.getFieldMapping()
|
FieldMapping |
RelationCollectionInverseKeyFieldStrategy.getFieldMapping()
|
FieldMapping |
RelationCollectionTableFieldStrategy.getFieldMapping()
|
FieldMapping |
RelationMapInverseKeyFieldStrategy.getFieldMapping()
|
FieldMapping |
RelationMapTableFieldStrategy.getFieldMapping()
|
Methods in org.apache.openjpa.jdbc.meta.strats with parameters of type FieldMapping | |
---|---|
protected static void |
ContainerFieldStrategy.appendJoinCount(SQLBuffer sql,
Select sel,
Joins joins,
DBDictionary dict,
FieldMapping field,
ForeignKey fk)
|
static void |
ContainerFieldStrategy.appendUnaliasedJoin(SQLBuffer sql,
Select sel,
Joins joins,
DBDictionary dict,
FieldMapping field,
ForeignKey fk)
|
void |
AbstractFieldStrategy.setFieldMapping(FieldMapping owner)
|
void |
NoneFieldStrategy.setFieldMapping(FieldMapping owner)
|
Uses of FieldMapping in org.apache.openjpa.jdbc.sql |
---|
Methods in org.apache.openjpa.jdbc.sql with parameters of type FieldMapping | |
---|---|
SelectExecutor |
Select.eagerClone(FieldMapping key,
int eagerType,
boolean toMany,
int sels)
Return a select that will be eagerly executed with this one, or null if the select cannot be created for the given key and join type. |
SelectExecutor |
LogicalUnion.UnionSelect.eagerClone(FieldMapping key,
int eagerType,
boolean toMany,
int sels)
|
SelectExecutor |
SelectImpl.eagerClone(FieldMapping key,
int eagerType,
boolean toMany,
int sels)
|
java.lang.Object |
Result.getEager(FieldMapping key)
The eager result for the given key, or null if none. |
SelectExecutor |
Select.getEager(FieldMapping key)
Return the eager select for the given key. |
java.lang.Object |
AbstractResult.getEager(FieldMapping key)
|
SelectExecutor |
LogicalUnion.UnionSelect.getEager(FieldMapping key)
|
SelectExecutor |
SelectImpl.getEager(FieldMapping key)
|
java.lang.Object |
SelectImpl.SelectResult.getEager(FieldMapping key)
|
java.lang.Object |
MergedResult.getEager(FieldMapping key)
|
void |
Result.putEager(FieldMapping key,
java.lang.Object res)
The eager result for the given key, or null if none. |
void |
AbstractResult.putEager(FieldMapping key,
java.lang.Object res)
|
void |
SelectImpl.SelectResult.putEager(FieldMapping key,
java.lang.Object res)
|
void |
MergedResult.putEager(FieldMapping key,
java.lang.Object res)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |