Interface EntityDecorator<T>

Type Parameters:
T - the type parameter

public interface EntityDecorator<T>
An interface that can be used to implement a decorator for an entity class of type T, where annotating the class with Entity and its friends is not possible.
Since:
4.0
Author:
Anindya Chatterjee
See Also:
  • Method Details

    • getEntityType

      Class<T> getEntityType()
      Gets the entity type of the decorator.
      Returns:
      the entity type
    • getIdField

      EntityId getIdField()
      Gets id field declaration.
      Returns:
      the id field
    • getIndexFields

      List<EntityIndex> getIndexFields()
      Gets index fields declaration.
      Returns:
      the index fields
    • getEntityName

      default String getEntityName()
      Gets entity name.
      Returns:
      the entity name