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