Java Doc for MappingManager.java in  » Database-ORM » JPOX » org » jpox » store » mapping » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database ORM » JPOX » org.jpox.store.mapping 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.jpox.store.mapping.MappingManager

All known Subclasses:   org.jpox.store.mapping.AbstractMappingManager,
MappingManager
public interface MappingManager (Code)
Representation of a MappingManager, mapping a java mapping type to a datastore mapping type. Allows a java mapping type to map to multiple datastore mapping types. Allows a default datastore mapping type be assigned to each java mapping type.
version:
   $Revision: 1.29 $




Method Summary
 DatastoreFieldcreateDatastoreField(JavaTypeMapping mapping, String javaType, int datastoreFieldIndex)
     Method to create a datastore field (column) in a container (table).
 DatastoreFieldcreateDatastoreField(JavaTypeMapping mapping, String javaType, ColumnMetaData colmd)
     Method to create a datastore field (column) in a container (table).
 DatastoreFieldcreateDatastoreField(AbstractMemberMetaData fmd, DatastoreContainerObject datastoreContainer, JavaTypeMapping mapping, ColumnMetaData colmd, DatastoreField reference, ClassLoaderResolver clr)
     Method to create a datastore field for a PersistenceCapable mapping.
 DatastoreMappingcreateDatastoreMapping(JavaTypeMapping mapping, AbstractMemberMetaData fmd, int index, StoreManager srm, DatastoreField column)
     Method to create the datastore mapping for a java type mapping at a particular index.
 DatastoreMappingcreateDatastoreMapping(JavaTypeMapping mapping, StoreManager storeMgr, DatastoreField column, String javaType)
     Method to create the datastore mapping for a particular column and java type.
 JavaTypeMappinggetMapping(Class c, boolean serialised, boolean embedded, StoreManager storeMgr, String fieldName)
     Accessor for a mapping, for a java type.
 JavaTypeMappinggetMapping(Class c, boolean serialised, boolean embedded, StoreManager storeMgr, ClassLoaderResolver clr)
     Accessor for a mapping, for a java type.
 JavaTypeMappinggetMapping(DatastoreContainerObject table, AbstractMemberMetaData fmd, DatastoreAdapter dba, ClassLoaderResolver clr, int mappingFieldType)
    
 voidloadDatastoreMapping(PluginManager mgr, ClassLoaderResolver clr, String vendorId)
     Initialise the datastore mapping.
 voidregisterDatastoreMapping(String javaTypeName, Class datastoreMappingType, String jdbcType, String sqlType, boolean dflt)
     Utility to register a datastore mapping for a java type, and the SQL/JDBC types it can be mapped to.



Method Detail
createDatastoreField
DatastoreField createDatastoreField(JavaTypeMapping mapping, String javaType, int datastoreFieldIndex)(Code)
Method to create a datastore field (column) in a container (table).
Parameters:
  mapping - The java mapping
Parameters:
  javaType - The java type
Parameters:
  datastoreFieldIndex - The index of the datastore field to create The datastore field



createDatastoreField
DatastoreField createDatastoreField(JavaTypeMapping mapping, String javaType, ColumnMetaData colmd)(Code)
Method to create a datastore field (column) in a container (table). To be used for serialised PC element/key/value in a join table.
Parameters:
  mapping - The java mapping
Parameters:
  javaType - The java type
Parameters:
  colmd - MetaData for the column to create The datastore field



createDatastoreField
DatastoreField createDatastoreField(AbstractMemberMetaData fmd, DatastoreContainerObject datastoreContainer, JavaTypeMapping mapping, ColumnMetaData colmd, DatastoreField reference, ClassLoaderResolver clr)(Code)
Method to create a datastore field for a PersistenceCapable mapping.
Parameters:
  fmd - MetaData for the field
Parameters:
  datastoreContainer - The container in the datastore
Parameters:
  mapping - The java mapping
Parameters:
  colmd - MetaData for the column to create
Parameters:
  reference - The field to reference
Parameters:
  clr - ClassLoader resolver The datastore field



createDatastoreMapping
DatastoreMapping createDatastoreMapping(JavaTypeMapping mapping, AbstractMemberMetaData fmd, int index, StoreManager srm, DatastoreField column)(Code)
Method to create the datastore mapping for a java type mapping at a particular index.
Parameters:
  mapping - The java mapping
Parameters:
  fmd - MetaData for the field
Parameters:
  index - Index of the datastore field
Parameters:
  srm - Store Manager
Parameters:
  column - The column The datastore mapping



createDatastoreMapping
DatastoreMapping createDatastoreMapping(JavaTypeMapping mapping, StoreManager storeMgr, DatastoreField column, String javaType)(Code)
Method to create the datastore mapping for a particular column and java type.
Parameters:
  mapping - The java mapping
Parameters:
  storeMgr - Store Manager
Parameters:
  column - The column
Parameters:
  javaType - The java type (isnt this stored in the java mapping ?) The datastore mapping



getMapping
JavaTypeMapping getMapping(Class c, boolean serialised, boolean embedded, StoreManager storeMgr, String fieldName)(Code)
Accessor for a mapping, for a java type.
Parameters:
  c - The java type
Parameters:
  serialised - Whether the type is serialised
Parameters:
  embedded - Whether the type is embedded
Parameters:
  storeMgr - Manager for the datastore
Parameters:
  fieldName - Name of the field (for logging only) The mapping



getMapping
JavaTypeMapping getMapping(Class c, boolean serialised, boolean embedded, StoreManager storeMgr, ClassLoaderResolver clr)(Code)
Accessor for a mapping, for a java type.
Parameters:
  c - The java type
Parameters:
  serialised - Whether the type is serialised
Parameters:
  embedded - Whether the type is embedded
Parameters:
  storeMgr - Manager of the store
Parameters:
  clr - ClassLoader resolver The mapping



getMapping
JavaTypeMapping getMapping(DatastoreContainerObject table, AbstractMemberMetaData fmd, DatastoreAdapter dba, ClassLoaderResolver clr, int mappingFieldType)(Code)
Accessor for a mapping for a field, mapped to a table
Parameters:
  table - The table
Parameters:
  fmd - MetaData for the field
Parameters:
  dba - Datastore adapter
Parameters:
  clr - ClassLoader resolver
Parameters:
  mappingFieldType - Field type for the mapping The mapping



loadDatastoreMapping
void loadDatastoreMapping(PluginManager mgr, ClassLoaderResolver clr, String vendorId)(Code)
Initialise the datastore mapping.
Parameters:
  mgr - the PlyginManager
Parameters:
  clr - the ClassLoaderResolver
Parameters:
  vendorId - the datastore vendor id



registerDatastoreMapping
void registerDatastoreMapping(String javaTypeName, Class datastoreMappingType, String jdbcType, String sqlType, boolean dflt)(Code)
Utility to register a datastore mapping for a java type, and the SQL/JDBC types it can be mapped to. This can also be called to change the default setting of a mapping - just supply the same values of java/JDBC/SQL types and a different default value
Parameters:
  javaTypeName - Name of the java type
Parameters:
  datastoreMappingType - The datastore mapping
Parameters:
  jdbcType - The JDBC type that can be used
Parameters:
  sqlType - The SQL type that can be used
Parameters:
  dflt - Whether this type should be used as the default mapping for this Java type



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.