|
|
|
The Model-Driven System Builder
|
|
JeeWiz Architect's Guide
|
|
|
|
Contents >
14. 'Business Object' Reference
|
|
|
14.35 ServerJar Object
| Superclass | jarBase |
| Subclassed By |
|
| Description | This is a grouping of objects in the business object model.
It is a slight enhancement of the Jar meta-class from the Java meta-model.
It contains
- interfaces
- internal-classes and its derivatives at the business object level - business-object, entity and session
- relations.
This also gives a namespace for looking up types: types can be validated within this namespace.
|
Contained Lists |
| 1 |
|
| |
| 2 |
| Name | jarGlobalImports |
| Type | String |
| Inherited from | java:jar |
|
| |
| 3 |
|
| |
| 4 |
|
| |
| 5 |
| Name | relation |
| Type | relation |
| Description | Defines the relationship between two entities in the Jar.
|
| Indexed property | name |
|
| |
| 6 |
| Name | roleGroup |
| Type | roleGroup |
| Description | Defines the named group of security roles used by permissions on business methods.
|
| GenerateAllList | false |
|
|
Inherited properties |
|
14.35.1 Property 'generateMaintenanceSession'
|
| Description | Set this flag to 'true' to generate the maintenance session bean for this data-view.
This is a delegated property, so it can be set in the jar/assembly, application or top-level configuration properties.
By default it is set to 'true'.
If you want to disable this for a particular object, set the value to 'false'.
The standard patterns will automatically generate methods on the session bean to
- search for the object
- view/update the object
- delete the object.
|
| Type | boolean |
| Default | true |
| Delegates | true |
14.35.2 Property 'generateDataViewForEntity'
|
| Description | Set this to 'true' to generate the data view for this entity.
By default, data views are generated for entities based on a setting in the system.properties file.
If you want to disable this for a particular object, set the value to 'false'.
The default pattern copies all fields from the entity to the data-view.
|
| Type | boolean |
| Delegates | true |
14.35.3 Property 'generatePagesForBusinessMethods'
|
| Description | Set this to 'true' to generate pages based on a business method.
The default for this value (which is true in the standard distribution) comes from the generatePagesForBusinessMethods setting in the system.properties file.
If you want to disable this for a particular object, set the value to 'false'.
The standard pattern triggered by this value creates a page with a single button that will be linked to the business method.
|
| Type | boolean |
| Delegates | true |
14.35.4 Property 'generateDataviewImplClass'
|
| Description | If this property is true, the rendering creates both an implementation class and a base class.
The default is false, which will create just the one class (with the implementation name, but with the base implementation).
This flag only needs to be set where additional methods will need to be implemented by hand to support the operation of the data-view.
|
| Type | boolean |
| Delegates | true |
14.35.5 Property 'dataSource'
|
| Description | The data-source is the JNDI name of a java.sql.DataSource to be used for database connectivity: in other words, it is a logical name for a database and the username and other properties used to connect to it.
This is a delegated property, that exists on entities and jars (assemblies in .NET).
The value used will then be the first value encountered on the parent chain - entities, jars/assemblies, or configuration property.
In the standard distribution, the default (e.g. 'JeeWizDemoDS') is specified in the J2EE or .NET meta-models system.properties or a build property.
|
| Type | String |
| Delegates | true |
Copyright (c) 2001-2008 New Technology/enterprise Ltd.
| |