@ejb.pk-field

Scope: method

Multiplicity

(0..1): You can use this tag zero or one time in the Java™ source file.

Purpose

Use this tag for methods with the pattern public abstract Foo getX(). This denotes the persistent field X as a primary key field, which is included in the generated primary key class. Must be used with the persistent-field tag. It has no parameters. Applies to entity beans only; used in methods with this pattern: public abstract Foo getX().

Parameters

Parameter Type Applicability Description Mandatory
NONE        

Feedback