Primarykey (attribute of property)

From JRapid

Jump to: navigation, search

primarykey is an attribute of property.


Contents

Description

The primarykey attribute is used for explicitly specifying a property as the primary key for an entity.

Currently, only properties of type long may be set as primary keys.

Usage

<property
   name = NAME
   label = LABEL
   type = "long"
   primarykey = "primarykey"
   ...
/>

Example

See also

Personal tools