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 ElementDescriptionbooleanMethod indicates whether schema definition is stored externally to the class (for example in.sqlfiles.
-
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.sqlfiles.- Returns:
- true if the schema definitions are stored in
.sqlfiles.
- Default:
true
-