Uses of Class
org.apache.openjpa.meta.FieldMetaData

Packages that use FieldMetaData
org.apache.openjpa.abstractstore OpenJPA Abstract StoreManager Implementation 
org.apache.openjpa.datacache OpenJPA Data Cache 
org.apache.openjpa.enhance OpenJPA Enhancer 
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.kernel OpenJPA Runtime Kernel 
org.apache.openjpa.kernel.exps OpenJPA Expression Tree 
org.apache.openjpa.meta OpenJPA Metadata 
org.apache.openjpa.persistence OpenJPA JPA 
org.apache.openjpa.persistence.jdbc OpenJPA JPA-JDBC 
org.apache.openjpa.util OpenJPA Utilities 
 

Uses of FieldMetaData in org.apache.openjpa.abstractstore
 

Methods in org.apache.openjpa.abstractstore with parameters of type FieldMetaData
 Seq AbstractStoreManager.getValueSequence(FieldMetaData forField)
          Returns null.
 

Uses of FieldMetaData in org.apache.openjpa.datacache
 

Methods in org.apache.openjpa.datacache with parameters of type FieldMetaData
protected  void DataCachePCDataImpl.clearInverseRelationCache(OpenJPAStateManager sm, FieldMetaData fmd)
          Check if this field is in use of "order by" by other field collections in inverse relation.
protected  void DataCachePCDataImpl.storeField(OpenJPAStateManager sm, FieldMetaData fmd)
          Store field-level information from the given state manager.
protected  Object DataCachePCDataImpl.toData(FieldMetaData fmd, Object val, StoreContext ctx)
           
 

Uses of FieldMetaData in org.apache.openjpa.enhance
 

Methods in org.apache.openjpa.enhance with parameters of type FieldMetaData
protected  String CodeGenerator.getDeclaration(FieldMetaData field)
          Return a code template for the declaration of the given field, or null to use the system-generated default Java code.
protected  List CodeGenerator.getFieldAnnotations(FieldMetaData field)
          Return field-level annotations.
protected  String CodeGenerator.getFieldCode(FieldMetaData field)
          Return a code template for the get/set methods of the given field, or null to use the system-generated default Java code.
protected  String CodeGenerator.getInitialValue(FieldMetaData field)
          Return code for the initial value for the given field, or null to use the default generated by the system.
protected  int PCDataGenerator.replaceType(FieldMetaData fmd)
          Return a valid JavaTypes constant for the given field
protected  boolean PCDataGenerator.usesImplData(FieldMetaData fmd)
          Whether the given field might have cacheable impl data.
protected  boolean PCDataGenerator.usesIntermediate(FieldMetaData fmd)
          Whether the given field uses a cacheable intermediate value.
 

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

Methods in org.apache.openjpa.jdbc.kernel with parameters of type FieldMetaData
 Seq JDBCStoreManager.getValueSequence(FieldMetaData fmd)
           
 JDBCFetchConfiguration DelegatingJDBCFetchConfiguration.traverseJDBC(FieldMetaData fm)
           
 JDBCFetchConfiguration JDBCFetchConfiguration.traverseJDBC(FieldMetaData fm)
          Convenience method to cast traversal to store-specific type.
 JDBCFetchConfiguration JDBCFetchConfigurationImpl.traverseJDBC(FieldMetaData fm)
           
 

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

Methods in org.apache.openjpa.jdbc.kernel.exps that return FieldMetaData
 FieldMetaData PCPath.last()
           
 

Methods in org.apache.openjpa.jdbc.kernel.exps with parameters of type FieldMetaData
 void PCPath.get(FieldMetaData field, boolean nullTraversal)
           
 void PCPath.get(FieldMetaData fmd, XMLMetaData meta)
           
 

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

Subclasses of FieldMetaData in org.apache.openjpa.jdbc.meta
 class FieldMapping
          Specialization of metadata for relational databases.
 

Methods in org.apache.openjpa.jdbc.meta that return FieldMetaData
protected  FieldMetaData MappingRepository.newFieldMetaData(String name, Class type, ClassMetaData owner)
           
