Interface ValueMapping

    • Method Detail

      • getMappedType

        MappingType getMappedType()
        Descriptor for the type of this mapping
      • treatAs

        default <X> X treatAs​(Class<X> targetType)
        Treat operation. Asks the ValueMapping to treat itself as the given `targetType`, if it can.
        API Note:
        This is not necessarily limited to things the ValueMapping itself implements.
        Implementation Note:
        This default implementation is however limited to just things the ValueMapping itself implements.