public enum SiteChannel extends java.lang.Enum<SiteChannel> implements HybrisEnumValue
| Enum Constant and Description |
|---|
B2B
Generated enum value for SiteChannel.B2B declared at extension commerceservices.
|
B2C
Generated enum value for SiteChannel.B2C declared at extension commerceservices.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
SIMPLE_CLASSNAME
Generated simple class name constant.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCode()
Gets the code of this enum value.
|
java.lang.String |
getType()
Gets the type this enum value belongs to.
|
static SiteChannel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SiteChannel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SiteChannel B2B
public static final SiteChannel B2C
public static final java.lang.String _TYPECODE
public static final java.lang.String SIMPLE_CLASSNAME
public static SiteChannel[] values()
for (SiteChannel c : SiteChannel.values()) System.out.println(c);
public static SiteChannel valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getCode()
getCode in interface HybrisEnumValuepublic java.lang.String getType()
getType in interface HybrisEnumValueCopyright © 2018 SAP SE. All Rights Reserved.