Class OppsPromoResultStatus
- java.lang.Object
-
- com.sap.retail.sapppspricing.enums.OppsPromoResultStatus
-
- All Implemented Interfaces:
de.hybris.platform.core.HybrisEnumValue,java.io.Serializable
public class OppsPromoResultStatus extends java.lang.Object implements de.hybris.platform.core.HybrisEnumValueGenerated enum OppsPromoResultStatus declared at extension sapppspricing.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TYPECODEGenerated model type code constant.static OppsPromoResultStatusAPPLIEDGenerated enum value for OppsPromoResultStatus.APPLIED declared at extension sapppspricing.static OppsPromoResultStatusPOTENTIALGenerated enum value for OppsPromoResultStatus.POTENTIAL declared at extension sapppspricing.static java.lang.StringSIMPLE_CLASSNAMEGenerated simple class name constant.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Compares this object to the specified object.java.lang.StringgetCode()Gets the code of this enum value.java.lang.StringgetType()Gets the type this enum value belongs to.inthashCode()Returns a hash code for thisOppsPromoResultStatus.java.lang.StringtoString()Returns the code representing this enum value.static OppsPromoResultStatusvalueOf(java.lang.String code)Returns a OppsPromoResultStatus instance representing the specified enum value.
-
-
-
Field Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
SIMPLE_CLASSNAME
public static final java.lang.String SIMPLE_CLASSNAME
Generated simple class name constant.- See Also:
- Constant Field Values
-
APPLIED
public static final OppsPromoResultStatus APPLIED
Generated enum value for OppsPromoResultStatus.APPLIED declared at extension sapppspricing.
-
POTENTIAL
public static final OppsPromoResultStatus POTENTIAL
Generated enum value for OppsPromoResultStatus.POTENTIAL declared at extension sapppspricing.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
Compares this object to the specified object. The result istrueif and only if the argument is notnulland is anOppsPromoResultStatusobject that contains the enum valuecodeas this object.- Overrides:
equalsin classjava.lang.Object- Parameters:
obj- the object to compare with.- Returns:
trueif the objects are the same;falseotherwise.
-
getCode
public java.lang.String getCode()
Gets the code of this enum value.- Specified by:
getCodein interfacede.hybris.platform.core.HybrisEnumValue- Returns:
- code of value
-
getType
public java.lang.String getType()
Gets the type this enum value belongs to.- Specified by:
getTypein interfacede.hybris.platform.core.HybrisEnumValue- Returns:
- code of type
-
hashCode
public int hashCode()
Returns a hash code for thisOppsPromoResultStatus.- Overrides:
hashCodein classjava.lang.Object- Returns:
- a hash code value for this object, equal to the enum value
coderepresented by thisOppsPromoResultStatusobject.
-
toString
public java.lang.String toString()
Returns the code representing this enum value.- Overrides:
toStringin classjava.lang.Object- Returns:
- a string representation of the value of this object.
-
valueOf
public static OppsPromoResultStatus valueOf(java.lang.String code)
Returns a OppsPromoResultStatus instance representing the specified enum value.- Parameters:
code- an enum value- Returns:
- a OppsPromoResultStatus instance representing value.
-
-