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