public class MessageType extends Object implements HybrisEnumValue
| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static MessageType |
INCOMING
Generated enum value for MessageType.INCOMING declared at extension mobileservices.
|
static MessageType |
OUTGOING
Generated enum value for MessageType.OUTGOING declared at extension mobileservices.
|
static String |
SIMPLE_CLASSNAME
Generated simple class name constant.
|
static MessageType |
TWO_WAY
Generated enum value for MessageType.TWO_WAY declared at extension mobileservices.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Compares this object to the specified object.
|
String |
getCode()
Gets the code of this enum value.
|
String |
getType()
Gets the type this enum value belongs to.
|
int |
hashCode()
Returns a hash code for this
MessageType. |
String |
toString()
Returns the code representing this enum value.
|
static MessageType |
valueOf(String code)
Returns a MessageType instance representing the specified enum value.
|
public static final String _TYPECODE
public static final String SIMPLE_CLASSNAME
public static final MessageType OUTGOING
public static final MessageType INCOMING
public static final MessageType TWO_WAY
public boolean equals(Object obj)
true
if and only if the argument is not null and is an MessageType
object that contains the enum value code as this object.public String getCode()
getCode in interface HybrisEnumValuepublic String getType()
getType in interface HybrisEnumValuepublic int hashCode()
MessageType.public String toString()
public static MessageType valueOf(String code)
code - an enum valueCopyright © 2017 SAP SE. All Rights Reserved.