Annotation Type MultiTenant
Extension annotation allowing for specifying a class as multitenant, meaning that it will have a surrogate column in its table storing the tenant id.
-
Optional Element Summary
Optional Elements
-
Element Details
-
column
String columnName of the multitenancy column in the table for this class.- Returns:
- The multitenancy column name
- Default:
"TENANT_ID"
-
columns
javax.jdo.annotations.Column[] columnsThe column making up the multitenancy discriminator.- Returns:
- the column making up the multitenancy discriminator
- Default:
{}
-
indexed
String indexedWhether the multitenancy discriminator is indexed.- Returns:
- whether the multitenancy discriminator is indexed
- Default:
""
-