| HEAD | PREVIOUS |
| Field | Description |
| id | Serves as surrogate primary key. You do not need to define a primary key for your types. The framework does this for you. |
| version | This field is used by the underlying hibernate persistence framework to keep track of whether two objects are being edited at the same time, used for optimistic locking. |
| createdOn | A read-only field that records the date and time that an object is created. When displaying a view of an object in form view, the value of this field is displayed at the bottom, in the view's status bar. |
| Parameter Name | Type | Description |
| mnemonic | char | What keyboard mnemonic to attach to the field in question. Useful for form entry, to directly set the focus on a specific field |
| label | String | A way to override the caption used to display a field in a form |
| description | String | The field's description. Used as the contents of a tooltip on the field. |
| colname | String | A means to override the name of the database column corresponding to this field. By default, the column name is automatically derived from the field name. |
| colsize | int | Controls the size of the field's underlying database column. By default, many string-type fields are set as varchar(255). This attribute provides a means to control the column size at a finer level. |
| displaysize | int | Controls the size of the corresponding text field used for doing data entry on the field. |
| format | String | Applies only to TimeEO and DateEO type fields. Accepts a SimpleDateFormat string to control the format of times and dates for both parsing and rendering. e.g. @Fld(format='m:ss') might be useful on a TimeEO field for displaying song durations. |
| persist | boolean | Whether the field should be persisted at all (see the discussion on Calculated Fields) |
| hidden | boolean | Use to hide certain fields from the user interface |
| Parameter Name | Type | Description |
| mnemonic | char | What keyboard mnemonic to use to invoke the command |
| label | String | Use to override command's caption in the user interface |
| description | String | Used as a tooltip to the command's corresponding view (usually a button) |
| sensitive | boolean | Specify whether this is a sensitive command (e.g. Delete) where it would be beneficial for the ui to provide a mechanism to prevent against inadvertent invocation of the command. This is done in the Swing view mechanism by disabling the command's button. A small lock on the button can be clicked on to unlock (enable) the action. |
| shortcut | String | Applies only to type commands (commands marked static). Specify a keyboard shortcut (an accelerator). Example: "control Z" |
| batchable | boolean | Whether the command can be invoked in list context (composed across a number of instances) |
| iconref | String | Decorate the command view (button or menu item) with an icon. For example, the Edit command is defined with iconref="pencil"; make sure to place a copy of pencil32.png and pencil16.png in the image resources folder. |
| HEAD | NEXT |