Class IntervalInDomainHelperImpl
java.lang.Object
de.hybris.platform.sap.productconfig.facades.impl.IntervalInDomainHelperImpl
- All Implemented Interfaces:
IntervalInDomainHelper
Default implementation of the
IntervalInDomainHelper.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappendToIntervalMask(StringBuilder intervalBuffer, CsticValueModel valueModel) formatNumericInterval(String interval) Converts an interval of characteristic domain into an external format.protected ValueFormatTranslatorretrieveErrorMessage(String value, String interval) Retrieves error message.retrieveIntervalMask(CsticModel cstic) Retrieves concatenated string of intervals in characteristic domain.voidsetValueFormatTranslator(ValueFormatTranslator valueFormatTranslator)
-
Field Details
-
INTERVAL_FROM_GROUP
public static final int INTERVAL_FROM_GROUP- See Also:
-
INTERVAL_TO_GROUP
public static final int INTERVAL_TO_GROUP- See Also:
-
-
Constructor Details
-
IntervalInDomainHelperImpl
public IntervalInDomainHelperImpl()
-
-
Method Details
-
retrieveIntervalMask
Description copied from interface:IntervalInDomainHelperRetrieves concatenated string of intervals in characteristic domain.- Specified by:
retrieveIntervalMaskin interfaceIntervalInDomainHelper- Parameters:
cstic- characteristic model- Returns:
- concatenated string of intervals in characteristic domain
-
appendToIntervalMask
-
formatNumericInterval
Description copied from interface:IntervalInDomainHelperConverts an interval of characteristic domain into an external format.- Specified by:
formatNumericIntervalin interfaceIntervalInDomainHelper- Parameters:
interval- interval in internal format- Returns:
- interval in external format
-
retrieveErrorMessage
Description copied from interface:IntervalInDomainHelperRetrieves error message.- Specified by:
retrieveErrorMessagein interfaceIntervalInDomainHelper- Parameters:
value- characteristic value in external formatinterval- interval in external format- Returns:
- error message
-
getValueFormatTranslator
-
setValueFormatTranslator
- Parameters:
valueFormatTranslator-
-