Interface Type<X>

Type Parameters:
X - The type of the view or attribute
All Known Subinterfaces:
BasicType<X>, FlatViewType<X>, ManagedViewType<X>, ViewType<X>

public interface Type<X>
Represents the mapping type of a view or attribute.
Since:
1.2.0
Author:
Christian Beikov
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    The different mapping types.
  • Method Summary

    Modifier and Type
    Method
    Description
    The declared type that is converted by the converter, or null if no converter exists.
    The converter for converting objects between the converted type and the actual entity view model type.
    Returns the java class of the type.
    Returns the mapping type.
  • Method Details

    • getJavaType

      Class<X> getJavaType()
      Returns the java class of the type.
      Returns:
      the java class
    • getConvertedType

      Type getConvertedType()
      The declared type that is converted by the converter, or null if no converter exists.
      Returns:
      The type that is converted
    • getConverter

      TypeConverter<X,?> getConverter()
      The converter for converting objects between the converted type and the actual entity view model type.
      Returns:
      The type converter
    • getMappingType

      Type.MappingType getMappingType()
      Returns the mapping type.
      Returns:
      The mapping type