public static ComplexType getAndCheckComplexType ( EntityDataModel entityDataModel , Class < ? > javaType ) { return checkIsComplexType ( getAndCheckType ( entityDataModel , javaType ) ) ; }
Gets the OData type for a Java type and checks if the OData type is a complex type ; throws an exception if the OData type is not a complex type .