Extension annotation providing for marking a relation as "shared" and adding a distinguisher column.
-
Required Element Summary
Required Elements
The name of the distinguisher column.
The value to be stored in the distinguisher column for this relation.
-
Optional Element Summary
Optional Elements
boolean
Whether the distinguisher column defaults to being part of the PK (false unless specified).
-
Element Details
-
column
The name of the distinguisher column.
- Returns:
- The column name
-
primaryKey
boolean primaryKey
Whether the distinguisher column defaults to being part of the PK (false unless specified).
- Returns:
- Whether part of the PK
- Default:
false
-
value
The value to be stored in the distinguisher column for this relation.
- Returns:
- distinguishing value