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

Packages that use FieldMapping
org.apache.openjpa.jdbc.kernel OpenJPA-JDBC Runtime Kernel 
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
 

Methods in org.apache.openjpa.jdbc.kernel with parameters of type FieldMapping
protected  void JDBCStoreManager.setMappedBy(OpenJPAStateManager sm, FieldMapping mappedByFieldMapping, Object mappedByObject)
           
 

Uses of FieldMapping in org.apache.openjpa.jdbc.kernel.exps
 

Fields in org.apache.openjpa.jdbc.kernel.exps declared as FieldMapping
 FieldMapping PCPath.PathExpState.cmpfield
           
 FieldMapping PCPath.PathExpState.field
           
 

Methods in org.apache.openjpa.jdbc.kernel.exps that return FieldMapping
 FieldMapping FilterValueImpl.getFieldMapping()
           
 FieldMapping FilterValue.getFieldMapping()
          If this is a path to a persistent field, return its mapping, else return null.
 FieldMapping PCPath.getFieldMapping(ExpState state)
           
 

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 MappingRepository.getBi_1ToM_JoinTableField(FieldMapping field)
           
 FieldMapping FieldMapping.getBi_1ToM_JTField()
           
 FieldMapping MappingRepository.getBi_MTo1_JoinTableField(FieldMapping field)
           
 FieldMapping FieldMapping.getBi_MTo1_JTField()
           
 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 ValueMappingImpl.getFieldMapping()
           
 FieldMapping ValueMapping.getFieldMapping()
          Convenience method to perform cast from ValueMetaData.getFieldMetaData().
 FieldMapping FieldMapping.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 ValueMappingImpl.getValueMappedByMapping()
           
 FieldMapping ValueMapping.getValueMappedByMapping()
          Convenience method to perform cast from ValueMetaData.getValueMappedByMetaData().
 FieldMapping FieldMapping.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 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.
 FieldMapping MappingRepository.getBi_1ToM_JoinTableField(FieldMapping field)
           
 FieldMapping MappingRepository.getBi_MTo1_JoinTableField(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.getDeclaration(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.getFieldCode(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.
 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 FieldMappingInfo.getJoin(FieldMapping field, Table table, boolean adapt, List<Column> cols)
           
 ForeignKey FieldMappingInfo.getJoinForeignKey(FieldMapping field, Table table, boolean adapt)
           
 ForeignKey NoneMappingDefaults.getJoinForeignKey(FieldMapping fm, Table local, Table foreign)
           
 ForeignKey MappingDefaultsImpl.getJoinForeignKey(FieldMapping fm, Table local, Table foreign)
           
 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.
 Index FieldMappingInfo.getJoinIndex(FieldMapping field, boolean adapt)
          Index on the field join.
 Index NoneMappingDefaults.getJoinIndex(FieldMapping fm, Table table, Column[] cols)
           
 Index MappingDefaultsImpl.getJoinIndex(FieldMapping fm, Table table, Column[] cols)
           
 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.
 Unique[] FieldMappingInfo.getJoinTableUniques(FieldMapping field, boolean def, boolean adapt)
          Get the unique constraints associated with the Sequence table.
 Unique FieldMappingInfo.getJoinUnique(FieldMapping field, boolean def, boolean adapt)
          Unique constraint on the field join.
 Unique NoneMappingDefaults.getJoinUnique(FieldMapping fm, Table table, Column[] cols)
           
 Unique MappingDefaultsImpl.getJoinUnique(FieldMapping fm, Table table, Column[] cols)
           
 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.
 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.
 DBIdentifier NoneMappingDefaults.getTableIdentifier(FieldMapping fm, Schema defaultSchema)
           
 DBIdentifier MappingDefaultsImpl.getTableIdentifier(FieldMapping fm, Schema schema)
           
 DBIdentifier MappingDefaults.getTableIdentifier(FieldMapping fm, Schema defaultSchema)
          Return the default secondary table name for the given field.
 String NoneMappingDefaults.getTableName(FieldMapping fm, Schema schema)
           
 String MappingDefaultsImpl.getTableName(FieldMapping fm, Schema schema)
           
 String MappingDefaults.getTableName(FieldMapping fm, Schema defaultSchema)
          Deprecated.  
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.
 boolean MappingRepository.hasJoinColumn(FieldMapping field)
           
 boolean MappingRepository.hasJoinTable(FieldMapping field)
           
 void NoneMappingDefaults.installPrimaryKey(FieldMapping fm, Table table)
           
 void MappingDefaultsImpl.installPrimaryKey(FieldMapping fm, Table table)
           
 void MappingDefaults.installPrimaryKey(FieldMapping fm, Table table)
          If desired, install a primary key on the given secondary table.
abstract  void StrategyInstaller.installStrategy(FieldMapping fm)
          Install a strategy on the given mapping.
 void RuntimeStrategyInstaller.installStrategy(FieldMapping field)
           
 void RefreshStrategyInstaller.installStrategy(FieldMapping field)
           
 void NoneStrategyInstaller.installStrategy(FieldMapping field)
           
 void MappingStrategyInstaller.installStrategy(FieldMapping field)
           
 boolean MappingRepository.isBi1To1JT(FieldMapping field)
           
 boolean MappingRepository.isBidirectional(FieldMapping field)
           
 boolean MappingRepository.isBiMTo1JT(FieldMapping field)
           
 boolean MappingRepository.isUni1To1JT(FieldMapping field)
           
 boolean MappingRepository.isUni1ToMFK(FieldMapping field)
           
 boolean MappingRepository.isUniMTo1JT(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 NoneMappingDefaults.populateJoinColumn(FieldMapping fm, Table local, Table foreign, Column col, Object target, int pos, int cols)
           
 void MappingDefaultsImpl.populateJoinColumn(FieldMapping fm, Table local, Table foreign, Column col, Object target, int pos, int cols)
           
 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.
 boolean NoneMappingDefaults.populateOrderColumns(FieldMapping fm, Table table, Column[] cols)
           
 boolean MappingDefaultsImpl.populateOrderColumns(FieldMapping fm, Table table, Column[] cols)
           
 boolean MappingDefaults.populateOrderColumns(FieldMapping fm, Table table, Column[] cols)
          Fill in default information for the given order columns.
 void FieldStrategy.setFieldMapping(FieldMapping owner)
          Set the class mapping using this strategy.
 void FieldMapping.setFieldMapping(FieldMapping owner)
           
 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
JDBCRelatedFieldOrder(FieldMapping owner, FieldMapping rel, boolean asc)
           
JDBCValueOrder(FieldMapping fm, boolean asc)
           
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 RelationMapTableFieldStrategy.getFieldMapping()
           
 FieldMapping RelationMapInverseKeyFieldStrategy.getFieldMapping()
           
 FieldMapping RelationCollectionTableFieldStrategy.getFieldMapping()
           
 FieldMapping RelationCollectionInverseKeyFieldStrategy.getFieldMapping()
           
 FieldMapping MapTableFieldStrategy.getFieldMapping()
           
 FieldMapping LRSMapFieldStrategy.getFieldMapping()
          The owning field mapping.
 FieldMapping LRSCollectionFieldStrategy.getFieldMapping()
          The owning field mapping.
 FieldMapping HandlerCollectionTableFieldStrategy.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)
           
static void EmbedValueHandler.getEmbeddedIdCols(FieldMapping fmd, List cols)
           
static void EmbedValueHandler.getIdColumns(FieldMapping fmd, List cols)
           
 void NoneFieldStrategy.setFieldMapping(FieldMapping owner)
           
 void LobFieldStrategy.setFieldMapping(FieldMapping owner)
           
 void AbstractFieldStrategy.setFieldMapping(FieldMapping owner)
           
 

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

Methods in org.apache.openjpa.jdbc.sql that return FieldMapping
 FieldMapping Result.getMappedByFieldMapping()
          If this is the result used to select a toMany relationship, the mappedByFieldMapping is field mapping representing the inverse relationship.
 FieldMapping MergedResult.getMappedByFieldMapping()
           
 FieldMapping AbstractResult.getMappedByFieldMapping()
           
 

Methods in org.apache.openjpa.jdbc.sql with parameters of type FieldMapping
 SelectExecutor SelectImpl.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 LogicalUnion.UnionSelect.eagerClone(FieldMapping key, int eagerType, boolean toMany, int sels)
           
 SelectExecutor SelectImpl.getEager(FieldMapping key)
           
 Object SelectImpl.SelectResult.getEager(FieldMapping key)
           
 SelectExecutor Select.getEager(FieldMapping key)
          Return the eager select for the given key.
 Object Result.getEager(FieldMapping key)
          The eager result for the given key, or null if none.
 Object MergedResult.getEager(FieldMapping key)
           
 SelectExecutor LogicalUnion.UnionSelect.getEager(FieldMapping key)
           
 Object AbstractResult.getEager(FieldMapping key)
           
 void SelectImpl.SelectResult.putEager(FieldMapping key, Object res)
           
 void Result.putEager(FieldMapping key, Object res)
          The eager result for the given key, or null if none.
 void MergedResult.putEager(FieldMapping key, Object res)
           
 void AbstractResult.putEager(FieldMapping key, Object res)
           
 void Result.setMappedByFieldMapping(FieldMapping fieldMapping)
          If this is the result used to select a toMany relationship, the mappedByFieldMapping is field mapping representing the inverse relationship.
 void MergedResult.setMappedByFieldMapping(FieldMapping fieldMapping)
           
 void AbstractResult.setMappedByFieldMapping(FieldMapping fieldMapping)
           
 

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

Methods in org.apache.openjpa.persistence.jdbc that return FieldMapping
static FieldMapping AnnotationPersistenceMappingParser.getAttributeOverrideField(String attrName, FieldMapping fm, ClassMapping embed)
           
static FieldMapping AnnotationPersistenceMappingParser.getEmbeddedFieldMapping(FieldMapping fm, String attrName)
           
static FieldMapping AnnotationPersistenceMappingParser.getEmbeddedFieldMapping(FieldMapping fm, String attrName, boolean mustExist)
           
 

Methods in org.apache.openjpa.persistence.jdbc with parameters of type FieldMapping
static FieldMapping AnnotationPersistenceMappingParser.getAttributeOverrideField(String attrName, FieldMapping fm, ClassMapping embed)
           
static Class<?> AnnotationPersistenceMappingParser.getEmbeddedClassType(FieldMapping fm, String attrName)
           
static FieldMapping AnnotationPersistenceMappingParser.getEmbeddedFieldMapping(FieldMapping fm, String attrName)
           
static FieldMapping AnnotationPersistenceMappingParser.getEmbeddedFieldMapping(FieldMapping fm, String attrName, boolean mustExist)
           
protected  EnumType XMLPersistenceMappingSerializer.getEnumType(FieldMapping field)
          Return enum type for the field.
protected  EnumType AnnotationPersistenceMappingSerializer.getEnumType(FieldMapping field)
          Return enum type for the field.
 DBIdentifier PersistenceMappingDefaults.getTableIdentifier(FieldMapping fm, Schema schema)
           
 String PersistenceMappingDefaults.getTableName(FieldMapping fm, Schema schema)
           
protected  boolean AnnotationPersistenceMappingParser.handleUnknownMemberMappingAnnotation(FieldMapping fm, Annotation anno)
          Allow subclasses to handle unknown annotations.
protected  void AnnotationPersistenceMappingParser.parseCollectionTable(FieldMapping fm, CollectionTable ctbl)
          Parse @CollectionTable.
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.parseMapKeyColumn(FieldMapping fm, MapKeyColumn anno)
          Parse @MapKeyColumn.
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.
protected  void AnnotationPersistenceMappingParser.setMapKeyColumn(FieldMapping fm, MappingInfo info, Column col, int unique)
          Set the given map key column as the map key column for fm.
 

Constructors in org.apache.openjpa.persistence.jdbc with parameters of type FieldMapping
XMLPersistenceMappingParser.DeferredEmbeddableOverrides(FieldMapping fm, String attrName)
           
 



Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.