protected  FieldMetaData[] MappingRepository.newFieldMetaDataArray(int length)
           
 

Methods in org.apache.openjpa.jdbc.meta with parameters of type FieldMetaData
 void FieldMapping.copy(FieldMetaData fmd)
           
protected  Order MappingRepository.newRelatedFieldOrder(FieldMetaData owner, FieldMetaData rel, boolean asc)
           
protected  ValueMetaData MappingRepository.newValueMetaData(FieldMetaData owner)
           
protected  Order MappingRepository.newValueOrder(FieldMetaData owner, boolean asc)
           
 

Uses of FieldMetaData in org.apache.openjpa.kernel
 

Methods in org.apache.openjpa.kernel with parameters of type FieldMetaData
protected  void InverseManager.addToCollection(OpenJPAStateManager sm, FieldMetaData fmd, Object val)
          Add the given value to the collection at the selected field.
protected  void InverseManager.clearInverseRelations(OpenJPAStateManager sm, FieldMetaData fmd, FieldMetaData[] inverses, Object newValue)
          Remove all relations between the initial value of fmd for the instance managed by sm and its inverses.
protected  void InverseManager.clearInverseRelations(OpenJPAStateManager sm, FieldMetaData fmd, FieldMetaData[] inverses, Object newValue)
          Remove all relations between the initial value of fmd for the instance managed by sm and its inverses.
protected  void InverseManager.clearInverseRelations(OpenJPAStateManager sm, Object val, FieldMetaData fmd, FieldMetaData[] inverses)
          Clear all inverse the relations from val to the instance managed by sm.
protected  void InverseManager.clearInverseRelations(OpenJPAStateManager sm, Object val, FieldMetaData fmd, FieldMetaData[] inverses)
          Clear all inverse the relations from val to the instance managed by sm.
 void InverseManager.correctRelations(OpenJPAStateManager sm, FieldMetaData fmd, Object value)
          Correct relations from the given dirty field to inverse instances.
protected  void InverseManager.createInverseRelations(StoreContext ctx, Object fromRef, Object toRef, FieldMetaData fmd, FieldMetaData[] inverses)
          Create the inverse relations for all the given inverse fields.
protected  void InverseManager.createInverseRelations(StoreContext ctx, Object fromRef, Object toRef, FieldMetaData fmd, FieldMetaData[] inverses)
          Create the inverse relations for all the given inverse fields.
 Seq BrokerImpl.getValueSequence(FieldMetaData fmd)
           
 Seq DelegatingBroker.getValueSequence(FieldMetaData fmd)
           
 Seq Broker.getValueSequence(FieldMetaData fmd)
          Returns a Seq for the generated values of the specified field, or null if the field is not generated.
 Seq DelegatingStoreManager.getValueSequence(FieldMetaData fmd)
           
 Seq StoreManager.getValueSequence(FieldMetaData forField)
          Return a sequence that generates values for the given field.
protected static boolean DetachedStateManager.ignoreLoaded(FieldMetaData fmd)
          Ignore if the field is not dirty but loaded
protected  void PCDataImpl.loadField(OpenJPAStateManager sm, FieldMetaData fmd, FetchConfiguration fetch, Object context)
          Set field-level information into the given state manager.
protected  void PCDataImpl.loadImplData(OpenJPAStateManager sm, FieldMetaData fmd)
          Set field-level impl data into the given state manager.
protected  void PCDataImpl.loadIntermediate(OpenJPAStateManager sm, FieldMetaData fmd)
          Set intermediate information for the given field into the state manager.
protected  void InverseManager.removeFromCollection(OpenJPAStateManager sm, FieldMetaData fmd, Object val)
          Remove the given instance from the collection.
 int FetchConfigurationImpl.requiresFetch(FieldMetaData fm)
           
 int FetchConfiguration.requiresFetch(FieldMetaData fm)
          Affirms if the given field requires to be fetched in the context of current fetch operation.
 int DelegatingFetchConfiguration.requiresFetch(FieldMetaData fmd)
           
