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 -
Method Summary
Modifier and TypeMethodDescriptionThe declared type that is converted by the converter, ornullif no converter exists.TypeConverter<X,?> 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
Returns the java class of the type.- Returns:
- the java class
-
getConvertedType
Type getConvertedType()The declared type that is converted by the converter, ornullif 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
-