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

Packages that use ClassMetaData
org.apache.openjpa.abstractstore OpenJPA Abstract StoreManager Implementation 
org.apache.openjpa.datacache OpenJPA Data Cache 
org.apache.openjpa.enhance OpenJPA Enhancer 
org.apache.openjpa.event OpenJPA Events 
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.kernel.jpql JPA Query Language Support 
org.apache.openjpa.meta OpenJPA Metadata 
org.apache.openjpa.persistence OpenJPA JPA 
org.apache.openjpa.persistence.criteria OpenJPA Criteria Query 
org.apache.openjpa.persistence.jdbc OpenJPA JPA-JDBC 
org.apache.openjpa.persistence.meta OpenJPA MetaModel 
org.apache.openjpa.slice.jdbc Implements Distributed version of JDBCStoreManager and JDBCStoreQuery. 
org.apache.openjpa.util OpenJPA Utilities 
org.apache.openjpa.validation   
org.apache.openjpa.xmlstore XML Store 
 

Uses of ClassMetaData in org.apache.openjpa.abstractstore
 

Methods in org.apache.openjpa.abstractstore with parameters of type ClassMetaData
 Object AbstractStoreManager.copyDataStoreId(Object oid, ClassMetaData meta)
           
abstract  ResultObjectProvider AbstractStoreManager.executeExtent(ClassMetaData meta, boolean subs, FetchConfiguration fetch)
          Create a ResultObjectProvider that can return all instances of type, optionally including subclasses as defined by subclasses.
 Seq AbstractStoreManager.getDataStoreIdSequence(ClassMetaData forClass)
          Returns the system-configured sequence.
 Class AbstractStoreManager.getDataStoreIdType(ClassMetaData meta)
           
 Object AbstractStoreManager.newDataStoreId(Object val, ClassMetaData meta)
           
 

Uses of ClassMetaData in org.apache.openjpa.datacache
 

Methods in org.apache.openjpa.datacache with parameters of type ClassMetaData
protected  void DataCachePCDataGenerator.decorate(serp.bytecode.BCClass bc, ClassMetaData meta)
           
protected  void DataCachePCDataGenerator.finish(PCDataGenerator.DynamicPCData data, ClassMetaData meta)
           
 boolean DataCacheManagerImpl.isCachable(ClassMetaData meta)
          Affirms if the given type is eligible for cache.
 StoreQuery.Executor QueryCacheStoreQuery.newDataStoreExecutor(ClassMetaData meta, boolean subs)
           
 StoreQuery.Executor QueryCacheStoreQuery.newInMemoryExecutor(ClassMetaData meta, boolean subs)
           
 

Constructors in org.apache.openjpa.datacache with parameters of type ClassMetaData
DataCachePCDataImpl(Object oid, ClassMetaData meta)
           
DataCachePCDataImpl(Object oid, ClassMetaData meta, String name)
          Constructor.
 

Uses of ClassMetaData in org.apache.openjpa.enhance
 

Methods in org.apache.openjpa.enhance that return ClassMetaData
 ClassMetaData PCEnhancer.getMetaData()
          Return the metadata for the class being manipulated, or null if not a persistent type.
 ClassMetaData CodeGenerator.getMetaData()
          Return metadata for the type being generated.
 ClassMetaData ApplicationIdTool.getMetaData()
          Return metadata for the type we are generating an application id for.
 

Methods in org.apache.openjpa.enhance with parameters of type ClassMetaData
protected  void PCDataGenerator.decorate(serp.bytecode.BCClass bc, ClassMetaData meta)
          Apply additional decoration to generated class.
protected  void PCDataGenerator.finish(PCDataGenerator.DynamicPCData data, ClassMetaData meta)
          Perform any final actions before the pcdata is returned to client code.
 PCData PCDataGenerator.generatePCData(Object oid, ClassMetaData meta)
          Return a PCDataGenerator.DynamicPCData instance for the given oid and metadata.
 Class PCEnhancer.getType(ClassMetaData meta)
          Return the concrete type for the given class, i.e.
(package private)  boolean PCEnhancer.isPropertyAccess(ClassMetaData meta)
          Affirms if the given class is using field-based access.
 void PCEnhancer.AuxiliaryEnhancer.run(serp.bytecode.BCClass bc, ClassMetaData meta)
           
protected  boolean PCDataGenerator.usesImplData(ClassMetaData meta)
          Whether the given type might have cacheable class-level impl data.
 

Constructors in org.apache.openjpa.enhance with parameters of type ClassMetaData
ApplicationIdTool(OpenJPAConfiguration conf, Class type, ClassMetaData meta)
          Constructs a new tool instance capable of generating an object id class for meta.
CodeGenerator(ClassMetaData meta)
          Constructor.
PCEnhancer(MetaDataRepository repos, serp.bytecode.BCClass type, ClassMetaData meta)
          Constructor.
PCEnhancer(OpenJPAConfiguration conf, serp.bytecode.BCClass type, ClassMetaData meta)
          Constructor.
PCEnhancer(OpenJPAConfiguration conf, ClassMetaData meta)
          Constructor.
PCSubclassValidator(ClassMetaData meta, serp.bytecode.BCClass bc, Log log, boolean enforceContractViolations)
           
 

Uses of ClassMetaData in org.apache.openjpa.event
 

Methods in org.apache.openjpa.event with parameters of type ClassMetaData
 Exception[] LifecycleEventManager.fireEvent(Object source, ClassMetaData meta, int type)
          Fire lifecycle event to all registered listeners without an argument.
 Exception[] LifecycleEventManager.fireEvent(Object source, Object related, ClassMetaData meta, int type)
          Fire lifecycle event to all registered listeners.
 boolean LifecycleEventManager.hasAttachListeners(Object source, ClassMetaData meta)
          Return whether there are listeners or callbacks for the given source.
 boolean LifecycleEventManager.hasClearListeners(Object source, ClassMetaData meta)
          Return whether there are listeners or callbacks for the given source.
 boolean LifecycleEventManager.hasDeleteListeners(Object source, ClassMetaData meta)
          Return whether there are listeners or callbacks for the given source.
 boolean LifecycleEventManager.hasDetachListeners(Object source, ClassMetaData meta)
          Return whether there are listeners or callbacks for the given source.
 boolean LifecycleEventManager.hasDirtyListeners(Object source, ClassMetaData meta)
          Return whether there are listeners or callbacks for the given source.
 boolean LifecycleEventManager.hasLoadListeners(Object source, ClassMetaData meta)
          Return whether there are listeners or callbacks for the given source.
 boolean LifecycleEventManager.hasPersistListeners(Object source, ClassMetaData meta)
          Return whether there are listeners or callbacks for the given source.
 boolean LifecycleEventManager.hasStoreListeners(Object source, ClassMetaData meta)
          Return whether there are listeners or callbacks for the given source.
 boolean LifecycleEventManager.hasUpdateListeners(Object source, ClassMetaData meta)
          Return whether there are listeners or callbacks for the given source.
 

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

Methods in org.apache.openjpa.jdbc.kernel that return ClassMetaData
protected  ClassMetaData[] JDBCStoreQuery.getIndependentExpressionCandidates(ClassMetaData meta, boolean subclasses)
           
 

Methods in org.apache.openjpa.jdbc.kernel with parameters of type ClassMetaData
 void AbstractJDBCSeq.allocate(int additional, StoreContext ctx, ClassMetaData meta)
           
 Object JDBCStoreManager.copyDataStoreId(Object oid, ClassMetaData meta)
           
 Object AbstractJDBCSeq.current(StoreContext ctx, ClassMetaData meta)
           
