public class DynamicEnumRuleParameterValueMapper extends Object implements RuleParameterValueMapper<EnumerationValueModel>
| Constructor and Description |
|---|
DynamicEnumRuleParameterValueMapper(String enumerationCode) |
| Modifier and Type | Method and Description |
|---|---|
EnumerationValueModel |
fromString(String code)
Maps the String representation to the specific object.
|
protected TypeService |
getTypeService() |
void |
setTypeService(TypeService typeService) |
String |
toString(EnumerationValueModel value)
Maps the object to its String representation.
|
public DynamicEnumRuleParameterValueMapper(String enumerationCode)
public String toString(EnumerationValueModel value) throws RuleParameterValueMapperException
RuleParameterValueMappertoString in interface RuleParameterValueMapper<EnumerationValueModel>value - - object to mapRuleParameterValueMapperExceptionpublic EnumerationValueModel fromString(String code) throws RuleParameterValueMapperException
RuleParameterValueMapperfromString in interface RuleParameterValueMapper<EnumerationValueModel>code - - String representationRuleParameterValueMapperExceptionprotected TypeService getTypeService()
public void setTypeService(TypeService typeService)
Copyright © 2017 SAP SE. All Rights Reserved.