Interface ViewType<X>

Type Parameters:
X - The type of the entity view
All Superinterfaces:
ManagedViewType<X>, Type<X>

public interface ViewType<X>
extends ManagedViewType<X>
Represents the metamodel of an entity view.
Since:
1.0.0
Author:
Christian Beikov
  • Method Details

    • getIdAttribute

      MethodAttribute<? super X,​?> getIdAttribute()
      Returns the id attribute of the entity view.
      Returns:
      The id attribute of the entity view
    • getVersionAttribute

      MethodAttribute<? super X,​?> getVersionAttribute()
      Returns the version attribute of the entity view if there is any, or null.
      Returns:
      The version attribute of the entity view, or null
      Since:
      1.2.0
    • getLockOwner

      String getLockOwner()
      Returns path to the lock owner relative from the view types entity class if there is any, or null.
      Returns:
      The path to the lock owner, or null
      Since:
      1.2.0
    • getLockMode

      LockMode getLockMode()
      Returns the lock mode that is used for this entity view, or null.
      Returns:
      The lock mode, or null
      Since:
      1.2.0
    • getViewFilter

      ViewFilterMapping getViewFilter​(String filterName)
      Returns the view filter mapping of the entity view with the given name.
      Parameters:
      filterName - The name of the view filter mapping which should be returned
      Returns:
      The view filter mapping of the entity view with the given name
    • getViewFilters

      Set<ViewFilterMapping> getViewFilters()
      Returns the view filter mappings of the entity view.
      Returns:
      The view filter mappings of the entity view