protected  Number JDBCStoreQuery.executeDelete(StoreQuery.Executor ex, ClassMetaData base, ClassMetaData[] metas, boolean subclasses, ExpressionFactory[] facts, QueryExpressions[] exps, Object[] params)
           
protected  Number JDBCStoreQuery.executeDelete(StoreQuery.Executor ex, ClassMetaData base, ClassMetaData[] metas, boolean subclasses, ExpressionFactory[] facts, QueryExpressions[] exps, Object[] params)
           
 ResultObjectProvider JDBCStoreManager.executeExtent(ClassMetaData meta, boolean subclasses, FetchConfiguration fetch)
           
protected  ResultObjectProvider JDBCStoreQuery.executeQuery(StoreQuery.Executor ex, ClassMetaData base, ClassMetaData[] metas, boolean subclasses, ExpressionFactory[] facts, QueryExpressions[] exps, Object[] params, StoreQuery.Range range)
           
protected  ResultObjectProvider JDBCStoreQuery.executeQuery(StoreQuery.Executor ex, ClassMetaData base, ClassMetaData[] metas, boolean subclasses, ExpressionFactory[] facts, QueryExpressions[] exps, Object[] params, StoreQuery.Range range)
           
protected  Number JDBCStoreQuery.executeUpdate(ClassMetaData base, ClassMetaData[] metas, boolean subclasses, ExpressionFactory[] facts, QueryExpressions[] parsed, Object[] params)
           
protected  Number JDBCStoreQuery.executeUpdate(ClassMetaData base, ClassMetaData[] metas, boolean subclasses, ExpressionFactory[] facts, QueryExpressions[] parsed, Object[] params)
           
protected  Number JDBCStoreQuery.executeUpdate(StoreQuery.Executor ex, ClassMetaData base, ClassMetaData[] metas, boolean subclasses, ExpressionFactory[] facts, QueryExpressions[] exps, Object[] params)
           
protected  Number JDBCStoreQuery.executeUpdate(StoreQuery.Executor ex, ClassMetaData base, ClassMetaData[] metas, boolean subclasses, ExpressionFactory[] facts, QueryExpressions[] exps, Object[] params)
           
protected  String[] JDBCStoreQuery.getDataStoreActions(ClassMetaData base, ClassMetaData[] metas, boolean subclasses, ExpressionFactory[] facts, QueryExpressions[] exps, Object[] params, StoreQuery.Range range)
           
protected  String[] JDBCStoreQuery.getDataStoreActions(ClassMetaData base, ClassMetaData[] metas, boolean subclasses, ExpressionFactory[] facts, QueryExpressions[] exps, Object[] params, StoreQuery.Range range)
           
 Seq JDBCStoreManager.getDataStoreIdSequence(ClassMetaData meta)
           
 Class<?> JDBCStoreManager.getDataStoreIdType(ClassMetaData meta)
           
protected  ExpressionFactory JDBCStoreQuery.getExpressionFactory(ClassMetaData meta)
           
protected  ClassMetaData[] JDBCStoreQuery.getIndependentExpressionCandidates(ClassMetaData meta, boolean subclasses)
           
 StoreQuery.Executor SQLStoreQuery.newDataStoreExecutor(ClassMetaData meta, boolean subclasses)
           
 StoreQuery.Executor PreparedSQLStoreQuery.newDataStoreExecutor(ClassMetaData meta, boolean subclasses)
           
 Object JDBCStoreManager.newDataStoreId(Object val, ClassMetaData meta)
           
 Object AbstractJDBCSeq.next(StoreContext ctx, ClassMetaData meta)
           
 

Constructors in org.apache.openjpa.jdbc.kernel with parameters of type ClassMetaData
PreparedSQLStoreQuery.PreparedSQLExecutor(PreparedSQLStoreQuery q, ClassMetaData candidate)
           
SQLStoreQuery.SQLExecutor(SQLStoreQuery q, ClassMetaData candidate)
           
 

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

Methods in org.apache.openjpa.jdbc.kernel.exps that return ClassMetaData
 ClassMetaData Variable.getMetaData()
           
 ClassMetaData UnaryOp.getMetaData()
           
 ClassMetaData Trim.getMetaData()
           
 ClassMetaData Substring.getMetaData()
           
 ClassMetaData SubQ.getMetaData()
           
 ClassMetaData StringFunction.getMetaData()
           
 ClassMetaData SimpleCaseExpression.getMetaData()
           
 ClassMetaData PCPath.getMetaData()
           
 ClassMetaData NullIfExpression.getMetaData()
           
 ClassMetaData Math.getMetaData()
           
 ClassMetaData MapKey.getMetaData()
           
 ClassMetaData MapEntry.getMetaData()
           
 ClassMetaData IndexOf.getMetaData()
           
 ClassMetaData GetObjectId.getMetaData()
           
 ClassMetaData GetMapValue.getMetaData()
           
 ClassMetaData GeneralCaseExpression.getMetaData()
           
 ClassMetaData Extension.getMetaData()
           
 ClassMetaData Const.getMetaData()
           
 ClassMetaData Concat.getMetaData()
           
 ClassMetaData CoalesceExpression.getMetaData()
           
 ClassMetaData Args.getMetaData()
           
 ClassMetaData Aggregate.getMetaData()
           
 

Methods in org.apache.openjpa.jdbc.kernel.exps with parameters of type ClassMetaData
 Subquery JDBCExpressionFactory.newSubquery(ClassMetaData candidate, boolean subs, String alias)
           
 void Variable.setMetaData(ClassMetaData meta)
           
 void UnaryOp.setMetaData(ClassMetaData meta)
           
 void Trim.setMetaData(ClassMetaData meta)
           
 void Substring.setMetaData(ClassMetaData meta)
           
 void SubQ.setMetaData(ClassMetaData meta)
           
 void StringFunction.setMetaData(ClassMetaData meta)
           
 void SimpleCaseExpression.setMetaData(ClassMetaData meta)
           
 void PCPath.setMetaData(ClassMetaData meta)
           
 void NullIfExpression.setMetaData(ClassMetaData meta)
           
 void Math.setMetaData(ClassMetaData meta)
           
 void MapKey.setMetaData(ClassMetaData meta)
           
 void MapEntry.setMetaData(ClassMetaData meta)
           
 void IndexOf.setMetaData(ClassMetaData meta)
           
 void GetObjectId.setMetaData(ClassMetaData meta)
           
 void GetMapValue.setMetaData(ClassMetaData meta)
           
 void GeneralCaseExpression.setMetaData(ClassMetaData meta)
           
 void Extension.setMetaData(ClassMetaData meta)
           
 void Const.setMetaData(ClassMetaData meta)
           
 void Concat.setMetaData(ClassMetaData meta)
           
 void CoalesceExpression.setMetaData(ClassMetaData meta)
           
 void Args.setMetaData(ClassMetaData meta)
           
 void Aggregate.setMetaData(ClassMetaData meta)
           
 

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

Subclasses of ClassMetaData in org.apache.openjpa.jdbc.meta
 class ClassMapping
          Specialization of metadata for relational databases.
 

Methods in org.apache.openjpa.jdbc.meta that return ClassMetaData
protected  ClassMetaData MappingRepository.newClassMetaData(Class<?> type)
           
