Enum Class MessageType

java.lang.Object
java.lang.Enum<MessageType>
com.sap.cloud.sdk.s4hana.serialization.MessageType
All Implemented Interfaces:
ErpType<MessageType>, Serializable, Comparable<MessageType>, Constable

@Deprecated public enum MessageType extends Enum<MessageType> implements ErpType<MessageType>
Deprecated.
This module will be discontinued, along with its classes and methods.
The MessageType ERP type.
  • Enum Constant Details

    • SUCCESS

      public static final MessageType SUCCESS
      Deprecated.
      SUCCESS
    • INFORMATION

      public static final MessageType INFORMATION
      Deprecated.
      INFORMATION
    • WARNING

      public static final MessageType WARNING
      Deprecated.
      WARNING
    • ERROR

      public static final MessageType ERROR
      Deprecated.
      ERROR
    • ABORT

      public static final MessageType ABORT
      Deprecated.
      ABORT
    • EXIT

      public static final MessageType EXIT
      Deprecated.
      EXIT
  • Method Details

    • values

      public static MessageType[] values()
      Deprecated.
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static MessageType valueOf(String name)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Enum<MessageType>
    • getTypeConverter

      @Nonnull public ErpTypeConverter<MessageType> getTypeConverter()
      Deprecated.
      Description copied from interface: ErpType
      Get the type converter for the ERP type.
      Specified by:
      getTypeConverter in interface ErpType<MessageType>
      Returns:
      The type converter.
    • ofIdentifier

      @Nonnull public static MessageType ofIdentifier(@Nonnull String identifier) throws IllegalArgumentException
      Deprecated.
      Static factory method.
      Parameters:
      identifier - A String representation of the message type.
      Returns:
      The respective Enum value.
      Throws:
      IllegalArgumentException - when the identifier could not be parsed accordingly.
    • getIdentifier

      public String getIdentifier()
      Deprecated.