Uses of Class
org.apache.openjpa.meta.FieldMetaData
-
Packages that use FieldMetaData Package Description org.apache.openjpa.abstractstore OpenJPA Abstract StoreManager Implementationorg.apache.openjpa.datacache OpenJPA Data Cacheorg.apache.openjpa.enhance OpenJPA Enhancerorg.apache.openjpa.kernel OpenJPA Runtime Kernelorg.apache.openjpa.kernel.exps OpenJPA Expression Treeorg.apache.openjpa.meta OpenJPA Metadataorg.apache.openjpa.util OpenJPA Utilities -
-
Uses of FieldMetaData in org.apache.openjpa.abstractstore
Methods in org.apache.openjpa.abstractstore with parameters of type FieldMetaData Modifier and Type Method Description SeqAbstractStoreManager. getValueSequence(FieldMetaData forField)Returns null. -
Uses of FieldMetaData in org.apache.openjpa.datacache
Methods in org.apache.openjpa.datacache with parameters of type FieldMetaData Modifier and Type Method Description protected voidDataCachePCDataImpl. clearInverseRelationCache(OpenJPAStateManager sm, FieldMetaData fmd)Check if this field is in use of "order by" by other field collections in inverse relation.protected voidDataCachePCDataImpl. storeField(OpenJPAStateManager sm, FieldMetaData fmd)Store field-level information from the given state manager.protected ObjectDataCachePCDataImpl. 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 Modifier and Type Method Description protected StringCodeGenerator. 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 ListCodeGenerator. getFieldAnnotations(FieldMetaData field)Return field-level annotations.protected StringCodeGenerator. 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 StringCodeGenerator. getInitialValue(FieldMetaData field)Return code for the initial value for the given field, or null to use the default generated by the system.protected intPCDataGenerator. replaceType(FieldMetaData fmd)Return a validJavaTypesconstant for the given fieldprotected booleanPCDataGenerator. usesImplData(FieldMetaData fmd)Whether the given field might have cacheable impl data.protected booleanPCDataGenerator. usesIntermediate(FieldMetaData fmd)Whether the given field uses a cacheable intermediate value. -
Uses of FieldMetaData in org.apache.openjpa.kernel
Methods in org.apache.openjpa.kernel that return types with arguments of type FieldMetaData Modifier and Type Method Description List<FieldMetaData>StateManagerImpl. getMappedByIdFields()Map<FieldMetaData,Value>AbstractStoreQuery.AbstractExecutor. getUpdates(StoreQuery q)Map<FieldMetaData,Value>QueryContext. getUpdates()If this query is a bulk update, return a map of theFieldMetaDatas toConstants.Map<FieldMetaData,Value>StoreQuery.Executor. getUpdates(StoreQuery q)Return a map ofFieldMetaDatato updateConstants, in cases where this query is for a bulk update.Methods in org.apache.openjpa.kernel with parameters of type FieldMetaData Modifier and Type Method Description protected voidInverseManager. addToCollection(OpenJPAStateManager sm, FieldMetaData fmd, Object val)Add the given value to the collection at the selected field.protected voidInverseManager. clearInverseRelations(OpenJPAStateManager sm, Object val, FieldMetaData fmd, FieldMetaData[] inverses)Clear all inverse the relations fromvalto the instance managed bysm.protected voidInverseManager. clearInverseRelations(OpenJPAStateManager sm, FieldMetaData fmd, FieldMetaData[] inverses, Object newValue)Remove all relations between the initial value offmdfor the instance managed bysmand its inverses.voidInverseManager. correctRelations(OpenJPAStateManager sm, FieldMetaData fmd, Object value)Correct relations from the given dirty field to inverse instances.protected voidInverseManager. createInverseRelations(StoreContext ctx, Object fromRef, Object toRef, FieldMetaData fmd, FieldMetaData[] inverses)Create the inverse relations for all the given inverse fields.SeqBroker. getValueSequence(FieldMetaData fmd)Returns aSeqfor the generated values of the specified field, or null if the field is not generated.SeqBrokerImpl. getValueSequence(FieldMetaData fmd)SeqDelegatingBroker. getValueSequence(FieldMetaData fmd)SeqDelegatingStoreManager. getValueSequence(FieldMetaData fmd)SeqStoreManager. getValueSequence(FieldMetaData forField)Return a sequence that generates values for the given field.protected static booleanDetachedStateManager. ignoreLoaded(FieldMetaData fmd)Ignore if the field is not dirty but loadedprotected voidPCDataImpl. loadField(OpenJPAStateManager sm, FieldMetaData fmd, FetchConfiguration fetch, Object context)Set field-level information into the given state manager.protected voidPCDataImpl. loadImplData(OpenJPAStateManager sm, FieldMetaData fmd)Set field-level impl data into the given state manager.protected voidPCDataImpl. loadIntermediate(OpenJPAStateManager sm, FieldMetaData fmd)Set intermediate information for the given field into the state manager.protected voidInverseManager. removeFromCollection(OpenJPAStateManager sm, FieldMetaData fmd, Object val)Remove the given instance from the collection.intDelegatingFetchConfiguration. requiresFetch(FieldMetaData fmd)intFetchConfiguration. requiresFetch(FieldMetaData fm)Affirms if the given field requires to be fetched in the context of current fetch operation.intFetchConfigurationImpl. requiresFetch(FieldMetaData fm)booleanStateManagerImpl. requiresFetch(FieldMetaData fmd)protected voidInverseManager. storeField(OpenJPAStateManager sm, FieldMetaData fmd, Object compare, Object val)Store a given value at the given field.protected voidPCDataImpl. storeField(OpenJPAStateManager sm, FieldMetaData fmd)Store field-level information from the given state manager.protected voidPCDataImpl. storeImplData(OpenJPAStateManager sm, FieldMetaData fmd, boolean fieldLoaded)Store impl data for the given field.protected voidPCDataImpl. storeIntermediate(OpenJPAStateManager sm, FieldMetaData fmd)Store the intermediate field value for the given field.protected voidInverseManager. storeNull(OpenJPAStateManager sm, FieldMetaData fmd, Object compare)Store null value at the given field.protected voidInverseManager. throwException(OpenJPAStateManager sm, FieldMetaData fmd)Throw an inconsistency exceptionprotected ObjectAbstractPCData. toData(FieldMetaData fmd, Object val, StoreContext ctx)Transform the given field value to a data value for caching.protected ObjectAbstractPCData. toField(OpenJPAStateManager sm, FieldMetaData fmd, Object data, FetchConfiguration fetch, Object context)Transform the given data value into its field value.FetchConfigurationDelegatingFetchConfiguration. traverse(FieldMetaData fmd)FetchConfigurationFetchConfiguration. traverse(FieldMetaData fm)Traverse the given field to generate (possibly) a new configuration state.FetchConfigurationFetchConfigurationImpl. traverse(FieldMetaData fm)protected voidInverseManager. warnConsistency(OpenJPAStateManager sm, FieldMetaData fmd)Log an inconsistency warning -
Uses of FieldMetaData in org.apache.openjpa.kernel.exps
Fields in org.apache.openjpa.kernel.exps declared as FieldMetaData Modifier and Type Field Description FieldMetaDataCandidatePath.Traversal. fieldMethods in org.apache.openjpa.kernel.exps that return FieldMetaData Modifier and Type Method Description FieldMetaDataCandidatePath. last()FieldMetaDataPath. 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 that return types with arguments of type FieldMetaData Modifier and Type Method Description List<FieldMetaData>QueryExpressions. getParameterizedFields()Gets the fields that are bound to parameters.Methods in org.apache.openjpa.kernel.exps with parameters of type FieldMetaData Modifier and Type Method Description voidCandidatePath. get(FieldMetaData field, boolean nullTraversal)Traverse into the given field of the current object, and update the current object to that field value.voidCandidatePath. get(FieldMetaData fmd, XMLMetaData meta)voidPath. get(FieldMetaData field, boolean nullTraversal)Traverse into the given field of the current object, and update the current object to that field value.voidPath. 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 Modifier and Type Field Description protected FieldMetaData[]MetaDataRepository. EMPTY_FIELDSMethods in org.apache.openjpa.meta that return FieldMetaData Modifier and Type Method Description FieldMetaDataClassMetaData. addDeclaredField(String name, Class<?> type)Add a new field metadata to this class.FieldMetaDataClassMetaData. addDefinedSuperclassField(String name, Class<?> type, Class<?> sup)Add a new defined superclass field metadata to this class.FieldMetaDataClassMetaData. getDeclaredField(int index)Return the metadata for the persistent or transactional field with the given relative index.FieldMetaDataClassMetaData. 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.FieldMetaDataClassMetaData. getDefinedSuperclassField(String name)Return the defined superclass field with the given name, or null if none.FieldMetaDataClassMetaData. getField(int index)Return the metadata for the persistent or transactional field with the given absolute index.FieldMetaDataClassMetaData. getField(String name)Return the metadata for the persistent or transactional field with the given name.FieldMetaDataFieldMetaData. getFieldMetaData()FieldMetaDataValueMetaData. getFieldMetaData()Return the owning field for this value.FieldMetaDataValueMetaDataImpl. getFieldMetaData()FieldMetaData[]ClassMetaData. getFields()Return all field metadata, 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[]ClassMetaData. getLrsFields()Return all large result set fields.FieldMetaDataFieldMetaData. getMappedByField(ClassMetaData meta, String mappedBy)FieldMetaDataFieldMetaData. getMappedByMetaData()The field that this field shares a mapping with.FieldMetaDataMetaDataRepository. getOrderByField(ClassMetaData meta, String orderBy)FieldMetaData[]ClassMetaData. getPrimaryKeyFields()Return primary key fields, or empty array if none.FieldMetaData[]ClassMetaData. getProxyFields()Return all fields that are types that need to be wrappered by a proxy.protected FieldMetaDataClassMetaData. getSuperclassField(FieldMetaData supField)Return the superclass copy of the given field.FieldMetaDataFieldMetaData. getValueMappedByMetaData()FieldMetaDataValueMetaData. getValueMappedByMetaData()The field that this value shares a mapping with.FieldMetaDataValueMetaDataImpl. getValueMappedByMetaData()FieldMetaDataClassMetaData. getVersionField()Return the version field for this class, if any.protected FieldMetaDataMetaDataRepository. 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 that return types with arguments of type FieldMetaData Modifier and Type Method Description List<FieldMetaData>ClassMetaData. getMappyedByIdFields()Methods in org.apache.openjpa.meta with parameters of type FieldMetaData Modifier and Type Method Description voidFieldMetaData. copy(FieldMetaData field)Copy state from the given field to this one.MemberAbstractMetaDataDefaults. getBackingMember(FieldMetaData fmd)Gets the backing member of the given field.MemberMetaDataDefaults. getBackingMember(FieldMetaData field)Return the backing member for the given field metadata.MemberNoneMetaDataFactory. getBackingMember(FieldMetaData fmd)intFetchGroup. getDeclaredRecursionDepth(FieldMetaData fm)Return the recursion depth declared for the given field, or 0 if none.intFetchGroup. getRecursionDepth(FieldMetaData fm)Recursion depth for the given field.protected FieldMetaDataClassMetaData. getSuperclassField(FieldMetaData supField)Return the superclass copy of the given field.static booleanAccessCode. isField(FieldMetaData meta)static booleanAccessCode. isProperty(FieldMetaData meta)static booleanAccessCode. isUnknown(FieldMetaData meta)static booleanJavaTypes. maybePC(FieldMetaData field)Return true if the (possibly unresolved) field or its elements might be persistence capable objects.static intAccessCode. mergeFieldCode(ClassMetaData meta, FieldMetaData fmd, int fCode)protected OrderMetaDataRepository. newOrder(FieldMetaData owner, String name, boolean asc)Create anOrderfor the given field and declaration.protected OrderMetaDataRepository. newRelatedFieldOrder(FieldMetaData owner, FieldMetaData rel, boolean asc)Order by a field of the related type.protected ValueMetaDataMetaDataRepository. newValueMetaData(FieldMetaData owner)Create a new value metadata instance.protected OrderMetaDataRepository. newValueOrder(FieldMetaData owner, boolean asc)Order by the field value.protected voidAbstractMetaDataDefaults. populate(FieldMetaData fmd)booleanClassMetaData. removeDeclaredField(FieldMetaData field)Remove the given field from management.booleanClassMetaData. removeDefinedSuperclassField(FieldMetaData field)Remove the given field from management.voidFetchGroup. setRecursionDepth(FieldMetaData fm, int depth)Recursion depth for the given field.Constructors in org.apache.openjpa.meta with parameters of type FieldMetaData Constructor Description ValueMetaDataImpl(FieldMetaData owner) -
Uses of FieldMetaData in org.apache.openjpa.util
Methods in org.apache.openjpa.util with parameters of type FieldMetaData Modifier and Type Method Description static ObjectImplHelper. generateFieldValue(StoreContext ctx, FieldMetaData fmd)Generate a value for the given metadata, or return null.static ObjectApplicationIds. get(Object oid, FieldMetaData fmd)Return the given primary key field value from the given oid.
-