@ConnectionProviders(value=Provider.class) @Operations(value=X12Operations.class) @Configuration(name="config") public class X12Config extends Object implements com.mulesoft.connectors.commons.template.config.ConnectorConfig, org.mule.runtime.api.lifecycle.Initialisable
| Modifier and Type | Field and Description |
|---|---|
static String |
FAILED_TRYING_TO |
| Constructor and Description |
|---|
X12Config() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cacheIdentifier(String ident)
Cache identifier to catch duplicate usage.
|
com.mulesoft.flatfile.schema.x12.X12AckSchema |
getAcknowledgmentSchema() |
DocumentParams |
getDocumentParams() |
IdentityParams |
getIdentityParams() |
Integer |
getNextInteger(String key,
int initial)
Increment integer value in object store.
|
String |
getNextString(String key,
String initial,
IncrementStringOp incrementStringOp)
Increment string value in object store.
|
ParserParams |
getParserParams() |
com.mulesoft.connectors.x12pre.extension.internal.schemas.SchemaSet |
getSchemaSet() |
com.mulesoft.flatfile.schema.model.Structure |
getStructureSchema(String version,
String verpath,
String setId)
Get structure schema for transaction set.
|
Map<String,Map<String,com.mulesoft.flatfile.schema.model.Structure>> |
getVersionStructures() |
WriterParams |
getWriterParams() |
void |
initialise() |
void |
setDocumentParams(DocumentParams documentParams) |
void |
setIdentityParams(IdentityParams identityParams) |
void |
setParserParams(ParserParams parserParams) |
void |
setWriterParams(WriterParams writerParams) |
public static final String FAILED_TRYING_TO
public IdentityParams getIdentityParams()
public void setIdentityParams(IdentityParams identityParams)
public DocumentParams getDocumentParams()
public void setDocumentParams(DocumentParams documentParams)
public WriterParams getWriterParams()
public void setWriterParams(WriterParams writerParams)
public ParserParams getParserParams()
public void setParserParams(ParserParams parserParams)
public void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionpublic Map<String,Map<String,com.mulesoft.flatfile.schema.model.Structure>> getVersionStructures()
public com.mulesoft.flatfile.schema.model.Structure getStructureSchema(String version, String verpath, String setId)
version - version number key, as used in mapverpath - version path stringsetId - public boolean cacheIdentifier(String ident)
ident - true if new, false if previously cachedpublic Integer getNextInteger(String key, int initial)
key - public String getNextString(String key, String initial, IncrementStringOp incrementStringOp)
key - object store keyinitial - initial value of stringincrementStringOp - method to increment stringpublic com.mulesoft.flatfile.schema.x12.X12AckSchema getAcknowledgmentSchema()
public com.mulesoft.connectors.x12pre.extension.internal.schemas.SchemaSet getSchemaSet()
Copyright © 2020 MuleSoft, Inc.. All rights reserved.