protected  void PCDataImpl.storeField(OpenJPAStateManager sm, FieldMetaData fmd)
          Store field-level information from the given state manager.
protected  void InverseManager.storeField(OpenJPAStateManager sm, FieldMetaData fmd, Object compare, Object val)
          Store a given value at the given field.
protected  void PCDataImpl.storeImplData(OpenJPAStateManager sm, FieldMetaData fmd, boolean fieldLoaded)
          Store impl data for the given field.
protected  void PCDataImpl.storeIntermediate(OpenJPAStateManager sm, FieldMetaData fmd)
          Store the intermediate field value for the given field.
protected  void InverseManager.storeNull(OpenJPAStateManager sm, FieldMetaData fmd, Object compare)
          Store null value at the given field.
protected  void InverseManager.throwException(OpenJPAStateManager sm, FieldMetaData fmd)
          Throw an inconsistency exception
protected  Object AbstractPCData.toData(FieldMetaData fmd, Object val, StoreContext ctx)
          Transform the given field value to a data value for caching.
protected  Object AbstractPCData.toField(OpenJPAStateManager sm, FieldMetaData fmd, Object data, FetchConfiguration fetch, Object context)
          Transform the given data value into its field value.
 FetchConfiguration FetchConfigurationImpl.traverse(FieldMetaData fm)
           
 FetchConfiguration FetchConfiguration.traverse(FieldMetaData fm)
          Traverse the given field to generate (possibly) a new configuration state.
 FetchConfiguration DelegatingFetchConfiguration.traverse(FieldMetaData fmd)
           
protected  void InverseManager.warnConsistency(OpenJPAStateManager sm, FieldMetaData fmd)
          Log an inconsistency warning
 

Uses of FieldMetaData in org.apache.openjpa.kernel.exps
 

Methods in org.apache.openjpa.kernel.exps that return FieldMetaData
 FieldMetaData Path.last()
          Return the last field in the path, or null if the path does not not contain a final field.
 

Methods in org.apache.openjpa.kernel.exps with parameters of type FieldMetaData
 void Path.get(FieldMetaData field, boolean nullTraversal)
          Traverse into the given field of the current object, and update the current object to that field value.
 void Path.get(FieldMetaData fmd, XMLMetaData meta)
          Traverse into the given field that maps to xml column, and update the current object to that field value.
 

Uses of FieldMetaData in org.apache.openjpa.meta
 

Fields in org.apache.openjpa.meta declared as FieldMetaData
protected  FieldMetaData[] MetaDataRepository.EMPTY_FIELDS
           
 

Methods in org.apache.openjpa.meta that return FieldMetaData
 FieldMetaData ClassMetaData.addDeclaredField(String name, Class type)
          Add a new field metadata to this class.
 FieldMetaData ClassMetaData.addDefinedSuperclassField(String name, Class type, Class sup)
          Add a new defined superclass field metadata to this class.
 FieldMetaData ClassMetaData.getDeclaredField(int index)
          Return the metadata for the persistent or transactional field with the given relative index.
 FieldMetaData ClassMetaData.getDeclaredField(String name)
          Return the metadata for the persistent or transactional field with the given name, without including superclass fields.
 FieldMetaData[] ClassMetaData.getDeclaredFields()
          Return only the fields for this class, without superclass fields.
 FieldMetaData[] FetchGroup.getDeclaredRecursionDepthFields()
          Return the fields with declared recursion depths in this group.
 FieldMetaData[] ClassMetaData.getDeclaredUnmanagedFields()
          Return any fields that were added as non-managed.
 FieldMetaData[] ClassMetaData.getDefaultFetchGroupFields()
          Return the list of fields in the default fetch group, including superclass fields, or an empty array if none.
 FieldMetaData[] ClassMetaData.getDefinedFields()
          Returns an array of all the fields defined by this class.
 FieldMetaData[] ClassMetaData.getDefinedFieldsInListingOrder()
          Returns all fields defined by this class in the order they are listed in the metadata file.
 FieldMetaData ClassMetaData.getDefinedSuperclassField(String name)
          Return the defined superclass field with the given name, or null if none.
 FieldMetaData ClassMetaData.getField(int index)
          Return the metadata for the persistent or transactional field with the given absolute index.
 FieldMetaData ClassMetaData.getField(String name)
          Return the metadata for the persistent or transactional field with the given name.
 FieldMetaData ValueMetaData.getFieldMetaData()
          Return the owning field for this value.
 FieldMetaData ValueMetaDataImpl.getFieldMetaData()
           
 FieldMetaData FieldMetaData.getFieldMetaData()
           
 FieldMetaData[] ClassMetaData.getFields()
          Return all field metadatas, including superclass fields.
 FieldMetaData[] ClassMetaData.getFieldsInListingOrder()
          Returns all fields in the order they are listed in the metadata file.
 FieldMetaData[] FieldMetaData.getInverseMetaDatas()
          Return all inverses of this field.
 FieldMetaData FieldMetaData.getMappedByMetaData()
          The field that this field shares a mapping with.
 FieldMetaData[] ClassMetaData.getPrimaryKeyFields()
          Return primary key fields, or empty array if none.
