JeeWiz Home  
The Model-Driven System Builder

JeeWiz Architect's Guide
 
Contents  >   14.  'Business Object' Reference
 


14.12 BomCreator Object

Superclassmethod
DescriptionDefines an entity create method to create the object in persistent storage.

This should be implemented by the Factory or Home type classes, and eventually call down to the Base object to 'persist' itself, however it does that.

This is overridden in J2EE by its own creator.

This object should really be called 'creator' - TBD.

This is not a business method is because creation may be exposed or not exposed depending on the implementation.
Contained
Lists
1
Name  parameter
Type  parameter
Inherited from  method
 
2
Name  exception
Type  String
Inherited from  java:interfaceMethod
 
3
Name  constraint
Type  constraint
Inherited from  method
Validation 1.   access must be public
2.   A Creator must not be abstract
3.   A Creator must not be final
Inherited
properties
description from java:interfaceMethod.description

template from java:interfaceMethod.template

text from java:method.text

jwpattern (base property)

annotation from java:interfaceMethod.annotation

static from java:method.static

synchronized from java:method.synchronized

native from java:method.native

generateLogLevel from java:method.generateLogLevel

returnElementType from method.returnElementType

implementInBase from method.implementInBase

uid from method.uid

 14.12.1  Property 'name'
 14.12.2  Property 'access'
 14.12.3  Property 'returnType'
 14.12.4  Property 'remote'
 14.12.5  Property 'permissionGroup'
 14.12.6  Property 'abstract'
 14.12.7  Property 'final'

14.12.1  Property 'name'
Overridesjava:interfaceMethod.name
TypeString
Defaultcreate
Hiddentrue

14.12.2  Property 'access'
Overridesjava:method.access
TypeString
Defaultpublic
Hiddentrue

14.12.3  Property 'returnType'
Overridesjava:interfaceMethod.returnType
DescriptionThe return type of the creator. This will probably be overridden by the rendering anyway.
TypeString
Defaultvoid
Hiddentrue

14.12.4  Property 'remote'
DescriptionIf "true" the create method should be defined remotely as well, if the environment supports that.
Typeboolean
Defaultfalse

14.12.5  Property 'permissionGroup'
Description'permission-group' references a group name defined in 'role-group' in the parent 'assembly/jar'.

Access to the create method is restricted to members of the roles listed in the group. If omitted, access is set by the default set in the owning object.
TypeString

14.12.6  Property 'abstract'
Overridesjava:method.abstract
DescriptionThe class or method cannot be abstract. The code generation templates generate this level of detail.
Typeboolean
Defaultfalse
Hiddentrue

14.12.7  Property 'final'
Overridesjava:method.final
DescriptionThis class or method cannot be defined as final. The code generation templates generate this level of detail.
Typeboolean
Defaultfalse
Hiddentrue
 


Copyright (c) 2001-2008 New Technology/enterprise Ltd.