Class ProductConfigMessageImpl
- java.lang.Object
-
- de.hybris.platform.sap.productconfig.runtime.interf.model.impl.ProductConfigMessageImpl
-
- All Implemented Interfaces:
ProductConfigMessage
- Direct Known Subclasses:
ProductConfigMessageImplTest.DummyProductConfigMessageImpl
public class ProductConfigMessageImpl extends java.lang.Object implements ProductConfigMessage
A Message class implementation for CPQ
This class is immutable.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.util.DategetEndDate()java.lang.StringgetExtendedMessage()java.lang.StringgetKey()java.lang.StringgetMessage()ProductConfigMessagePromoTypegetPromoType()ProductConfigMessageSeveritygetSeverity()ProductConfigMessageSourcegetSource()ProductConfigMessageSourceSubTypegetSourceSubType()ProductConfigMessageSourceSubTypegetSubType()inthashCode()
-
-
-
Method Detail
-
getKey
public java.lang.String getKey()
- Specified by:
getKeyin interfaceProductConfigMessage- Returns:
- the key of this message, which is unique for a given message source
-
getMessage
public java.lang.String getMessage()
- Specified by:
getMessagein interfaceProductConfigMessage- Returns:
- localized message
-
getSource
public ProductConfigMessageSource getSource()
- Specified by:
getSourcein interfaceProductConfigMessage- Returns:
- source of the message
-
getSeverity
public ProductConfigMessageSeverity getSeverity()
- Specified by:
getSeverityin interfaceProductConfigMessage- Returns:
- severity of the message
-
getSourceSubType
public ProductConfigMessageSourceSubType getSourceSubType()
- Specified by:
getSourceSubTypein interfaceProductConfigMessage- Returns:
- sub type of the message source
-
getExtendedMessage
public java.lang.String getExtendedMessage()
- Specified by:
getExtendedMessagein interfaceProductConfigMessage- Returns:
- localized extended message
-
getEndDate
public java.util.Date getEndDate()
- Specified by:
getEndDatein interfaceProductConfigMessage- Returns:
- endDate of the message
-
getPromoType
public ProductConfigMessagePromoType getPromoType()
- Specified by:
getPromoTypein interfaceProductConfigMessage- Returns:
- message type for promotion( is it oppotunity or applied promotion)
-
getSubType
public ProductConfigMessageSourceSubType getSubType()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-