protected  ClassMetaData[] MappingRepository.newClassMetaDataArray(int length)
           
protected  ClassMetaData MappingRepository.newEmbeddedClassMetaData(ValueMetaData owner)
           
 

Methods in org.apache.openjpa.jdbc.meta with parameters of type ClassMetaData
 void ClassMapping.copy(ClassMetaData cls)
           
protected  FieldMetaData MappingRepository.newFieldMetaData(String name, Class<?> type, ClassMetaData owner)
           
protected  void MappingRepository.prepareMapping(ClassMetaData meta)
           
 boolean MetaDataPlusMappingFactory.store(ClassMetaData[] metas, QueryMetaData[] queries, SequenceMetaData[] seqs, int mode, Map output)
           
 

Uses of ClassMetaData in org.apache.openjpa.kernel
 

Fields in org.apache.openjpa.kernel declared as ClassMetaData
static ClassMetaData[] StoreQuery.EMPTY_METAS
           
 

Methods in org.apache.openjpa.kernel that return ClassMetaData
 ClassMetaData[] QueryImpl.getAccessPathMetaDatas()
           
 ClassMetaData[] QueryContext.getAccessPathMetaDatas()
          Return the classes that affect this query.
 ClassMetaData[] DelegatingQuery.getAccessPathMetaDatas()
           
 ClassMetaData[] StoreQuery.Executor.getAccessPathMetaDatas(StoreQuery q)
          Return an array of all persistent classes used in this query, or empty array if unknown.
 ClassMetaData[] ExpressionStoreQuery.AbstractExpressionExecutor.getAccessPathMetaDatas(StoreQuery q)
           
 ClassMetaData[] AbstractStoreQuery.AbstractExecutor.getAccessPathMetaDatas(StoreQuery q)
           
protected  ClassMetaData[] ExpressionStoreQuery.getIndependentExpressionCandidates(ClassMetaData type, boolean subclasses)
          Return the assignable types for the given metadata whose expression trees must be compiled independently.
 ClassMetaData StateManagerImpl.getMetaData()
           
 ClassMetaData OpenJPAStateManager.getMetaData()
          Get the metadata for this instance.
 ClassMetaData ObjectIdStateManager.getMetaData()
           
 ClassMetaData DetachedValueStateManager.getMetaData()
           
 ClassMetaData DetachedStateManager.getMetaData()
           
 

Methods in org.apache.openjpa.kernel that return types with arguments of type ClassMetaData
static List<ClassMetaData> Filters.addAccessPathMetaDatas(List<ClassMetaData> metas, ClassMetaData[] path)
          Add the given access path metadatas to the full path list, making sure to maintain only base metadatas in the list.
 

Methods in org.apache.openjpa.kernel with parameters of type ClassMetaData
static List<ClassMetaData> Filters.addAccessPathMetaDatas(List<ClassMetaData> metas, ClassMetaData[] path)
          Add the given access path metadatas to the full path list, making sure to maintain only base metadatas in the list.
 void UUIDType4StringSeq.allocate(int additional, StoreContext ctx, ClassMetaData meta)
           
 void UUIDType4HexSeq.allocate(int additional, StoreContext ctx, ClassMetaData meta)
           
 void UUIDStringSeq.allocate(int additional, StoreContext ctx, ClassMetaData meta)
           
 void UUIDHexSeq.allocate(int additional, StoreContext ctx, ClassMetaData meta)
           
 void TimeSeededSeq.allocate(int additional, StoreContext ctx, ClassMetaData meta)
           
 void Seq.allocate(int additional, StoreContext ctx, ClassMetaData cls)
          Allocate additional values efficiently.
 void DelegatingSeq.allocate(int additional, StoreContext ctx, ClassMetaData meta)
           
 Object VersionAttachStrategy.attach(AttachManager manager, Object toAttach, ClassMetaData meta, PersistenceCapable into, OpenJPAStateManager owner, ValueMetaData ownerMeta, boolean explicit)
           
 Object DetachedStateManager.attach(AttachManager manager, Object toAttach, ClassMetaData meta, PersistenceCapable into, OpenJPAStateManager owner, ValueMetaData ownerMeta, boolean explicit)
           
 Object DetachedStateAttachStrategy.attach(AttachManager manager, Object toAttach, ClassMetaData meta, PersistenceCapable into, OpenJPAStateManager owner, ValueMetaData ownerMeta, boolean explicit)
           
abstract  Object AttachStrategy.attach(AttachManager manager, Object toAttach, ClassMetaData meta, PersistenceCapable into, OpenJPAStateManager owner, ValueMetaData ownerMeta, boolean explicit)
          Attach.
 Object StoreManager.copyDataStoreId(Object oid, ClassMetaData meta)
          Copy the given object id value.
 Object DelegatingStoreManager.copyDataStoreId(Object oid, ClassMetaData meta)
           
 Object UUIDType4StringSeq.current(StoreContext ctx, ClassMetaData meta)
           
 Object UUIDType4HexSeq.current(StoreContext ctx, ClassMetaData meta)
           
 Object UUIDStringSeq.current(StoreContext ctx, ClassMetaData meta)
           
 Object UUIDHexSeq.current(StoreContext ctx, ClassMetaData meta)
           
 Object TimeSeededSeq.current(StoreContext ctx, ClassMetaData meta)
           
 Object Seq.current(StoreContext ctx, ClassMetaData cls)
          Return the current value of the sequence, or null if not available.
 Object DelegatingSeq.current(StoreContext ctx, ClassMetaData meta)
           
protected  Number ExpressionStoreQuery.executeDelete(StoreQuery.Executor ex, ClassMetaData base, ClassMetaData[] types, boolean subclasses, ExpressionFactory[] facts, QueryExpressions[] parsed, Object[] params)
          Execute the given expression against the given candidate extent and delete the instances.
protected  Number ExpressionStoreQuery.executeDelete(StoreQuery.Executor ex, ClassMetaData base, ClassMetaData[] types, boolean subclasses, ExpressionFactory[] facts, QueryExpressions[] parsed, Object[] params)
          Execute the given expression against the given candidate extent and delete the instances.
 ResultObjectProvider StoreManager.executeExtent(ClassMetaData meta, boolean subclasses, FetchConfiguration fetch)
          Return a provider for all instances of the given candidate class, optionally including subclasses.
 ResultObjectProvider DelegatingStoreManager.executeExtent(ClassMetaData meta, boolean subclasses, FetchConfiguration fetch)
           
protected  ResultObjectProvider ExpressionStoreQuery.executeQuery(StoreQuery.Executor ex, ClassMetaData base, ClassMetaData[] types, boolean subclasses, ExpressionFactory[] facts, QueryExpressions[] parsed, Object[] params, StoreQuery.Range range)
          Execute the given expression against the given candidate extent.
protected  ResultObjectProvider ExpressionStoreQuery.executeQuery(StoreQuery.Executor ex, ClassMetaData base, ClassMetaData[] types, boolean subclasses, ExpressionFactory[] facts, QueryExpressions[] parsed, Object[] params, StoreQuery.Range range)
          Execute the given expression against the given candidate extent.
protected  Number ExpressionStoreQuery.executeUpdate(StoreQuery.Executor ex, ClassMetaData base, ClassMetaData[] types, boolean subclasses, ExpressionFactory[] facts, QueryExpressions[] parsed, Object[] params)
          Execute the given expression against the given candidate extent and updates the instances.
