public class MessageClass extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static MessageClass |
APPLICATION_ACK |
static MessageClass |
APPLICATION_ERROR |
static MessageClass |
APPLICATION_MESSAGE |
static MessageClass |
APPLICATION_RESPONSE |
static MessageClass |
SYSTEM_ACK |
static MessageClass |
SYSTEM_ERROR |
Modifier and Type | Method and Description |
---|---|
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. |
public static final MessageClass APPLICATION_MESSAGE
public static final MessageClass APPLICATION_RESPONSE
public static final MessageClass SYSTEM_ERROR
public static final MessageClass APPLICATION_ERROR
public static final MessageClass SYSTEM_ACK
public static final MessageClass APPLICATION_ACK
public String toString()
MessageClass
instance by a call to valueOf(String)
.public static MessageClass valueOf(String s)
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.s
- string sNullPointerException
- if the argument is null
.IllegalArgumentException
- if the argument is not a known msg class.protected Object readResolve() throws ObjectStreamException
ObjectStreamException
- ObjectStreamExceptionpublic static MessageClass[] getMessageClasses()
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] SAP_XIAF
|
[sap.com] com.sap.aii.af.ifc.facade
|
api
|
BC-XI
|
Copyright 2019 SAP AG Complete Copyright Notice