protected  FieldMetaData ClassMetaData.getSuperclassField(FieldMetaData supField)
          Return the superclass copy of the given field.
 FieldMetaData ValueMetaData.getValueMappedByMetaData()
          The field that this value shares a mapping with.
 FieldMetaData ValueMetaDataImpl.getValueMappedByMetaData()
           
 FieldMetaData FieldMetaData.getValueMappedByMetaData()
           
 FieldMetaData ClassMetaData.getVersionField()
          Return the version field for this class, if any.
protected  FieldMetaData MetaDataRepository.newFieldMetaData(String name, Class type, ClassMetaData owner)
          Create a new field metadata instance.
protected  FieldMetaData[] MetaDataRepository.newFieldMetaDataArray(int length)
          Create a new array of the proper field metadata subclass.
 

Methods in org.apache.openjpa.meta with parameters of type FieldMetaData
 void FieldMetaData.copy(FieldMetaData field)
          Copy state from the given field to this one.
 Member MetaDataDefaults.getBackingMember(FieldMetaData field)
          Return the backing member for the given field metadata.
 Member AbstractMetaDataDefaults.getBackingMember(FieldMetaData fmd)
           
 Member NoneMetaDataFactory.getBackingMember(FieldMetaData fmd)
           
 int FetchGroup.getDeclaredRecursionDepth(FieldMetaData fm)
          Return the recursion depth declared for the given field, or 0 if none.
 int FetchGroup.getRecursionDepth(FieldMetaData fm)
          Recursion depth for the given field.
protected  FieldMetaData ClassMetaData.getSuperclassField(FieldMetaData supField)
          Return the superclass copy of the given field.
 XMLMetaData MetaDataRepository.getXMLMetaData(FieldMetaData fmd)
          Return XML metadata for a given field metadata
 void DelegatingMetaDataFactory.loadXMLMetaData(FieldMetaData fmd)
           
 void MetaDataFactory.loadXMLMetaData(FieldMetaData fmd)
          Load XMLClassMetadata for the given class.
 void NoneMetaDataFactory.loadXMLMetaData(FieldMetaData fmd)
           
static boolean JavaTypes.maybePC(FieldMetaData field)
          Return true if the (possibly unresolved) field or its elements might be persistence capable objects.
protected  Order MetaDataRepository.newOrder(FieldMetaData owner, String name, boolean asc)
          Create an Order for the given field and declaration.
protected  Order MetaDataRepository.newRelatedFieldOrder(FieldMetaData owner, FieldMetaData rel, boolean asc)
          Order by a field of the related type.
protected  ValueMetaData MetaDataRepository.newValueMetaData(FieldMetaData owner)
          Create a new value metadata instance.
protected  Order MetaDataRepository.newValueOrder(FieldMetaData owner, boolean asc)
          Order by the field value.