protected  Number ExpressionStoreQuery.executeUpdate(StoreQuery.Executor ex, ClassMetaData base, ClassMetaData[] types, boolean subclasses, ExpressionFactory[] facts, QueryExpressions[] parsed, Object[] params)
          Execute the given expression against the given candidate extent and updates the instances.
(package private)  void AttachManager.fireBeforeAttach(Object pc, ClassMetaData meta)
          Fire before-attach event.
(package private)  boolean BrokerImpl.fireLifecycleEvent(Object src, Object related, ClassMetaData meta, int eventType)
          Fire given lifecycle event, handling any exceptions appropriately.
protected  String[] ExpressionStoreQuery.getDataStoreActions(ClassMetaData base, ClassMetaData[] types, boolean subclasses, ExpressionFactory[] facts, QueryExpressions[] parsed, Object[] params, StoreQuery.Range range)
          Return the commands that will be sent to the datastore in order to execute the query, typically in the database's native language.
protected  String[] ExpressionStoreQuery.getDataStoreActions(ClassMetaData base, ClassMetaData[] types, boolean subclasses, ExpressionFactory[] facts, QueryExpressions[] parsed, Object[] params, StoreQuery.Range range)
          Return the commands that will be sent to the datastore in order to execute the query, typically in the database's native language.
 Seq StoreManager.getDataStoreIdSequence(ClassMetaData forClass)
          Return a sequence that generates datastore identity values for the given class.
 Seq DelegatingStoreManager.getDataStoreIdSequence(ClassMetaData forClass)
           
 Class<?> StoreManager.getDataStoreIdType(ClassMetaData meta)
          Return the class used by this StoreManager for datastore identity values.
 Class<?> DelegatingStoreManager.getDataStoreIdType(ClassMetaData meta)
           
protected  ExpressionFactory ExpressionStoreQuery.getExpressionFactory(ClassMetaData type)
          Return an ExpressionFactory to use to create an expression to be executed against an extent.
 Seq DelegatingBroker.getIdentitySequence(ClassMetaData meta)
           
 Seq BrokerImpl.getIdentitySequence(ClassMetaData meta)
           
 Seq Broker.getIdentitySequence(ClassMetaData meta)
          Returns a Seq for the datastore identity values of the specified persistent class, or null if the class' identity cannot be represented as a sequence.
protected  ClassMetaData[] ExpressionStoreQuery.getIndependentExpressionCandidates(ClassMetaData type, boolean subclasses)
          Return the assignable types for the given metadata whose expression trees must be compiled independently.
protected abstract  Object AbstractPCResultObjectProvider.getObjectId(ClassMetaData meta)
          Implement this method to extract the object id value from the current record of the input.
static boolean QueryImpl.isAccessPathDirty(Broker broker, ClassMetaData[] accessMetas)
           
 StoreQuery.Executor StoreQuery.newDataStoreExecutor(ClassMetaData meta, boolean subs)
          Return an executor for datastore execution of this query.
 StoreQuery.Executor MethodStoreQuery.newDataStoreExecutor(ClassMetaData meta, boolean subs)
           
 StoreQuery.Executor ExpressionStoreQuery.newDataStoreExecutor(ClassMetaData meta, boolean subs)
           
 StoreQuery.Executor AbstractStoreQuery.newDataStoreExecutor(ClassMetaData meta, boolean subs)
           
 Object StoreManager.newDataStoreId(Object oidVal, ClassMetaData meta)
          Create a new unique datastore identity for the given type from the given oid value (presumably pk, stringified oid, or oid instance).
 Object DelegatingStoreManager.newDataStoreId(Object oidVal, ClassMetaData meta)
           
 StoreQuery.Executor StoreQuery.newInMemoryExecutor(ClassMetaData meta, boolean subs)
          Return an executor for in-memory execution of this query.
 StoreQuery.Executor MethodStoreQuery.newInMemoryExecutor(ClassMetaData meta, boolean subs)
           
 StoreQuery.Executor ExpressionStoreQuery.newInMemoryExecutor(ClassMetaData meta, boolean subs)
           
 StoreQuery.Executor AbstractStoreQuery.newInMemoryExecutor(ClassMetaData meta, boolean subs)
           
protected  StateManagerImpl BrokerImpl.newStateManagerImpl(Object oid, ClassMetaData meta)
          Create a state manager for the given oid and metadata.
 Object UUIDType4StringSeq.next(StoreContext ctx, ClassMetaData meta)
           
 Object UUIDType4HexSeq.next(StoreContext ctx, ClassMetaData meta)
           
 Object UUIDStringSeq.next(StoreContext ctx, ClassMetaData meta)
           
 Object UUIDHexSeq.next(StoreContext ctx, ClassMetaData meta)
           
 Object TimeSeededSeq.next(StoreContext ctx, ClassMetaData meta)
           
 Object Seq.next(StoreContext ctx, ClassMetaData cls)
          Return the next value in the sequence.
 Object DelegatingSeq.next(StoreContext ctx, ClassMetaData meta)
           
protected  StateManagerImpl AttachStrategy.persist(AttachManager manager, PersistenceCapable pc, ClassMetaData meta, Object appId, boolean explicit)
          Return a PNew/PNewProvisional managed object for the given detached instance.
 

Method parameters in org.apache.openjpa.kernel with type arguments of type ClassMetaData
static List<ClassMetaData> Filters.addAccessPathMetaDatas(List<ClassMetaData> metas, ClassMetaData[] path)
          Add the given access path metadatas to the full path list, making sure to maintain only base metadatas in the list.
 

Constructors in org.apache.openjpa.kernel with parameters of type ClassMetaData
DetachedValueStateManager(PersistenceCapable pc, ClassMetaData meta, StoreContext ctx)
           
ExpressionStoreQuery.DataStoreExecutor(ExpressionStoreQuery q, ClassMetaData meta, boolean subclasses, ExpressionParser parser, Object parsed)
           
PCDataImpl(Object oid, ClassMetaData meta)
           
PCDataImpl(Object oid, ClassMetaData meta, String name)
          Constructor.
StateManagerImpl(Object id, ClassMetaData meta, BrokerImpl broker)
          Constructor; supply id, type metadata, and owning persistence manager.
 

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

Fields in org.apache.openjpa.kernel.exps declared as ClassMetaData
 ClassMetaData[] QueryExpressions.accessPath
           
 ClassMetaData Context.meta
           
 

Methods in org.apache.openjpa.kernel.exps that return ClassMetaData
protected  ClassMetaData AbstractExpressionBuilder.addAccessPath(ClassMetaData meta)
          Register the specified metadata as being in the query's access path.
protected  ClassMetaData[] AbstractExpressionBuilder.getAccessPath()
          Return the recorded query access path.
 ClassMetaData Value.getMetaData()
          Return any associated persistent type.
 ClassMetaData Val.getMetaData()
           
protected  ClassMetaData AbstractExpressionBuilder.getMetaData(Class<?> c, boolean required)
          Convenience method to get metadata for the given type.
protected  ClassMetaData AbstractExpressionBuilder.getMetaData(Class<?> c, boolean required, ClassLoader loader)
          Convenience method to get metadata for the given type.
 ClassMetaData Context.getSchema(String id)
           
 ClassMetaData Context.meta()
           
 

Methods in org.apache.openjpa.kernel.exps that return types with arguments of type ClassMetaData
 Map<String,ClassMetaData> Context.getSchemas()
           
 

