public class SourceRuleParameterValueMapper extends Object implements RuleParameterValueMapper<AbstractRuleModel>
| Constructor and Description |
|---|
SourceRuleParameterValueMapper() |
| Modifier and Type | Method and Description |
|---|---|
AbstractRuleModel |
fromString(String code)
Maps the String representation to the specific object.
|
protected RuleService |
getRuleService() |
void |
setRuleService(RuleService ruleService) |
String |
toString(AbstractRuleModel sourceRule)
Maps the object to its String representation.
|
public AbstractRuleModel fromString(String code) throws RuleParameterValueMapperException
RuleParameterValueMapperfromString in interface RuleParameterValueMapper<AbstractRuleModel>code - - String representationRuleParameterValueMapperExceptionpublic String toString(AbstractRuleModel sourceRule) throws RuleParameterValueMapperException
RuleParameterValueMappertoString in interface RuleParameterValueMapper<AbstractRuleModel>sourceRule - - object to mapRuleParameterValueMapperExceptionprotected RuleService getRuleService()
public void setRuleService(RuleService ruleService)
Copyright © 2017 SAP SE. All Rights Reserved.