Uses of Interface
org.apache.openjpa.meta.MetaDataContext

Packages that use MetaDataContext
org.apache.openjpa.jdbc.meta OpenJPA-JDBC ORM Metadata 
org.apache.openjpa.meta OpenJPA Metadata 
org.apache.openjpa.persistence OpenJPA JPA 
org.apache.openjpa.persistence.jdbc OpenJPA JPA-JDBC 
 

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

Subinterfaces of MetaDataContext in org.apache.openjpa.jdbc.meta
 interface ValueMapping
          Specialization of value metadata for relational databases.
 

Classes in org.apache.openjpa.jdbc.meta that implement MetaDataContext
 class ClassMapping
          Specialization of metadata for relational databases.
 class Discriminator
          Handles determining the object class of database records.
 class FieldMapping
          Specialization of metadata for relational databases.
 class SequenceMapping
          Specialization of sequence metadata for ORM.
 class ValueMappingImpl
          Standalone ValueMapping implementation.
 class Version
          Handles optimistic lock versioning for a class.
 

Methods in org.apache.openjpa.jdbc.meta with parameters of type MetaDataContext
 void MappingInfo.assertNoForeignKey(MetaDataContext context, boolean die)
          Assert that the user did not try to place a foreign key on this mapping or placed an implicit foreign key.
 void MappingInfo.assertNoIndex(MetaDataContext context, boolean die)
          Assert that the user did not try to place an index on this mapping.
 void MappingInfo.assertNoJoin(MetaDataContext context, boolean die)
          Assert that the user did not try to join.
 void MappingInfo.assertNoSchemaComponents(MetaDataContext context, boolean die)
          Assert that the user did not supply any columns, index, unique constraint, or foreign key for this mapping.
 void MappingInfo.assertNoUnique(MetaDataContext context, boolean die)
          Assert that the user did not try to place a unique constraint on this mapping.
 void MappingInfo.assertStrategy(MetaDataContext context, Object contextStrat, Object expected, boolean die)
          Assert that this info has the given strategy or no strategy.
protected  Column[] MappingInfo.createColumns(MetaDataContext context, String prefix, Column[] tmplates, Table table, boolean adapt)
          Retrieve/create columns on the given table by merging the given template information with any user-provided information.
protected  ForeignKey MappingInfo.createForeignKey(MetaDataContext context, String prefix, List<Column> given, MappingInfo.ForeignKeyDefaults def, Table table, ClassMapping cls, ClassMapping rel, boolean inversable, boolean adapt)
          Retrieve/create a foreign key (possibly logical) on the given columns by merging the given template information with any user-provided information.
protected  Index MappingInfo.createIndex(MetaDataContext context, String prefix, Index tmplate, Column[] cols, boolean adapt)
          Retrieve/create an index on the given columns by merging the given template information with any user-provided information.
 Table MappingInfo.createTable(MetaDataContext context, MappingInfo.TableDefaults def, DBIdentifier schemaName, DBIdentifier given, boolean adapt)
           
 Table MappingInfo.createTable(MetaDataContext context, MappingInfo.TableDefaults def, String schemaName, String given, boolean adapt)
          Deprecated.  
protected  Unique MappingInfo.createUnique(MetaDataContext context, String prefix, Unique tmplate, Column[] cols, boolean adapt)
          Retrieve/create a unique constraint on the given columns by merging the given template information with any user-provided information.
 Unique[] ClassMappingInfo.getUniques(MetaDataContext cm, boolean adapt)
          Get all the unique constraints associated with both the primary and/or secondary tables.
protected static Column MappingInfo.mergeColumn(MetaDataContext context, String prefix, Column tmplate, boolean compat, Column given, Table table, boolean adapt, boolean fill)
          Merge the given columns if possible.
protected static Column MappingInfo.syncColumn(MetaDataContext context, Column col, int num, boolean forceJDBCType, Table colTable, Table targetTable, Object target, boolean inverse)
          Create a copy of the given column with the raw mapping information set correctly, and without settings that match defaults.
protected  void MappingInfo.syncColumns(MetaDataContext context, Column[] cols, boolean forceJDBCType)
          Sets internal column information to match the given mapped columns.
protected  void MappingInfo.syncForeignKey(MetaDataContext context, ForeignKey fk, Table local, Table target)
          Sets internal constraint and column information to match given mapped constraint.
protected  void MappingInfo.syncIndex(MetaDataContext context, Index idx)
          Sets internal index information to match given mapped index.
protected  void FieldMappingInfo.syncJoinTableUniques(MetaDataContext context, Unique[] unqs)
          Sets internal constraint information to match given mapped constraint.
protected  void MappingInfo.syncUnique(MetaDataContext context, Unique unq)
          Sets internal constraint information to match given mapped constraint.
 

Uses of MetaDataContext in org.apache.openjpa.meta
 

Subinterfaces of MetaDataContext in org.apache.openjpa.meta
 interface ValueMetaData
          Holds metadata on a value; this could be a field value, key value, or element value.
 

Classes in org.apache.openjpa.meta that implement MetaDataContext
 class ClassMetaData
          Contains metadata about a persistent type.
 class FieldMetaData
          Metadata for a managed class field.
 class NonPersistentMetaData
          Metadata about a persistence-aware type.
 class SequenceMetaData
          Metadata about a named sequence.
 class ValueMetaDataImpl
          Default ValueMetaData implementation.
 

Methods in org.apache.openjpa.meta with parameters of type MetaDataContext
static void ValueStrategies.assertSupported(int strategy, MetaDataContext context, String attributeName)
          Assert that the given strategy is supported by the current runtime.
 

Uses of MetaDataContext in org.apache.openjpa.persistence
 

Methods in org.apache.openjpa.persistence with parameters of type MetaDataContext
protected  void XMLPersistenceMetaDataParser.deferEmbeddable(Class<?> embedType, MetaDataContext fmd)
           
protected  boolean XMLPersistenceMetaDataParser.isDeferredEmbeddable(Class<?> embedType, MetaDataContext fmd)
           
 

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

Methods in org.apache.openjpa.persistence.jdbc with parameters of type MetaDataContext
(package private)  void AnnotationPersistenceMappingParser.addUniqueConstraints(String table, MetaDataContext ctx, MappingInfo info, UniqueConstraint... uniqueConstraints)
           
(package private)  Unique AnnotationPersistenceMappingParser.createUniqueConstraint(MetaDataContext ctx, UniqueConstraint anno)
           
 



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