Methods in org.apache.openjpa.kernel.exps with parameters of type ClassMetaData
protected  ClassMetaData AbstractExpressionBuilder.addAccessPath(ClassMetaData meta)
          Register the specified metadata as being in the query's access path.
 void Context.addSchema(String id, ClassMetaData meta)
           
protected abstract  void AbstractExpressionBuilder.addSchemaToContext(String alias, ClassMetaData meta)
          Register the schema alias to the current JPQL query context.
 QueryExpressions ExpressionParser.eval(Object parsed, ExpressionStoreQuery query, ExpressionFactory factory, ClassMetaData candidate)
          Parse the given query string.
 Value[] ExpressionParser.eval(String[] vals, ExpressionStoreQuery query, ExpressionFactory factory, ClassMetaData candidate)
          Parse the given value clauses.
 boolean InMemoryExpressionFactory.matches(QueryExpressions exps, ClassMetaData type, boolean subs, Object candidate, StoreContext ctx, Object[] params)
          Tests whether the given candidate matches the given type and this expression.
 Subquery InMemoryExpressionFactory.newSubquery(ClassMetaData candidate, boolean subs, String alias)
           
 Subquery ExpressionFactory.newSubquery(ClassMetaData candidate, boolean subs, String alias)
          Return a subquery.
 void Value.setMetaData(ClassMetaData meta)
          Associate a persistent type with this value.
 void Val.setMetaData(ClassMetaData meta)
           
 

Method parameters in org.apache.openjpa.kernel.exps with type arguments of type ClassMetaData
 void Context.setSchemas(Map<String,ClassMetaData> schemas)
           
 

Uses of ClassMetaData in org.apache.openjpa.kernel.jpql
 

Methods in org.apache.openjpa.kernel.jpql that return ClassMetaData
protected  ClassMetaData JPQLExpressionBuilder.getCandidateMetaData(JPQLExpressionBuilder.JPQLNode node)
           
protected  ClassMetaData JPQLExpressionBuilder.resolveClassMetaData(JPQLExpressionBuilder.JPQLNode node)
           
 

Methods in org.apache.openjpa.kernel.jpql with parameters of type ClassMetaData
protected  void JPQLExpressionBuilder.addSchemaToContext(String id, ClassMetaData meta)
           
 QueryExpressions JPQLParser.eval(Object parsed, ExpressionStoreQuery query, ExpressionFactory factory, ClassMetaData candidate)
           
 Value[] JPQLParser.eval(String[] vals, ExpressionStoreQuery query, ExpressionFactory factory, ClassMetaData candidate)
           
 

Uses of ClassMetaData in org.apache.openjpa.meta
 

Fields in org.apache.openjpa.meta declared as ClassMetaData
protected  ClassMetaData[] MetaDataRepository.EMPTY_METAS
           
 

Methods in org.apache.openjpa.meta that return ClassMetaData
 ClassMetaData ValueMetaDataImpl.addEmbeddedMetaData()
           
 ClassMetaData ValueMetaData.addEmbeddedMetaData()
          Add embedded metadata for this value.
 ClassMetaData FieldMetaData.addEmbeddedMetaData()
           
 ClassMetaData ValueMetaDataImpl.addEmbeddedMetaData(int access)
           
 ClassMetaData ValueMetaData.addEmbeddedMetaData(int access)
          Add embedded metadata for this value with the given access type
 ClassMetaData FieldMetaData.addEmbeddedMetaData(int access)
           
 ClassMetaData MetaDataRepository.addMetaData(Class<?> cls)
          Create a new metadata, populate it with default information, add it to the repository, and return it.
 ClassMetaData MetaDataRepository.addMetaData(Class<?> cls, int access)
          Create a new metadata, populate it with default information, add it to the repository, and return it.
 ClassMetaData MetaDataRepository.addMetaData(Class<?> cls, int access, boolean ignoreTransient)
          Create a new metadata, populate it with default information, add it to the repository, and return it.
 ClassMetaData MetaDataRepository.getCachedMetaData(Class<?> cls)
          Return the cached metadata for the given class, without any resolution.
 ClassMetaData ValueMetaDataImpl.getDeclaredTypeMetaData()
           
 ClassMetaData ValueMetaData.getDeclaredTypeMetaData()
          Return metadata for the value's class, if the type is persistent.
 ClassMetaData FieldMetaData.getDeclaredTypeMetaData()
           
 ClassMetaData FieldMetaData.getDeclaringMetaData()
          The declaring class.
 ClassMetaData FieldMetaData.getDefiningMetaData()
          The class that defines the metadata for this field.
protected  ClassMetaData AbstractCFMetaDataFactory.getDefiningMetaData(QueryMetaData query, Map clsNames)
          Return the metadata that defines the given query, if any.
 ClassMetaData ValueMetaDataImpl.getEmbeddedMetaData()
           
 ClassMetaData ValueMetaData.getEmbeddedMetaData()
          The embedded class metadata for the value.
 ClassMetaData FieldMetaData.getEmbeddedMetaData()
           
 ClassMetaData[] MetaDataRepository.getImplementorMetaDatas(Class<?> cls, ClassLoader envLoader, boolean mustExist)
          Return all least-derived metadatas with some mapped assignable type that implement the given class.
 ClassMetaData[] ClassMetaData.getMappedPCSubclassMetaDatas()
          Return all mapped subclasses.
 ClassMetaData ClassMetaData.getMappedPCSuperclassMetaData()
          Return the closest mapped superclass.
 ClassMetaData MetaDataRepository.getMetaData(Class<?> cls, ClassLoader envLoader, boolean mustExist)
          Return the metadata for the given class.
 ClassMetaData MetaDataRepository.getMetaData(Object oid, ClassLoader envLoader, boolean mustExist)
          Return the least-derived class metadata for the given application identity object.
 ClassMetaData MetaDataRepository.getMetaData(String alias, ClassLoader envLoader, boolean mustExist)
          Return the metadata for the given alias name.
 ClassMetaData[] MetaDataRepository.getMetaDatas()
          Return all the metadata instances currently in the repository.
 ClassMetaData[] ClassMetaData.getPCSubclassMetaDatas()
          Return the metadata for the known persistence capable subclasses of the described type, or empty array if none or if this is embedded metadata.
 ClassMetaData ClassMetaData.getPCSuperclassMetaData()
          The metadata for this class' superclass.
 ClassMetaData ValueMetaDataImpl.getTypeMetaData()
           
 ClassMetaData ValueMetaData.getTypeMetaData()
          The metadata for the value class, if the type is persistent.
 ClassMetaData FieldMetaData.getTypeMetaData()
           
protected  ClassMetaData MetaDataRepository.newClassMetaData(Class<?> type)
          Create a new class metadata instance.
protected  ClassMetaData[] MetaDataRepository.newClassMetaDataArray(int length)
          Create a new array of the proper class metadata subclass.
protected  ClassMetaData MetaDataRepository.newEmbeddedClassMetaData(ValueMetaData owner)
          Create a new embedded class metadata instance.
 ClassMetaData InheritanceOrderedMetaDataList.peek()
           
 

Methods in org.apache.openjpa.meta that return types with arguments of type ClassMetaData
 Iterator<ClassMetaData> InheritanceOrderedMetaDataList.iterator()
           
 

Methods in org.apache.openjpa.meta with parameters of type ClassMetaData
 boolean InheritanceOrderedMetaDataList.add(ClassMetaData meta)
           
