code: public static StructuredType getAndCheckStructuredType(EntityDataModel entityDataModel, String typeName) {
          return checkIsStructuredType(getAndCheckType(entityDataModel, typeName));
      }
docs: Gets the OData type with a specified name and checks if the OData type is a structured type; throws an exception
  if the OData type is not a structured type.
  
  @param entityDataModel The entity data model.
  @param typeName        The type name.
  @return The OData structured type with the specified name.
  @throws ODataSystemException If there is no OData type with the specified name or if the OData type is not
  a structured type.