Parameter |
Type |
Applicability |
Description |
Mandatory |
class |
text |
|
The fully qualified name of the primary key class. If
the class parameter is absent, the primary key class
name will be determined using the pattern and package parameters. |
false |
pattern |
text |
|
Defines the pattern (using {0} for
the EJB name) to be used for constructing the unqualified (package-specific)
name of the primary key class. |
false |
package |
text |
|
Defines the package that the pk class
is in (generated or not). Use <packageSubstitution/> to
specify the package where the interface will reside. |
false |
generate |
boolean |
|
Indicates if the primary-key class should be generated.
You must specify one of the following attributes:
The default value is
|
false |
extends |
text |
|
Defines which class the generated primary keyextends. |
false |
implements |
text |
|
Defines which interface the generated primary key implements. |
false |
role-name |
text |
|
A comma-separated list of roles that can execute findByPrimaryKey. |
false |
unchecked |
boolean |
Entity beans, EJB 2.0 |
Flags the PK-finder with unchecked permission.
If the unchecked parameter is present, role-name must
be omitted. You must specify one of the following attributes:
The default value is
|
false |
method-intf |
text |
|
Indicates the interface (Home or LocalHome)
for which the findByPrimaryKey permissions should be set.
Applies only if role-name or unchecked is
specified. If the permissions should apply to both Home or LocalHome interfaces,
you do not use this parameter. You must specify one of the following attributes:
The default value is
|
|