Package tigase.db
Annotation Interface Repository.SchemaId
- Enclosing interface:
Repository
Annotation provides information about schema (ie. database schema) required by annotated class.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionboolean
Method indicates whether schema definition is stored externally to the class (for example in.sql
files.
-
Element Details
-
id
String idMethod returns identifiers of a schema (ie. database schema) required by annotated class.- Returns:
- id of a schema
-
name
String nameMethod returns name of a schema required by annotated class. *
Result of this method is intended to be displayed to the user.- Returns:
- name of a schema
-
external
boolean externalMethod indicates whether schema definition is stored externally to the class (for example in.sql
files.- Returns:
- true if the schema definitions are stored in
.sql
files.
- Default:
true
-