| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jaffa.tools.patternmetaengine.BuildObjectViewer_2
Create the meta data for an Object Viewer Pattern, based on a specified Domain Object.
| Constructor Summary | |
| BuildObjectViewer_2(ApplicationBuilder app,
                                       ComponentRegistry comps,
                                       Module module,
                                       org.jaffa.patterns.library.domain_creator_1_1.domain.Root domain,
                                       DomainObjectHelper doList,
                                       Properties labels)Creates a new instance of BuildObjectViewer | |
| Method Summary | |
|  void | buildPhase1(boolean fullPackage)Causes the meta data object to be build ready for saving. | 
|  void | buildPhase2(boolean fullPackage)Causes the meta data object to be build ready for saving. | 
|  String | getApplication()Get Application Name | 
|  String | getComponentControllerClass()Get Component Controller Class | 
|  String | getComponentControllerPackage()Get Component Controller Package | 
|  String | getComponentName()Get Component Name | 
|  String | getComponentType()Get Component Type | 
|  String | getDomain()Get the domain object | 
|  String | getModule()Get Module Name | 
|  String | getName()Get Component Name | 
|  boolean | save()Saves the generated meta data to the prespecified location as an XML file NOTE: assumes that the build(..) method has been called! | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public BuildObjectViewer_2(ApplicationBuilder app,
                           ComponentRegistry comps,
                           Module module,
                           org.jaffa.patterns.library.domain_creator_1_1.domain.Root domain,
                           DomainObjectHelper doList,
                           Properties labels)
| Method Detail | 
public void buildPhase1(boolean fullPackage)
                 throws Exception
buildPhase1 in interface IBuilderfullPackage - If true then the .applications. and .modules. package names
 are used. If this is false, these are ommited for a much more condensed package
 naming convention
Exception - thrown in the event of a critical errorpublic boolean save()
save in interface IBuilderpublic String getApplication()
IBuilder
getApplication in interface IBuilderpublic String getComponentControllerClass()
IBuilder
getComponentControllerClass in interface IBuilderpublic String getComponentControllerPackage()
IBuilder
getComponentControllerPackage in interface IBuilderpublic String getComponentName()
IBuilder
getComponentName in interface IBuilderpublic String getComponentType()
IBuilder
getComponentType in interface IBuilderpublic String getDomain()
IBuilder
getDomain in interface IBuilderpublic String getModule()
IBuilder
getModule in interface IBuilderpublic String getName()
IBuilder
getName in interface IBuilder
public void buildPhase2(boolean fullPackage)
                 throws Exception
buildPhase2 in interface IBuilderfullPackage - If true then the .applications. and .modules. package names
 are used. If this is false, these are ommited for a much more condensed package
 naming convention
Exception - thrown in the event of a critical error| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||