@Test public void checkThrowsExceptionOnUnknownTypeWithAnnotation() throws ODataJPAModelException { assertThrows(ODataJPAModelException.class, () -> JPATypeConvertor.convertToEdmSimpleType(BigInteger.class, buildTimeAttribute(TemporalType.TIME))); }
public static EdmPrimitiveTypeKind convertToEdmSimpleType(final Class<?> type) throws ODataJPAModelException { return convertToEdmSimpleType(type, null); }
JPATypeConvertor { public static EdmPrimitiveTypeKind convertToEdmSimpleType(final Class<?> type) throws ODataJPAModelException { return convertToEdmSimpleType(type, null); } }
JPATypeConvertor { public static EdmPrimitiveTypeKind convertToEdmSimpleType(final Class<?> type) throws ODataJPAModelException { return convertToEdmSimpleType(type, null); } private  JPATypeConvertor(); }
JPATypeConvertor { public static EdmPrimitiveTypeKind convertToEdmSimpleType(final Class<?> type) throws ODataJPAModelException { return convertToEdmSimpleType(type, null); } private  JPATypeConvertor(); static EdmPrimitiveTypeKind convertToEdmSimpleType(final Class<?> type); static EdmPrimitiveTypeKind convertToEdmSimpleType(final Class<T> jpaType, // NOSONAR
      final Attribute<?, ?> currentAttribute); static EdmPrimitiveTypeKind convertToEdmSimpleType(final JPAAttribute attribute); static boolean isSimpleType(final Class<?> type, final Attribute<?, ?> currentAttribute); static boolean isScalarType(final Class<?> type); static boolean isSupportedByOlingo(final Class<?> type); }
JPATypeConvertor { public static EdmPrimitiveTypeKind convertToEdmSimpleType(final Class<?> type) throws ODataJPAModelException { return convertToEdmSimpleType(type, null); } private  JPATypeConvertor(); static EdmPrimitiveTypeKind convertToEdmSimpleType(final Class<?> type); static EdmPrimitiveTypeKind convertToEdmSimpleType(final Class<T> jpaType, // NOSONAR
      final Attribute<?, ?> currentAttribute); static EdmPrimitiveTypeKind convertToEdmSimpleType(final JPAAttribute attribute); static boolean isSimpleType(final Class<?> type, final Attribute<?, ?> currentAttribute); static boolean isScalarType(final Class<?> type); static boolean isSupportedByOlingo(final Class<?> type);  }