(package private)  void MetaDataRepository.addDeclaredInterfaceImpl(ClassMetaData meta, Class<?> iface)
          Add the given metadata as declared interface implementation.
 void AbstractCFMetaDataFactory.Serializer.addMetaData(ClassMetaData meta)
          Add a class meta data to the set to be serialized.
static Class<?> JavaTypes.classForName(String name, ClassMetaData context)
          Check the given name against the same set of standard packages used when parsing metadata.
static Class<?> JavaTypes.classForName(String name, ClassMetaData context, ClassLoader loader)
          Check the given name against the same set of standard packages used when parsing metadata.
protected  void AbstractCFMetaDataFactory.clearMapping(ClassMetaData meta)
          Clear mapping information from the given metadata.
 int ClassMetaData.compareTo(ClassMetaData other)
           
 void ClassMetaData.copy(ClassMetaData meta)
          Copy the metadata from the given instance to this one.
 Class InterfaceImplGenerator.createImpl(ClassMetaData meta)
          Create a concrete implementation of the given type, possibly returning a cached version of the class.
protected abstract  File AbstractCFMetaDataFactory.defaultSourceFile(ClassMetaData meta)
          Return the default file for the given metadata.
protected  String InterfaceImplGenerator.getClassName(ClassMetaData meta)
          Return a unique class name.
protected  List<String> AbstractMetaDataDefaults.getFieldAccessNames(ClassMetaData meta)
          Return the list of fields in meta that use field access, or null if a list of fields is unobtainable.
 FieldMetaData FieldMetaData.getMappedByField(ClassMetaData meta, String mappedBy)
           
 Member NoneMetaDataFactory.getMemberByProperty(ClassMetaData meta, String property, int access, boolean scan)
           
 Member MetaDataDefaults.getMemberByProperty(ClassMetaData meta, String attribute, int access, boolean scanAnnotation)
          Get the field or getter for the given attribute of the given class.
 Class<?> MetaDataRepository.getMetaModel(ClassMetaData meta, boolean load)
          Gets the meta class corresponding to the given persistent class.
 FieldMetaData MetaDataRepository.getOrderByField(ClassMetaData meta, String orderBy)
           
protected abstract  List<Member> AbstractMetaDataDefaults.getPersistentMembers(ClassMetaData meta, boolean ignoreTransient)
           
protected  List<String> AbstractMetaDataDefaults.getPropertyAccessNames(ClassMetaData meta)
          Return the list of methods in meta that use property access, or null if a list of methods is unobtainable.
(package private)  SequenceMetaData MetaDataRepository.getSequenceMetaData(ClassMetaData context, String name, boolean mustExist)
          Used internally by metadata to retrieve sequence metadatas based on possibly-unqualified sequence name.
protected  File AbstractCFMetaDataFactory.getSourceFile(ClassMetaData meta)
          Return the current source file of the given metadata.
protected abstract  boolean AbstractMetaDataDefaults.isDefaultPersistent(ClassMetaData meta, Member member, String name, boolean ignoreTransient)
          Return true if the given member is persistent by default.
static boolean AccessCode.isEmpty(ClassMetaData meta)
           
static boolean AccessCode.isField(ClassMetaData meta)
           
static boolean AccessCode.isProperty(ClassMetaData meta)
           
static boolean AccessCode.isUnknown(ClassMetaData meta)
           
static int AccessCode.mergeFieldCode(ClassMetaData meta, FieldMetaData fmd, int fCode)
           
protected  FieldMetaData MetaDataRepository.newFieldMetaData(String name, Class<?> type, ClassMetaData owner)
          Create a new field metadata instance.
 void NoneMetaDataFactory.populate(ClassMetaData meta, int access)
           
 void MetaDataDefaults.populate(ClassMetaData meta, int access)
          Populate the given metadata with default settings.
 void AbstractMetaDataDefaults.populate(ClassMetaData meta, int access)
           
 void NoneMetaDataFactory.populate(ClassMetaData meta, int access, boolean ignoreTransient)
           
 void MetaDataDefaults.populate(ClassMetaData meta, int access, boolean ignoreTransient)
          Populate the given metadata with default settings.
 void AbstractMetaDataDefaults.populate(ClassMetaData meta, int access, boolean ignoreTransient)
           
protected  void MetaDataRepository.prepareMapping(ClassMetaData meta)
          Prepare metadata for mapping resolution.
 boolean InheritanceOrderedMetaDataList.remove(ClassMetaData meta)
           
 boolean MetaDataRepository.removeMetaData(ClassMetaData meta)
          Remove a metadata instance from the repository.
 boolean AbstractCFMetaDataFactory.Serializer.removeMetaData(ClassMetaData meta)
          Remove a class meta data from the set to be serialized.
(package private)  void MetaDataRepository.setInterfaceImpl(ClassMetaData meta, Class<?> impl)
          Set the implementation for the given managed interface.
 void MetaDataRepository.setMetaModel(ClassMetaData meta, Class<?> m2)
          Puts the meta class corresponding to the given persistent class.
 void ClassMetaData.setPCSuperclassMetaData(ClassMetaData meta)
          The metadata for this class' superclass.
 void ProxySetupStateManager.setProxyData(PersistenceCapable pc, ClassMetaData meta)
           
protected  void AbstractCFMetaDataFactory.setSourceFile(ClassMetaData meta, File sourceFile)
          Set the current source file of the given metadata.
 boolean NoneMetaDataFactory.store(ClassMetaData[] metas, QueryMetaData[] queries, SequenceMetaData[] seqs, int mode, Map output)
           
 boolean DelegatingMetaDataFactory.store(ClassMetaData[] metas, QueryMetaData[] queries, SequenceMetaData[] seqs, int mode, Map output)
           
 boolean MetaDataFactory.store(ClassMetaData[] metas, QueryMetaData[] queries, SequenceMetaData[] seqs, int mode, Map<File,String> output)
          Store the given metadata.
 boolean AbstractMetaDataFactory.store(ClassMetaData[] metas, QueryMetaData[] queries, SequenceMetaData[] seqs, int mode, Map<File,String> output)
           
 boolean AbstractCFMetaDataFactory.store(ClassMetaData[] metas, QueryMetaData[] queries, SequenceMetaData[] seqs, int mode, Map<File,String> output)
           
 

Constructors in org.apache.openjpa.meta with parameters of type ClassMetaData
FetchGroup(ClassMetaData cm, String name)
          Constructor; supply immutable name.
FieldMetaData(String name, Class<?> type, ClassMetaData owner)
          Constructor.
LifecycleMetaData(ClassMetaData meta)
          Construct with owning metadata.
 

Uses of ClassMetaData in org.apache.openjpa.persistence
 

Methods in org.apache.openjpa.persistence that return ClassMetaData
(package private)  ClassMetaData PersistenceMetaDataDefaults.getCachedSuperclassMetaData(ClassMetaData meta)
           
static ClassMetaData OpenJPAPersistence.getMetaData(EntityManager em, Class cls)
          Deprecated. use JPAFacadeHelper instead. This method pierces the published-API boundary, as does the JPAFacadeHelper utilization.
static ClassMetaData JPAFacadeHelper.getMetaData(EntityManager em, Class cls)
          Returns the ClassMetaData associated with the persistent type cls.
static ClassMetaData OpenJPAPersistence.getMetaData(EntityManagerFactory factory, Class cls)
          Deprecated. use JPAFacadeHelper instead. This method pierces the published-API boundary, as does the JPAFacadeHelper utilization.
