java.lang.Object
de.hybris.platform.odata2services.odata.schema.utils.EdmTypeUtils

public final class EdmTypeUtils extends Object
A utility class for dealing with EDM types.
  • Method Details

    • convert

      public static org.apache.olingo.odata2.api.edm.EdmSimpleTypeKind convert(String platformType)
      Converts the given platformType into the EdmSimpleTypeKind. If the platformType is a primitive (e.g. java.lang.String), having any prefix before the type (e.g. localized:java.lang.String) will fail to convert.
      Parameters:
      platformType - Platform type to convert
      Returns:
      EdmSimpleTypeKind