Uses of Class
org.apache.openjpa.jdbc.meta.FieldMapping

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 
org.apache.openjpa.persistence.jdbc OpenJPA JPA-JDBC 
 

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(String name, 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(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(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(String name, 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 PropertiesReverseCustomizer.customize(FieldMapping field)
           
 void ReverseCustomizer.customize(FieldMapping field)
          Customize the given field information produced by the reverse mapping tool.
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.
 String PropertiesReverseCustomizer.getDeclaration(FieldMapping field)
           
 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.
 String PropertiesReverseCustomizer.getFieldCode(FieldMapping field)
           
 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.
 String PropertiesReverseCustomizer.getInitialValue(FieldMapping field)
           
 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.
 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.
 String MappingDefaults.getTableName(FieldMapping fm, Schema defaultSchema)
          Return the default secondary table name for the given field.
 String MappingDefaultsImpl.getTableName(FieldMapping fm, Schema schema)
           
 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(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)
           
 void MappingStrategyInstaller.installStrategy(FieldMapping field)
           
 void NoneStrategyInstaller.installStrategy(FieldMapping field)
           
 void RefreshStrategyInstaller.installStrategy(FieldMapping field)
           
 void RuntimeStrategyInstaller.installStrategy(FieldMapping field)
           
abstract  void StrategyInstaller.installStrategy(FieldMapping fm)
          Install a strategy on the given mapping.
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, 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, Object target, int pos, int cols)
           
 void NoneMappingDefaults.populateJoinColumn(FieldMapping fm, Table local, Table foreign, Column col, 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 LogicalUnion.UnionSelect.eagerClone(FieldMapping key, int eagerType, boolean toMany, int sels)
           
 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 SelectImpl.eagerClone(FieldMapping key, int eagerType, boolean toMany, int sels)
           
 Object AbstractResult.getEager(FieldMapping key)
           
 SelectExecutor LogicalUnion.UnionSelect.getEager(FieldMapping key)
           
 Object MergedResult.getEager(FieldMapping key)
           
 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.
 SelectExecutor SelectImpl.getEager(FieldMapping key)
           
 Object SelectImpl.SelectResult.getEager(FieldMapping key)
           
 void AbstractResult.putEager(FieldMapping key, Object res)
           
 void MergedResult.putEager(FieldMapping key, Object res)
           
 void Result.putEager(FieldMapping key, Object res)
          The eager result for the given key, or null if none.
 void SelectImpl.SelectResult.putEager(FieldMapping key, Object res)
           
 

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

Methods in org.apache.openjpa.persistence.jdbc with parameters of type FieldMapping
protected  EnumType XMLPersistenceMappingSerializer.getEnumType(FieldMapping field)
          Return enum type for the field.
 String PersistenceMappingDefaults.getTableName(FieldMapping fm, Schema schema)
           
protected  boolean AnnotationPersistenceMappingParser.handleUnknownMemberMappingAnnotation(FieldMapping fm, Annotation anno)
          Allow subclasses to handle unknown annotations.
protected  void AnnotationPersistenceMappingParser.parseColumns(FieldMapping fm, Column... pcols)
          Parse @Column(s).
protected  void AnnotationPersistenceMappingParser.parseContainerTable(FieldMapping fm, ContainerTable ctbl)
          Parse @ContainerTable.
protected  void AnnotationPersistenceMappingParser.parseElementJoinColumns(FieldMapping fm, ElementJoinColumn... joins)
          Parse @ElementJoinColumn(s).
protected  void AnnotationPersistenceMappingParser.parseXJoinColumns(FieldMapping fm, MappingInfo info, boolean secondaryAllowed, XJoinColumn... joins)
          Parse given @XJoinColumn annotations.
 void PersistenceMappingDefaults.populateJoinColumn(FieldMapping fm, Table local, Table foreign, Column col, Object target, int pos, int cols)
           
protected  void AnnotationPersistenceMappingParser.setColumns(FieldMapping fm, MappingInfo info, List<Column> cols, int unique)
          Set the given columns as the columns for fm.
 



Copyright © 2006 Apache Software Foundation. All Rights Reserved.