static ClassMetaData JPAFacadeHelper.getMetaData(EntityManagerFactory emf, Class cls)
          Returns the ClassMetaData associated with the persistent type cls.
static ClassMetaData OpenJPAPersistence.getMetaData(Object o)
          Deprecated. use JPAFacadeHelper instead. This method pierces the published-API boundary, as does the JPAFacadeHelper utilization.
static ClassMetaData JPAFacadeHelper.getMetaData(Object o)
          Returns the ClassMetaData associated with the persistent object o.
 

Methods in org.apache.openjpa.persistence with parameters of type ClassMetaData
protected  void AnnotationPersistenceMetaDataSerializer.addAnnotation(AnnotationBuilder ab, ClassMetaData meta)
          Add an annotation builder to list of builders for the specified class metadata.
protected  AnnotationBuilder AnnotationPersistenceMetaDataSerializer.addAnnotation(Class<? extends Annotation> annType, ClassMetaData meta)
          Creates an an annotation builder for the specified class metadata and adds it to list of builders.
protected  void AnnotationPersistenceMetaDataSerializer.addClassMappingAnnotations(ClassMetaData mapping)
          Add mapping attributes for the given class.
protected  void XMLPersistenceMetaDataSerializer.addClassMappingAttributes(ClassMetaData mapping)
          Add mapping attributes for the given class.
 void XMLPersistenceMetaDataSerializer.addMetaData(ClassMetaData meta)
          Add a class meta data to the set to be serialized.
 void AnnotationPersistenceMetaDataSerializer.addMetaData(ClassMetaData meta)
          Add a class meta data to the set to be serialized.
protected  File PersistenceMetaDataFactory.defaultSourceFile(ClassMetaData meta)
           
protected  void XMLPersistenceMetaDataParser.endClassMapping(ClassMetaData mapping)
          Implement to finalize class mapping.
(package private)  void PersistenceMetaDataDefaults.error(ClassMetaData meta, Localizer.Message message)
           
(package private)  ClassMetaData PersistenceMetaDataDefaults.getCachedSuperclassMetaData(ClassMetaData meta)
           
protected  List<String> PersistenceMetaDataDefaults.getFieldAccessNames(ClassMetaData meta)
           
 Member PersistenceMetaDataDefaults.getMemberByProperty(ClassMetaData meta, String property, int access, boolean applyDefaultRule)
          Gets either the instance field or the getter method depending upon the access style of the given meta-data.
(package private)  List<Field> PersistenceMetaDataDefaults.getPersistentFields(ClassMetaData meta, boolean ignoreTransient)
          Gets the fields that are possible candidate for being persisted.
 List<Member> PersistenceMetaDataDefaults.getPersistentMembers(ClassMetaData meta, boolean ignoreTransient)
          Gets the members that are backing members for attributes being persisted.
(package private)  List<Method> PersistenceMetaDataDefaults.getPersistentMethods(ClassMetaData meta, boolean ignoreTransient)
          Gets the methods that are possible candidate for being persisted.
protected  List<String> PersistenceMetaDataDefaults.getPropertyAccessNames(ClassMetaData meta)
           
protected  boolean AnnotationPersistenceMetaDataParser.handleUnknownClassAnnotation(ClassMetaData meta, Annotation anno)
          Allow subclasses to handle unknown annotations.
protected  boolean PersistenceMetaDataDefaults.isDefaultPersistent(ClassMetaData meta, Member member, String name)
           
protected  boolean PersistenceMetaDataDefaults.isDefaultPersistent(ClassMetaData meta, Member member, String name, boolean ignoreTransient)
           
protected  boolean XMLPersistenceMetaDataSerializer.isMappingMode(ClassMetaData meta)
          Convenience method for interpreting XMLPersistenceMetaDataSerializer.getMode().
protected  boolean AnnotationPersistenceMetaDataSerializer.isMappingMode(ClassMetaData meta)
          Convenience method for interpreting AnnotationPersistenceMetaDataSerializer.getMode().
protected  void AnnotationPersistenceMetaDataParser.parseClassMappingAnnotations(ClassMetaData meta)
          Parse class mapping annotations.
 void PersistenceMetaDataDefaults.populate(ClassMetaData meta, int access)
          Populates the given class metadata.
 void PersistenceMetaDataDefaults.populate(ClassMetaData meta, int access, boolean ignoreTransient)
          Populates the given class metadata.
 boolean XMLPersistenceMetaDataSerializer.removeMetaData(ClassMetaData meta)
          Remove a metadata from the set to be serialized.
 boolean AnnotationPersistenceMetaDataSerializer.removeMetaData(ClassMetaData meta)
          Remove a metadata from the set to be serialized.
protected  void AnnotationPersistenceMetaDataSerializer.serializeClass(ClassMetaData meta)
          Serialize class metadata.
protected  void XMLPersistenceMetaDataSerializer.serializeClass(ClassMetaData meta, boolean access)
          Serialize class metadata.
protected  void XMLPersistenceMetaDataSerializer.serializeClassMappingContent(ClassMetaData mapping)
          Serialize class mapping content.
protected  void AnnotationPersistenceMetaDataSerializer.serializeClassMappingContent(ClassMetaData mapping)
          Serialize class mapping content.
protected  void XMLPersistenceMetaDataSerializer.serializeInheritanceContent(ClassMetaData mapping)
          Serialize inheritance content.
protected  void AnnotationPersistenceMetaDataSerializer.serializeInheritanceContent(ClassMetaData mapping)
          Serialize inheritance content.
protected  void XMLPersistenceMetaDataSerializer.serializeQueryMappings(ClassMetaData meta)
          Serialize query mappings.
protected  void AnnotationPersistenceMetaDataSerializer.serializeQueryMappings(ClassMetaData meta)
          Serialize query mappings.
protected  void XMLPersistenceMetaDataParser.startClassMapping(ClassMetaData mapping, boolean mappedSuper, Attributes attrs)
          Implement to add mapping attributes to class.
static Object OpenJPAPersistence.toOpenJPAObjectId(ClassMetaData meta, Object oid)
          Deprecated. use JPAFacadeHelper instead. This method pierces the published-API boundary, as does the JPAFacadeHelper utilization.
static Object JPAFacadeHelper.toOpenJPAObjectId(ClassMetaData meta, Object oid)
          Translate from a Persistence identity object to a OpenJPA one.
static Collection OpenJPAPersistence.toOpenJPAObjectIds(ClassMetaData meta, Collection oids)
          Deprecated. use JPAFacadeHelper instead. This method pierces the published-API boundary, as does the JPAFacadeHelper utilization.
static Collection JPAFacadeHelper.toOpenJPAObjectIds(ClassMetaData meta, Collection oids)
          Return a collection of OpenJPA oids for the given native oid collection.
static Object[] OpenJPAPersistence.toOpenJPAObjectIds(ClassMetaData meta, Object... oids)
          Deprecated. use JPAFacadeHelper instead. This method pierces the published-API boundary, as does the JPAFacadeHelper utilization.
static Object[] JPAFacadeHelper.toOpenJPAObjectIds(ClassMetaData meta, Object... oids)
          Return an array of OpenJPA oids for the given native oid array.
(package private)  void PersistenceMetaDataDefaults.warn(ClassMetaData meta, Localizer.Message message)
           
 

