Class SwatchColorEnum
java.lang.Object
de.hybris.platform.yacceleratorcore.enums.SwatchColorEnum
- All Implemented Interfaces:
HybrisEnumValue,Serializable
Generated enum SwatchColorEnum declared at extension yacceleratorcore.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final SwatchColorEnumGenerated enum value for SwatchColorEnum.BLACK declared at extension yacceleratorcore.static final SwatchColorEnumGenerated enum value for SwatchColorEnum.BLUE declared at extension yacceleratorcore.static final SwatchColorEnumGenerated enum value for SwatchColorEnum.BROWN declared at extension yacceleratorcore.static final SwatchColorEnumGenerated enum value for SwatchColorEnum.GREEN declared at extension yacceleratorcore.static final SwatchColorEnumGenerated enum value for SwatchColorEnum.GREY declared at extension yacceleratorcore.static final SwatchColorEnumGenerated enum value for SwatchColorEnum.ORANGE declared at extension yacceleratorcore.static final SwatchColorEnumGenerated enum value for SwatchColorEnum.PINK declared at extension yacceleratorcore.static final SwatchColorEnumGenerated enum value for SwatchColorEnum.PURPLE declared at extension yacceleratorcore.static final SwatchColorEnumGenerated enum value for SwatchColorEnum.RED declared at extension yacceleratorcore.static final SwatchColorEnumGenerated enum value for SwatchColorEnum.SILVER declared at extension yacceleratorcore.static final StringGenerated simple class name constant.static final SwatchColorEnumGenerated enum value for SwatchColorEnum.WHITE declared at extension yacceleratorcore.static final SwatchColorEnumGenerated enum value for SwatchColorEnum.YELLOW declared at extension yacceleratorcore. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompares this object to the specified object.getCode()Gets the code of this enum value.getType()Gets the type this enum value belongs to.inthashCode()Returns a hash code for thisSwatchColorEnum.toString()Returns the code representing this enum value.static SwatchColorEnumReturns a SwatchColorEnum instance representing the specified enum value.
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
SIMPLE_CLASSNAME
Generated simple class name constant.- See Also:
-
BLACK
Generated enum value for SwatchColorEnum.BLACK declared at extension yacceleratorcore. -
BLUE
Generated enum value for SwatchColorEnum.BLUE declared at extension yacceleratorcore. -
BROWN
Generated enum value for SwatchColorEnum.BROWN declared at extension yacceleratorcore. -
GREEN
Generated enum value for SwatchColorEnum.GREEN declared at extension yacceleratorcore. -
GREY
Generated enum value for SwatchColorEnum.GREY declared at extension yacceleratorcore. -
ORANGE
Generated enum value for SwatchColorEnum.ORANGE declared at extension yacceleratorcore. -
PINK
Generated enum value for SwatchColorEnum.PINK declared at extension yacceleratorcore. -
PURPLE
Generated enum value for SwatchColorEnum.PURPLE declared at extension yacceleratorcore. -
RED
Generated enum value for SwatchColorEnum.RED declared at extension yacceleratorcore. -
SILVER
Generated enum value for SwatchColorEnum.SILVER declared at extension yacceleratorcore. -
WHITE
Generated enum value for SwatchColorEnum.WHITE declared at extension yacceleratorcore. -
YELLOW
Generated enum value for SwatchColorEnum.YELLOW declared at extension yacceleratorcore.
-
-
Method Details
-
equals
Compares this object to the specified object. The result istrueif and only if the argument is notnulland is anSwatchColorEnumobject that contains the enum valuecodeas this object. -
getCode
Gets the code of this enum value.- Specified by:
getCodein interfaceHybrisEnumValue- Returns:
- code of value
-
getType
Gets the type this enum value belongs to.- Specified by:
getTypein interfaceHybrisEnumValue- Returns:
- code of type
-
hashCode
public int hashCode()Returns a hash code for thisSwatchColorEnum. -
toString
Returns the code representing this enum value. -
valueOf
Returns a SwatchColorEnum instance representing the specified enum value.- Parameters:
code- an enum value- Returns:
- a SwatchColorEnum instance representing value.
-