Annotation Type Entity
Annotation to mark a class as an entity. An entity is a persistent
class which can be stored in an
ObjectRepository.- Since:
- 4.0
- Author:
- Anindya Chatterjee
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionIndex[]A list of indices for the repository.Name of theObjectRepository.
-
Element Details
-
value
String valueName of theObjectRepository. By default, the name would be the class name of the entity.- Returns:
- the name
- Default:
- ""
-
indices
Index[] indicesA list of indices for the repository.- Returns:
- the index definitions
- Default:
- {}
-