Class BaseEDIOutboundGenerator

java.lang.Object
com.onenetwork.platform.integ.edi.BaseEDIOutboundGenerator
All Implemented Interfaces:
ModelOutboundGenerator
Direct Known Subclasses:
BaseNetChangeEDIOutboundGenerator

public abstract class BaseEDIOutboundGenerator
extends java.lang.Object
implements ModelOutboundGenerator
Base class for Outbound Interfaces which generate EDI.

By default, this supports only Model-based outbound generation. If this is all that's required, the only thing the subclass needs to do is to provide a no-args constructor which internally provides all params to this class' constructor, and implement the derivePartners(ModelOutboundProcessingContext) to identify the Partner to be used for EDIOutboundRouting of each transaction set.

If the caller wants to support NetChange-based outbound, they should extend BaseNetChangeEDIOutboundGenerator

  • Field Details

  • Constructor Details

    • BaseEDIOutboundGenerator

      protected BaseEDIOutboundGenerator​(com.onenetwork.platform.data.model.impl.ModelType modelType, java.lang.String ediTransactionSetNo, java.lang.String ediFormat)
      Construct BaseEDIOutboundGenerator generator for the specified model type

      Ex. If you want to generate EDI file for order then, model type will be Order, transactionSet number will be 850and EDI format will be X-12.

      Parameters:
      modelType - model type for which edi needs to be generated
      ediTransactionSetNo - transaction set number for the model type
  • Method Details