Class EdmxValidator

java.lang.Object
com.sap.cloud.sdk.datamodel.odata.utility.EdmxValidator

public class EdmxValidator extends Object
Utility class to enable validity checks for OData specifications from EDMX files. This class is meant for internal usage only.
  • Method Details

    • isQualified

      public static boolean isQualified(@Nonnull File edmxFile, @Nonnull EdmxValidator.Version version)
      Validation method to check whether the provided EDMX file qualifies for the given OData version definition.
      Parameters:
      edmxFile - The EDMX file to check.
      version - The OData Version to use.
      Returns:
      true if the EDMX file is qualified for code generation. false otherwise.