Java Doc for JormMIMappingBuilder.java in  » Database-ORM » Speedo_1.4.5 » org » objectweb » speedo » generation » jorm » 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 » Speedo_1.4.5 » org.objectweb.speedo.generation.jorm 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.objectweb.speedo.generation.jorm.JormMIMappingBuilder

All known Subclasses:   org.objectweb.speedo.generation.jorm.rdb.RdbJORMMapping,
JormMIMappingBuilder
public interface JormMIMappingBuilder (Code)
This interface defines a builder of the mapping part of the Jorm meta information. It must be implemented for each mapper.
author:
   S.Chassande-Barrioz




Method Summary
 voidcreateClassIdentifierNameDefMapping(ClassMapping cm, NameDef nd, SpeedoClass sc, MIBuilderHelper mibh)
     Creates the mapping of the name def (JORM meta object) corresponding to the identifier of a persistent generic class (collection, map, ...).
 ClassMappingcreateClassMapping(Class clazz, SpeedoClass sc, Mapping mapping)
     It builds a ClassMapping, assignes it to the mapping and builds mapping structure for the class (RdbTable, directory name, ...).
Parameters:
  clazz - is the Jorm meta object representing the class which theClassMapping must be built.
Parameters:
  mapping - is the Mapping instance which will host the ClassMapping.
 voidcreateClassRefNameDefMapping(ClassMapping cm, NameDef nd, SpeedoCommonField sf)
     Creates the mapping of the name def (JORM meta object) corresponding to a reference to a persistent class from a persistent class.
 voidcreateClassRefNameDefMapping(GenClassMapping gcm, NameDef nd, SpeedoField sf)
     Creates the mapping of the name def (JORM meta object) corresponding to a reference to a persistent class from a generic persistent class.
 PrimitiveElementMappingcreateFieldMapping(PrimitiveElement pe, SpeedoField sf, ClassMapping cm)
     It creates the mapping of a primitive field.
 PrimitiveElementMappingcreateFieldMapping(PrimitiveElement pe, SpeedoNoFieldColumn sf, ClassMapping cm)
     It creates the mapping of a hidden primitive field.
 PrimitiveElementMappingcreateFieldMapping(PrimitiveElement pe, SpeedoInheritedField sif, ClassMapping cm)
     /** It creates the mapping of an inherited primitive field.
 PrimitiveElementMappingcreateGenClassElementMapping(PrimitiveElement pe, SpeedoField sf, GenClassMapping gcm)
     It creates the mapping of a primitive field (element of the generic class).
Parameters:
  pe - is the Jorm meta object representing a primitive field
Parameters:
  gcm - is the MappingStructure which will host the mapping of thefield
Parameters:
  sf - is the Speedo meta object representing the persistent fieldreferencing a generic class.
 voidcreateGenClassIdentifierNameDefMapping(GenClassMapping gcm, NameDef nd, SpeedoField sf, MIBuilderHelper mibh)
     Creates the mapping of the name def (JORM meta object) corresponding to the identifier of a persistent generic class (collection, map, ...).
 PrimitiveElementMappingcreateGenClassIndexMapping(PrimitiveElement pe, SpeedoField sf, GenClassMapping gcm)
     It creates the mapping of a primitive field used as index in the generic class.
Parameters:
  pe - is the Jorm meta object representing a primitive field
Parameters:
  gcm - is the MappingStructure which will host the mapping of thefield
Parameters:
  sf - is the Speedo meta object representing the persistent fieldreferencing a generic class.
 GenClassMappingcreateGenClassMapping(GenClassRef gcr, SpeedoField sf, Mapping mapping)
     It builds a GenClassMapping, assignes it to the mapping and builds mapping structure for the class (RdbTable, directory name, ...).
Parameters:
  gcr - is the Jorm meta object representing the gen class which theGenClassMapping must be built.
Parameters:
  mapping - is the Mapping instance which will host the GenClassMapping.
Parameters:
  sf - is the SpeedoField corresponding to the generic class.
 voidcreateGenClassRefNameDefMapping(ClassMapping cm, NameDef nd, SpeedoCommonField sf)
     Creates the mapping of the name def (JORM meta object) corresponding to a reference to a persistent generic class.



Method Detail
createClassIdentifierNameDefMapping
void createClassIdentifierNameDefMapping(ClassMapping cm, NameDef nd, SpeedoClass sc, MIBuilderHelper mibh) throws PException, SpeedoException(Code)
Creates the mapping of the name def (JORM meta object) corresponding to the identifier of a persistent generic class (collection, map, ...).
Parameters:
  cm - is the MappingStructure which will host the mapping of the generic class
Parameters:
  nd - is the namedef corresponding to the identifier of the generic class
Parameters:
  sc - is the Speedo meta object representing the persistent class.



createClassMapping
ClassMapping createClassMapping(Class clazz, SpeedoClass sc, Mapping mapping) throws PException, SpeedoException(Code)
It builds a ClassMapping, assignes it to the mapping and builds mapping structure for the class (RdbTable, directory name, ...).
Parameters:
  clazz - is the Jorm meta object representing the class which theClassMapping must be built.
Parameters:
  mapping - is the Mapping instance which will host the ClassMapping. the ClassMapping instance built by the method (never null).
throws:
  PException - if it is not possible to build the ClassMapping



createClassRefNameDefMapping
void createClassRefNameDefMapping(ClassMapping cm, NameDef nd, SpeedoCommonField sf) throws PException, SpeedoException(Code)
Creates the mapping of the name def (JORM meta object) corresponding to a reference to a persistent class from a persistent class.
Parameters:
  cm - is the MappingStructure which will host the mapping of the reference
Parameters:
  nd - is the namedef corresponding to the reference
Parameters:
  sf - is the Speedo meta object representing the persistent fieldreferencing a class.



createClassRefNameDefMapping
void createClassRefNameDefMapping(GenClassMapping gcm, NameDef nd, SpeedoField sf) throws PException, SpeedoException(Code)
Creates the mapping of the name def (JORM meta object) corresponding to a reference to a persistent class from a generic persistent class.
Parameters:
  gcm - is the MappingStructure which will host the mapping of the reference
Parameters:
  nd - is the namedef corresponding to the reference
Parameters:
  sf - is the Speedo meta object representing the persistent fieldreferencing a generic class.



createFieldMapping
PrimitiveElementMapping createFieldMapping(PrimitiveElement pe, SpeedoField sf, ClassMapping cm) throws PException, SpeedoException(Code)
It creates the mapping of a primitive field.
Parameters:
  pe - is the Jorm meta object representing a primitive field
Parameters:
  cm - is the MappingStructure which will host the mapping of thefield a PrimitiveElementMapping corresponding to the given primitivefield.
throws:
  PException - if it is not possible to build the mapping of theprimitive field.



createFieldMapping
PrimitiveElementMapping createFieldMapping(PrimitiveElement pe, SpeedoNoFieldColumn sf, ClassMapping cm) throws PException, SpeedoException(Code)
It creates the mapping of a hidden primitive field.
Parameters:
  pe - is the Jorm meta object representing a primitive field
Parameters:
  cm - is the MappingStructure which will host the mapping of thefield a PrimitiveElementMapping corresponding to the given primitivefield.
throws:
  PException - if it is not possible to build the mapping of theprimitive field.



createFieldMapping
PrimitiveElementMapping createFieldMapping(PrimitiveElement pe, SpeedoInheritedField sif, ClassMapping cm) throws PException, SpeedoException(Code)
/** It creates the mapping of an inherited primitive field.
Parameters:
  pe - is the Jorm meta object representing a primitive field
Parameters:
  sif - is the SpeedoInheritedField meta object representing the inherited field.
Parameters:
  cm - is the MappingStructure which will host the mapping of thefield a PrimitiveElementMapping corresponding to the given primitivefield.



createGenClassElementMapping
PrimitiveElementMapping createGenClassElementMapping(PrimitiveElement pe, SpeedoField sf, GenClassMapping gcm) throws PException, SpeedoException(Code)
It creates the mapping of a primitive field (element of the generic class).
Parameters:
  pe - is the Jorm meta object representing a primitive field
Parameters:
  gcm - is the MappingStructure which will host the mapping of thefield
Parameters:
  sf - is the Speedo meta object representing the persistent fieldreferencing a generic class. a PrimitiveElementMapping corresponding to the given primitivefield.
throws:
  PException - if it is not possible to build the mapping of theprimitive field.



createGenClassIdentifierNameDefMapping
void createGenClassIdentifierNameDefMapping(GenClassMapping gcm, NameDef nd, SpeedoField sf, MIBuilderHelper mibh) throws PException, SpeedoException(Code)
Creates the mapping of the name def (JORM meta object) corresponding to the identifier of a persistent generic class (collection, map, ...).
Parameters:
  gcm - is the MappingStructure which will host the mapping of the generic class
Parameters:
  nd - is the namedef corresponding to the identifier of the generic class
Parameters:
  sf - is the Speedo meta object representing the persistent fieldreferencing a generic class.



createGenClassIndexMapping
PrimitiveElementMapping createGenClassIndexMapping(PrimitiveElement pe, SpeedoField sf, GenClassMapping gcm) throws PException, SpeedoException(Code)
It creates the mapping of a primitive field used as index in the generic class.
Parameters:
  pe - is the Jorm meta object representing a primitive field
Parameters:
  gcm - is the MappingStructure which will host the mapping of thefield
Parameters:
  sf - is the Speedo meta object representing the persistent fieldreferencing a generic class. a PrimitiveElementMapping corresponding to the given primitivefield.
throws:
  PException - if it is not possible to build the mapping of theprimitive field.



createGenClassMapping
GenClassMapping createGenClassMapping(GenClassRef gcr, SpeedoField sf, Mapping mapping) throws PException, SpeedoException(Code)
It builds a GenClassMapping, assignes it to the mapping and builds mapping structure for the class (RdbTable, directory name, ...).
Parameters:
  gcr - is the Jorm meta object representing the gen class which theGenClassMapping must be built.
Parameters:
  mapping - is the Mapping instance which will host the GenClassMapping.
Parameters:
  sf - is the SpeedoField corresponding to the generic class. the GenClassMapping instance built by the method (never null).
throws:
  PException - if it is not possible to build the GenClassMapping



createGenClassRefNameDefMapping
void createGenClassRefNameDefMapping(ClassMapping cm, NameDef nd, SpeedoCommonField sf) throws PException, SpeedoException(Code)
Creates the mapping of the name def (JORM meta object) corresponding to a reference to a persistent generic class.
Parameters:
  cm - is the MappingStructure which will host the mapping of the reference
Parameters:
  nd - is the namedef corresponding to the reference
Parameters:
  sf - is the Speedo meta object representing the persistent fieldreferencing a generic class.



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