Interface DataDescriptorWithDomain<T extends DataDescriptor>

Type Parameters:
T - DataDescriptor class
All Known Implementing Classes:
JPADataDescriptor

public interface DataDescriptorWithDomain<T extends DataDescriptor>

This interface is used to designate DataDescriptor classes that require a dataClass. The dataClass is the entity class that contains the data structure description. Such DataDescriptors are JPA and ElasticSearch.

Since:
4.0
Author:
JBStrap
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    default Class<?>
    Gets the domain class (POJO class or entity that provides the data)
    default String
    Gets the name of the domain class (POJO class or entity that provides the data)
  • Method Details

    • getDomainClassName

      default String getDomainClassName()
      Gets the name of the domain class (POJO class or entity that provides the data)
      Returns:
      The name of the domain class (POJO class or entity that provides the data)
    • getDomainClass

      default Class<?> getDomainClass()
      Gets the domain class (POJO class or entity that provides the data)
      Returns:
      The domain class (POJO class or entity that provides the data) or null, if not found in the application.