public class StockLevelStatus extends java.lang.Object implements HybrisEnumValue
| Modifier and Type | Field and Description |
|---|---|
static java.lang.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 java.lang.String |
SIMPLE_CLASSNAME
Generated simple class name constant.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Compares this object to the specified object.
|
java.lang.String |
getCode()
Gets the code of this enum value.
|
java.lang.String |
getType()
Gets the type this enum value belongs to.
|
int |
hashCode()
Returns a hash code for this
StockLevelStatus. |
java.lang.String |
toString()
Returns the code representing this enum value.
|
static StockLevelStatus |
valueOf(java.lang.String code)
Returns a StockLevelStatus instance representing the specified enum value.
|
public static final java.lang.String _TYPECODE
public static final java.lang.String SIMPLE_CLASSNAME
public static final StockLevelStatus INSTOCK
public static final StockLevelStatus LOWSTOCK
public static final StockLevelStatus OUTOFSTOCK
public boolean equals(java.lang.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.equals in class java.lang.Objectobj - the object to compare with.true if the objects are the same;
false otherwise.public java.lang.String getCode()
getCode in interface HybrisEnumValuepublic java.lang.String getType()
getType in interface HybrisEnumValuepublic int hashCode()
StockLevelStatus.hashCode in class java.lang.Objectcode
represented by this StockLevelStatus object.public java.lang.String toString()
toString in class java.lang.Objectpublic static StockLevelStatus valueOf(java.lang.String code)
code - an enum valueCopyright © 2018 SAP SE. All Rights Reserved.