public class BookingType extends Object implements HybrisEnumValue
| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static BookingType |
ENTRY
Generated enum value for BookingType.ENTRY declared at extension b2bcommerce.
|
static BookingType |
SHIPPING
Generated enum value for BookingType.SHIPPING declared at extension b2bcommerce.
|
static String |
SIMPLE_CLASSNAME
Generated simple class name constant.
|
| 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
BookingType. |
String |
toString()
Returns the code representing this enum value.
|
static BookingType |
valueOf(String code)
Returns a BookingType instance representing the specified enum value.
|
public static final String _TYPECODE
public static final String SIMPLE_CLASSNAME
public static final BookingType ENTRY
public static final BookingType SHIPPING
public boolean equals(Object obj)
true
if and only if the argument is not null and is an BookingType
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()
BookingType.public String toString()
public static BookingType valueOf(String code)
code - an enum valueCopyright © 2017 SAP SE. All Rights Reserved.