public class ServiceImpl extends com.mulesoft.connectors.commons.template.service.DefaultConnectorService<X12Config,com.mulesoft.connectors.commons.template.connection.ConnectorConnection> implements Service
| Constructor and Description |
|---|
ServiceImpl(X12Config config,
com.mulesoft.connectors.commons.template.connection.ConnectorConnection connection) |
| Modifier and Type | Method and Description |
|---|---|
static Object |
getOrDefault(Map<String,Object> map,
String key,
Object dflt) |
String |
incrementString(String value,
int maxlen)
Increment a string value.
|
String |
incrementTxSetControlNum(String value) |
Map<String,Object> |
read(InputStream readContent) |
String |
selectString(String storeValue,
String initialValue)
Select the String value with the larger trailing digit.
|
InputStream |
write(Map<String,Object> writeContent) |
public ServiceImpl(X12Config config, com.mulesoft.connectors.commons.template.connection.ConnectorConnection connection)
public Map<String,Object> read(InputStream readContent)
public String incrementString(String value, int maxlen)
value - the string valuemaxlen - the maximum length of the incremented stringpublic String selectString(String storeValue, String initialValue)
storeValue - the string value stored in an object storeinitialValue - the starting control valueCopyright © 2020 MuleSoft, Inc.. All rights reserved.