public interface ServiceMapper
MappingResult
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Modifier and Type | Method and Description |
---|---|
MappingResult |
convert(java.lang.String name,
java.util.Map properties)
Converts the given properties to a service request.
|
ServiceMappingConfiguration |
getMappingConfiguration() |
void |
setServiceMappingConfiguration(ServiceMappingConfiguration config)
Sets the configuration used for mapping
|
static final java.lang.String COPYRIGHT
void setServiceMappingConfiguration(ServiceMappingConfiguration config)
config
- the configuration to be used.ServiceMappingConfiguration getMappingConfiguration()
MappingResult convert(java.lang.String name, java.util.Map properties) throws ServiceMappingException
MappingResult
object.name
- The name that can be used to identify the rules used for mappingproperties
- the set of properties to be convertedMappingResult
that stores the converted service request.ServiceMappingException
- thrown when any fatal problems happened during conversion