public class SwatchColorEnum extends Object implements HybrisEnumValue
| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static SwatchColorEnum |
BLACK
Generated enum value for SwatchColorEnum.BLACK declared at extension yacceleratorcore.
|
static SwatchColorEnum |
BLUE
Generated enum value for SwatchColorEnum.BLUE declared at extension yacceleratorcore.
|
static SwatchColorEnum |
BROWN
Generated enum value for SwatchColorEnum.BROWN declared at extension yacceleratorcore.
|
static SwatchColorEnum |
GREEN
Generated enum value for SwatchColorEnum.GREEN declared at extension yacceleratorcore.
|
static SwatchColorEnum |
GREY
Generated enum value for SwatchColorEnum.GREY declared at extension yacceleratorcore.
|
static SwatchColorEnum |
ORANGE
Generated enum value for SwatchColorEnum.ORANGE declared at extension yacceleratorcore.
|
static SwatchColorEnum |
PINK
Generated enum value for SwatchColorEnum.PINK declared at extension yacceleratorcore.
|
static SwatchColorEnum |
PURPLE
Generated enum value for SwatchColorEnum.PURPLE declared at extension yacceleratorcore.
|
static SwatchColorEnum |
RED
Generated enum value for SwatchColorEnum.RED declared at extension yacceleratorcore.
|
static SwatchColorEnum |
SILVER
Generated enum value for SwatchColorEnum.SILVER declared at extension yacceleratorcore.
|
static String |
SIMPLE_CLASSNAME
Generated simple class name constant.
|
static SwatchColorEnum |
WHITE
Generated enum value for SwatchColorEnum.WHITE declared at extension yacceleratorcore.
|
static SwatchColorEnum |
YELLOW
Generated enum value for SwatchColorEnum.YELLOW declared at extension yacceleratorcore.
|
| 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
SwatchColorEnum. |
String |
toString()
Returns the code representing this enum value.
|
static SwatchColorEnum |
valueOf(String code)
Returns a SwatchColorEnum instance representing the specified enum value.
|
public static final String _TYPECODE
public static final String SIMPLE_CLASSNAME
public static final SwatchColorEnum BLACK
public static final SwatchColorEnum BLUE
public static final SwatchColorEnum BROWN
public static final SwatchColorEnum GREEN
public static final SwatchColorEnum GREY
public static final SwatchColorEnum ORANGE
public static final SwatchColorEnum PINK
public static final SwatchColorEnum PURPLE
public static final SwatchColorEnum RED
public static final SwatchColorEnum SILVER
public static final SwatchColorEnum WHITE
public static final SwatchColorEnum YELLOW
public boolean equals(Object obj)
true
if and only if the argument is not null and is an SwatchColorEnum
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()
SwatchColorEnum.public String toString()
public static SwatchColorEnum valueOf(String code)
code - an enum valueCopyright © 2017 SAP SE. All Rights Reserved.