com.sap.engine.interfaces.messaging.api

Class MessageClass

java.lang.Object
  extended by com.sap.engine.interfaces.messaging.api.MessageClass
All Implemented Interfaces:
Serializable

public class MessageClass
extends Object
implements Serializable

The MessageClass is used to represent the various Message Classes that are currently known by the Messaging System:

  • APPLICATION_MESSAGE>:
  • APPLICATION_RESPONSE :
  • SYSTEM_ERROR :
  • APPLICATION_ERROR :
  • SYSTEM_ACK :
  • APPLICATION_ACK :
  • See Also:
    Serialized Form

    Field Summary
    static MessageClass APPLICATION_ACK
               
    static MessageClass APPLICATION_ERROR
               
    static MessageClass APPLICATION_MESSAGE
               
    static MessageClass APPLICATION_RESPONSE
               
    static MessageClass SYSTEM_ACK
               
    static MessageClass SYSTEM_ERROR
               
     
    Method Summary
    static MessageClass[] getMessageClasses()
              Returns an array of all known MessageClass constants.
    protected  Object readResolve()
              Prevents the release of multiple instances upon deserialization.
     String toString()
              Returns the string representation of the message class.
    static MessageClass valueOf(String s)
              Returns an instance of MessageClass that represents the msg class given as a string.
     
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
     

    Field Detail

    APPLICATION_MESSAGE

    public static final MessageClass APPLICATION_MESSAGE

    APPLICATION_RESPONSE

    public static final MessageClass APPLICATION_RESPONSE

    SYSTEM_ERROR

    public static final MessageClass SYSTEM_ERROR

    APPLICATION_ERROR

    public static final MessageClass APPLICATION_ERROR

    SYSTEM_ACK

    public static final MessageClass SYSTEM_ACK

    APPLICATION_ACK

    public static final MessageClass APPLICATION_ACK
    Method Detail

    toString

    public String toString()
    Returns the string representation of the message class. This value can be used to get a MessageClass instance by a call to valueOf(String).

    Overrides:
    toString in class Object
    Returns:
    the string representation of the message class.

    valueOf

    public static MessageClass valueOf(String s)
    Returns an instance of MessageClass that represents the msg class given as a string. This will typically be used to create a MessageClass object from a string retrieved from the database.

    Throws:
    NullPointerException - if the argument is null.
    IllegalArgumentException - if the argument is not a known msg class.

    readResolve

    protected Object readResolve()
                          throws ObjectStreamException
    Prevents the release of multiple instances upon deserialization.

    Returns:
    MessageClass Object value
    Throws:
    ObjectStreamException

    getMessageClasses

    public static MessageClass[] getMessageClasses()
    Returns an array of all known MessageClass constants.

    Returns:
    An array containing all known MessageClass constants.
    Access Rights

    This class can be accessed from:

    
    
    SC DC Public Part ACH
    [sap.com] SAP_XIAF [sap.com] com.sap.aii.af.ifc.facade api BC-XI


    Copyright 2014 SAP AG Complete Copyright Notice