protected  void AbstractMetaDataDefaults.populate(FieldMetaData fmd)
          Populate initial field data.
 boolean ClassMetaData.removeDeclaredField(FieldMetaData field)
          Remove the given field from management.
 boolean ClassMetaData.removeDefinedSuperclassField(FieldMetaData field)
          Remove the given field from management.
 void FetchGroup.setRecursionDepth(FieldMetaData fm, int depth)
          Recursion depth for the given field.
 

Constructors in org.apache.openjpa.meta with parameters of type FieldMetaData
ValueMetaDataImpl(FieldMetaData owner)
           
 

Uses of FieldMetaData in org.apache.openjpa.persistence
 

Methods in org.apache.openjpa.persistence with parameters of type FieldMetaData
protected  void AnnotationPersistenceMetaDataSerializer.addAnnotation(AnnotationBuilder ab, FieldMetaData meta)
          Add an annotation builder to list of builders for the specified field metadata.
protected  AnnotationBuilder AnnotationPersistenceMetaDataSerializer.addAnnotation(Class<? extends Annotation> annType, FieldMetaData meta)
          Creates an an annotation builder for the specified class metadata and adds it to list of builders.
protected  void XMLPersistenceMetaDataSerializer.addFieldMappingAttributes(FieldMetaData fmd, FieldMetaData orig)
          Add mapping attributes for the given field.
protected  void AnnotationPersistenceMetaDataSerializer.addFieldMappingAttributes(FieldMetaData fmd, FieldMetaData orig, AnnotationBuilder ab)
          Add mapping attributes for the given field.
protected  void XMLPersistenceMetaDataSerializer.addStrategyMappingAttributes(FieldMetaData fmd)
          Set mapping attributes for strategy.
protected  void AnnotationPersistenceMetaDataSerializer.addStrategyMappingAttributes(FieldMetaData fmd, AnnotationBuilder ab)
          Set mapping attributes for strategy.
protected  void XMLPersistenceMetaDataParser.endFieldMapping(FieldMetaData field)
          Implement to finalize field mapping.
static PersistenceStrategy PersistenceMetaDataDefaults.getPersistenceStrategy(FieldMetaData fmd, Member member)
          Return the code for the strategy of the given member.
protected  PersistenceStrategy XMLPersistenceMetaDataSerializer.getStrategy(FieldMetaData fmd)
          Return the serialized strategy name.
protected  PersistenceStrategy AnnotationPersistenceMetaDataSerializer.getStrategy(FieldMetaData fmd)
          Return the serialized strategy name.
protected  boolean AnnotationPersistenceMetaDataParser.handleUnknownMemberAnnotation(FieldMetaData fmd, Annotation anno)
          Allow subclasses to handle unknown annotations.
 void PersistenceMetaDataFactory.loadXMLMetaData(FieldMetaData fmd)
           
 void AnnotationPersistenceXMLMetaDataParser.parse(FieldMetaData fmd)
          Parse persistence metadata for the given field metadata.
protected  void XMLPersistenceMetaDataParser.parseBasic(FieldMetaData fmd, Attributes attrs)
          Parse basic.
protected  void XMLPersistenceMetaDataParser.parseEmbedded(FieldMetaData fmd, Attributes attrs)
          Parse embedded.
protected  void AnnotationPersistenceMetaDataParser.parseLobMapping(FieldMetaData fmd)
          Setup the field as a LOB mapping.
protected  void XMLPersistenceMetaDataParser.parseManyToMany(FieldMetaData fmd, Attributes attrs)
          Parse many-to-many.
protected  void XMLPersistenceMetaDataParser.parseManyToOne(FieldMetaData fmd, Attributes attrs)
          Parse many-to-one.
protected  void AnnotationPersistenceMetaDataParser.parseMemberMappingAnnotations(FieldMetaData fmd)
          Parse member mapping components.
protected  void XMLPersistenceMetaDataParser.parseOneToMany(FieldMetaData fmd, Attributes attrs)
          Parse one-to-many.
