public enum LineOfBusiness extends Enum<LineOfBusiness> implements HybrisEnumValue
| Enum Constant and Description |
|---|
BANK
Generated enum value for LineOfBusiness.bank declared at extension catalog.
|
BUILDING
Generated enum value for LineOfBusiness.building declared at extension catalog.
|
GOVERNMENT
Generated enum value for LineOfBusiness.government declared at extension catalog.
|
INDUSTRY
Generated enum value for LineOfBusiness.industry declared at extension catalog.
|
SERVICE
Generated enum value for LineOfBusiness.service declared at extension catalog.
|
TRADE
Generated enum value for LineOfBusiness.trade declared at extension catalog.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
SIMPLE_CLASSNAME
Generated simple class name constant.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCode()
Gets the code of this enum value.
|
String |
getType()
Gets the type this enum value belongs to.
|
static LineOfBusiness |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LineOfBusiness[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineOfBusiness TRADE
public static final LineOfBusiness BANK
public static final LineOfBusiness INDUSTRY
public static final LineOfBusiness BUILDING
public static final LineOfBusiness GOVERNMENT
public static final LineOfBusiness SERVICE
public static final String _TYPECODE
public static final String SIMPLE_CLASSNAME
public static LineOfBusiness[] values()
for (LineOfBusiness c : LineOfBusiness.values()) System.out.println(c);
public static LineOfBusiness valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getCode()
getCode in interface HybrisEnumValuepublic String getType()
getType in interface HybrisEnumValueCopyright © 2017 SAP SE. All Rights Reserved.