Constructors in org.apache.openjpa.persistence with parameters of type ClassMetaData
GeneratorImpl(Seq seq, String name, StoreContext ctx, ClassMetaData meta)
          Constructor; supply delegate.
 

Uses of ClassMetaData in org.apache.openjpa.persistence.criteria
 

Methods in org.apache.openjpa.persistence.criteria that return ClassMetaData
 ClassMetaData Joins.AbstractCollection.getMemberClassMetaData()
           
 

Methods in org.apache.openjpa.persistence.criteria with parameters of type ClassMetaData
 QueryExpressions CriteriaBuilderImpl.eval(Object parsed, ExpressionStoreQuery query, ExpressionFactory factory, ClassMetaData candidate)
           
 Value[] CriteriaBuilderImpl.eval(String[] vals, ExpressionStoreQuery query, ExpressionFactory factory, ClassMetaData candidate)
           
 

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

Methods in org.apache.openjpa.persistence.jdbc with parameters of type ClassMetaData
protected  void XMLPersistenceMappingParser.endClassMapping(ClassMetaData meta)
           
protected  void AnnotationPersistenceMappingParser.parseClassMappingAnnotations(ClassMetaData meta)
           
protected  void AnnotationPersistenceMappingSerializer.serializeClass(ClassMetaData meta)
           
protected  void XMLPersistenceMappingSerializer.serializeClass(ClassMetaData meta, boolean access)
           
protected  void XMLPersistenceMappingSerializer.serializeClassMappingContent(ClassMetaData mapping)
           
protected  void AnnotationPersistenceMappingSerializer.serializeClassMappingContent(ClassMetaData mapping)
           
protected  void XMLPersistenceMappingSerializer.serializeInheritanceContent(ClassMetaData mapping)
           
protected  void AnnotationPersistenceMappingSerializer.serializeInheritanceContent(ClassMetaData mapping)
           
protected  void XMLPersistenceMappingSerializer.serializeQueryMappings(ClassMetaData meta)
           
protected  void AnnotationPersistenceMappingSerializer.serializeQueryMappings(ClassMetaData meta)
           
protected  void XMLPersistenceMappingParser.startClassMapping(ClassMetaData meta, boolean mappedSuper, Attributes attrs)
           
 

Uses of ClassMetaData in org.apache.openjpa.persistence.meta
 

Fields in org.apache.openjpa.persistence.meta declared as ClassMetaData
 ClassMetaData AbstractManagedType.meta
           
 

Methods in org.apache.openjpa.persistence.meta with parameters of type ClassMetaData
static Type.PersistenceType MetamodelImpl.getPersistenceType(ClassMetaData meta)
           
 

Constructors in org.apache.openjpa.persistence.meta with parameters of type ClassMetaData
AbstractManagedType(ClassMetaData meta, MetamodelImpl model)
          Construct a managed type.
Types.Embeddable(ClassMetaData meta, MetamodelImpl model)
           
Types.Entity(ClassMetaData meta, MetamodelImpl model)
           
Types.Identifiable(ClassMetaData meta, MetamodelImpl model)
           
Types.MappedSuper(ClassMetaData meta, MetamodelImpl model)
           
 

Uses of ClassMetaData in org.apache.openjpa.slice.jdbc
 

Methods in org.apache.openjpa.slice.jdbc with parameters of type ClassMetaData
 Object DistributedJDBCStoreManager.copyDataStoreId(Object oid, ClassMetaData meta)
           
 ResultObjectProvider DistributedJDBCStoreManager.executeExtent(ClassMetaData meta, boolean subclasses, FetchConfiguration fetch)
           
 Seq DistributedJDBCStoreManager.getDataStoreIdSequence(ClassMetaData forClass)
           
 Class<?> DistributedJDBCStoreManager.getDataStoreIdType(ClassMetaData meta)
           
 StoreQuery.Executor DistributedStoreQuery.newDataStoreExecutor(ClassMetaData meta, boolean subs)
           
 Object DistributedJDBCStoreManager.newDataStoreId(Object oidVal, ClassMetaData meta)
           
 

Constructors in org.apache.openjpa.slice.jdbc with parameters of type ClassMetaData
DistributedStoreQuery.ParallelExecutor(DistributedStoreQuery dsq, ClassMetaData meta, boolean subclasses, ExpressionParser parser, Object parsed, boolean parallel)
           
 

Uses of ClassMetaData in org.apache.openjpa.util
 

Methods in org.apache.openjpa.util with parameters of type ClassMetaData
static Object ApplicationIds.copy(Object oid, ClassMetaData meta)
          Copy the given oid value.
static Object ApplicationIds.create(PersistenceCapable pc, ClassMetaData meta)
          Generate an application id based on the current primary key field state of the given instance.
static Object ApplicationIds.fromPKValues(Object[] pks, ClassMetaData meta)
          Return a new object id constructed from the given primary key values.
static Object ImplHelper.generateIdentityValue(StoreContext ctx, ClassMetaData meta, int typeCode)
          Generate a value for the given metadata, or return null.
static Object ApplicationIds.getKey(Object id, ClassMetaData meta)
          Return the key from the given id.
static boolean ApplicationIds.isIdSet(Object id, ClassMetaData meta, String mappedByIdFieldName)
          Check if object id is set or not.
static Object[] ApplicationIds.toPKValues(Object oid, ClassMetaData meta)
          Return the primary key values for the given object id.
static Object ApplicationIds.wrap(ClassMetaData meta, Object oid)
          Wraps the given object for the given type into a OpenJPA specific application identity object wrapper instance (i.e.
 

Uses of ClassMetaData in org.apache.openjpa.validation
 

Methods in org.apache.openjpa.validation with parameters of type ClassMetaData
 Exception[] ValidatingLifecycleEventManager.fireEvent(Object source, ClassMetaData meta, int type)
           
 Exception[] ValidatingLifecycleEventManager.fireEvent(Object source, Object related, ClassMetaData meta, int type)
           
 boolean ValidatingLifecycleEventManager.hasDeleteListeners(Object source, ClassMetaData meta)
           
 boolean ValidatingLifecycleEventManager.hasPersistListeners(Object source, ClassMetaData meta)
           
 boolean ValidatingLifecycleEventManager.hasUpdateListeners(Object source, ClassMetaData meta)
           
 

Uses of ClassMetaData in org.apache.openjpa.xmlstore
 

Methods in org.apache.openjpa.xmlstore that return ClassMetaData
 ClassMetaData ObjectData.getMetaData()
          Get the metadata associated with the type of persistent object for which this data applies.
 

Methods in org.apache.openjpa.xmlstore with parameters of type ClassMetaData
 ResultObjectProvider XMLStoreManager.executeExtent(ClassMetaData meta, boolean subclasses, FetchConfiguration fetch)
           
 ObjectData[] XMLStore.getData(ClassMetaData meta)
          Return all datas for the base class of the given type.
 ObjectData XMLStore.getData(ClassMetaData meta, Object oid)
          Return the data for the given oid, or null if it does not exist.
 Collection XMLFileHandler.load(ClassMetaData meta)
          Loads all instances of meta into a list of objects.
 void XMLFileHandler.store(ClassMetaData meta, Collection datas)
          Stores all instances in datas into the appropriate file, as dictated by meta.
 

Constructors in org.apache.openjpa.xmlstore with parameters of type ClassMetaData
ObjectData(Object oid, ClassMetaData meta)
          Create the object without underlying data.
 



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