protected  void XMLPersistenceMetaDataParser.parseOneToOne(FieldMetaData fmd, Attributes attrs)
          Parse one-to-one.
protected  void PersistenceMetaDataDefaults.populate(FieldMetaData fmd)
           
protected  boolean XMLPersistenceMetaDataSerializer.serializeAttributeOverride(FieldMetaData fmd, FieldMetaData orig)
          Always returns false by default.
protected  boolean AnnotationPersistenceMetaDataSerializer.serializeAttributeOverride(FieldMetaData fmd, FieldMetaData orig)
          Always returns false by default.
protected  void XMLPersistenceMetaDataSerializer.serializeAttributeOverrideMappingContent(FieldMetaData fmd, FieldMetaData orig)
          Serialize attribute override mapping content.
protected  void AnnotationPersistenceMetaDataSerializer.serializeAttributeOverrideMappingContent(FieldMetaData fmd, FieldMetaData orig, AnnotationBuilder ab)
          Serialize attribute override mapping content.
protected  void XMLPersistenceMetaDataSerializer.serializeFieldMappingContent(FieldMetaData fmd, PersistenceStrategy strategy)
          Serialize field mapping content; this will be called before #serializeValueMappingContent.
protected  void AnnotationPersistenceMetaDataSerializer.serializeFieldMappingContent(FieldMetaData fmd, PersistenceStrategy strategy, AnnotationBuilder ab)
          Serialize field mapping content; this will be called before #serializeValueMappingContent.
protected  void XMLPersistenceMetaDataParser.setCascades(FieldMetaData fmd)
          Set the cached cascades into the field.
protected  void XMLPersistenceMetaDataParser.startFieldMapping(FieldMetaData field, Attributes attrs)
          Implement to add field mapping data.
 

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

Methods in org.apache.openjpa.persistence.jdbc with parameters of type FieldMetaData
protected  void XMLPersistenceMappingParser.endFieldMapping(FieldMetaData field)
          Extend to set the columns.
protected  PersistenceStrategy AnnotationPersistenceMappingSerializer.getStrategy(FieldMetaData fmd)
           
protected  PersistenceStrategy XMLPersistenceMappingSerializer.getStrategy(FieldMetaData fmd)
           
protected  void AnnotationPersistenceMappingParser.parseLobMapping(FieldMetaData fmd)
           
protected  void AnnotationPersistenceMappingParser.parseMemberMappingAnnotations(FieldMetaData fmd)
           
protected  boolean AnnotationPersistenceMappingSerializer.serializeAttributeOverride(FieldMetaData fmd, FieldMetaData orig)
           
protected  boolean XMLPersistenceMappingSerializer.serializeAttributeOverride(FieldMetaData fmd, FieldMetaData orig)
           
protected  void XMLPersistenceMappingSerializer.serializeAttributeOverrideMappingContent(FieldMetaData fmd, FieldMetaData orig)
           
protected  void AnnotationPersistenceMappingSerializer.serializeAttributeOverrideMappingContent(FieldMetaData fmd, FieldMetaData orig, AnnotationBuilder ab)
           
protected  void XMLPersistenceMappingSerializer.serializeFieldMappingContent(FieldMetaData fmd, PersistenceStrategy strategy)
           
protected  void AnnotationPersistenceMappingSerializer.serializeFieldMappingContent(FieldMetaData fmd, PersistenceStrategy strategy, AnnotationBuilder ab)
           
protected  void XMLPersistenceMappingParser.startFieldMapping(FieldMetaData field, Attributes attrs)
          Extend to clear annotation mapping info.
 

Uses of FieldMetaData in org.apache.openjpa.util
 

Methods in org.apache.openjpa.util with parameters of type FieldMetaData
static Object ImplHelper.generateFieldValue(StoreContext ctx, FieldMetaData fmd)
          Generate a value for the given metadata, or return null.
static Object ApplicationIds.get(Object oid, FieldMetaData fmd)
          Return the given primary key field value from the given oid.
 



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