org.aludratest.service.edifactfile.edifatto
Class EdifattoFileService

java.lang.Object
  extended by org.aludratest.service.AbstractAludraService
      extended by org.aludratest.service.edifactfile.edifatto.EdifattoFileService
All Implemented Interfaces:
Closeable, AludraCloseable, AludraService, EdifactFileService

public class EdifattoFileService
extends AbstractAludraService
implements EdifactFileService

Default implementation of the EdifactService which employs Edifatto for EDIFACR/X12 processing.

Author:
Volker Bergmann

Field Summary
 
Fields inherited from class org.aludratest.service.AbstractAludraService
aludraServiceContext
 
Constructor Summary
EdifattoFileService()
           
 
Method Summary
 EdifactFileCondition check()
          Provides an object for performing queries on EDIFACT or X12 interchanges and analyze their differences.
 void close()
          Closes the service
 String getDescription()
          Provides a description of the service
 FileService getFileService()
          Provides the internally used FileService instance
 void initService()
          Initializes the service
 EdifactFileInteraction perform()
          Provides an object to parses and save EDIFACT and X12 documents from and to streams.
 EdifactFileVerification verify()
          Provides an object to verify EDIFACT or X12 documents.
 
Methods inherited from class org.aludratest.service.AbstractAludraService
getInstanceName, init, setSystemConnector, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.aludratest.service.AludraService
getInstanceName, init, setSystemConnector
 

Constructor Detail

EdifattoFileService

public EdifattoFileService()
Method Detail

initService

public void initService()
Initializes the service

Specified by:
initService in class AbstractAludraService

getDescription

public String getDescription()
Provides a description of the service

Specified by:
getDescription in interface AludraService
Returns:
a textual description of the most important configuration information

perform

public EdifactFileInteraction perform()
Provides an object to parses and save EDIFACT and X12 documents from and to streams.

Specified by:
perform in interface AludraService
Specified by:
perform in interface EdifactFileService
Returns:
the service's Interaction object

verify

public EdifactFileVerification verify()
Provides an object to verify EDIFACT or X12 documents.

Specified by:
verify in interface AludraService
Specified by:
verify in interface EdifactFileService
Returns:
the service's Verification object

check

public EdifactFileCondition check()
Provides an object for performing queries on EDIFACT or X12 interchanges and analyze their differences.

Specified by:
check in interface AludraService
Specified by:
check in interface EdifactFileService
Returns:
the service's Condition object

getFileService

public FileService getFileService()
Description copied from interface: EdifactFileService
Provides the internally used FileService instance

Specified by:
getFileService in interface EdifactFileService
Returns:
the internally used FileService instance

close

public void close()
Closes the service

Specified by:
close in interface Closeable
Specified by:
close in interface AludraCloseable


Copyright © 2015 aludratest.org. All rights reserved.