Java Doc for IBuilder.java in  » J2EE » Jaffa » org » jaffa » tools » patternmetaengine » 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 » J2EE » Jaffa » org.jaffa.tools.patternmetaengine 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.jaffa.tools.patternmetaengine.IBuilder

All known Subclasses:   org.jaffa.tools.patternmetaengine.BuildObjectFinder_2,  org.jaffa.tools.patternmetaengine.BuildObjectViewer,  org.jaffa.tools.patternmetaengine.BuildObjectMaintenance,  org.jaffa.tools.patternmetaengine.BuildObjectMaintenance_1,  org.jaffa.tools.patternmetaengine.BuildObjectLookup_1,  org.jaffa.tools.patternmetaengine.BuildObjectMaintenance_2,  org.jaffa.tools.patternmetaengine.BuildObjectFinder,  org.jaffa.tools.patternmetaengine.BuildObjectLookup_2,  org.jaffa.tools.patternmetaengine.BuildObjectLookup,  org.jaffa.tools.patternmetaengine.BuildObjectViewer_1,  org.jaffa.tools.patternmetaengine.BuildObjectViewer_2,  org.jaffa.tools.patternmetaengine.BuildObjectFinder_1,
IBuilder
public interface IBuilder (Code)
Interface for any type of builder that can be called.
author:
   PaulE




Method Summary
public  voidbuildPhase1(boolean fullPackage)
     Phase 1 of the build should create the initial skeleton component in as much detail as possible.
public  voidbuildPhase2(boolean fullPackage)
     Phase 2 allows any inter-conponent linking to be performed.
public  StringgetApplication()
    
public  StringgetComponentControllerClass()
    
public  StringgetComponentControllerPackage()
    
public  StringgetComponentName()
    
public  StringgetComponentType()
    
public  StringgetDomain()
    
public  StringgetModule()
     Get Module Name The name of the module this component is in.
public  StringgetName()
    
public  booleansave()
    



Method Detail
buildPhase1
public void buildPhase1(boolean fullPackage) throws Exception(Code)
Phase 1 of the build should create the initial skeleton component in as much detail as possible. It is the job of this phase to write out any module labels if some need to be produced. It should also guarentee that the 'getters' provided by this interface provide the correct data so that any component in phase 2 can use this information for linking

Note: To writing out module labels, the label object should be supplied in the construtor of the implementing class to facilitate this.
Parameters:
  fullPackage - If true then the .applications. and .modules. package namesare used. If this is false, these are ommited for a much more condensed packagenaming convention
throws:
  Exception - thrown in the event of a critical error



buildPhase2
public void buildPhase2(boolean fullPackage) throws Exception(Code)
Phase 2 allows any inter-conponent linking to be performed. At this point all components have initially been build (by Phase 1), and are available (via the ComponentRegistry) for access. If you nee to perform linking in this phase via the Registry, then you should make sure it was passed into the constructor of the implementing class.
It is assumed that one the Phase 2 build has been completed, the component is now ready to have the save() method invoked.
Parameters:
  fullPackage - If true then the .applications. and .modules. package namesare used. If this is false, these are ommited for a much more condensed packagenaming convention
throws:
  Exception - thrown in the event of a critical error



getApplication
public String getApplication()(Code)
Get Application Name The name of the application this component is in



getComponentControllerClass
public String getComponentControllerClass()(Code)
Get Component Controller Class The class name of the component controller



getComponentControllerPackage
public String getComponentControllerPackage()(Code)
Get Component Controller Package The package name that the component controller will be in



getComponentName
public String getComponentName()(Code)
Get Component Name The name this component is referenced by in Jaffa by the component manager



getComponentType
public String getComponentType()(Code)
Get Component Type The type of component this is "Finder","Viewer","Maintenance","Lookup"



getDomain
public String getDomain()(Code)
Get the domain object The full class name of the domain object this component pattern is based on



getModule
public String getModule()(Code)
Get Module Name The name of the module this component is in. The initial letter willalways be capitalized



getName
public String getName()(Code)
Get Component Name The name this component typically this is the same as 'ComponentName' but does notinclude the module name



save
public boolean save()(Code)
Saves the generated meta data to the prespecified location as an XML file NOTE: assumes that the buildPhase1() and buildPhase2() methods have already been called! returns true if the file saved ok, false if it failed



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