com.americancoders.edi.x12
Class Envelope
java.lang.Object
|
+--com.americancoders.edi.x12.Envelope
- public class Envelope
- extends java.lang.Object
class for wrapping an EDI transaction set within an EDI Envelope
can handle only on transaction set
look here to see how to build an EDI Object
Constructor Summary |
Envelope()
instantiates the class from all related ediObjects class |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Envelope
public Envelope()
throws java.lang.Exception
- instantiates the class from all related ediObjects class
- Throws:
- java.lang.Exception - - can occur when a segment or dataelement class is not correct or fully populated
getOutputTransactionSet
public java.lang.String getOutputTransactionSet(TransactionSet inputTransactionSet)
throws java.lang.Exception
- returns the EDI (x12) formatted document in a String
- Returns:
- String the formatted document
getInterchange_Control_Header
public Segment getInterchange_Control_Header()
- returns the Interchange Control Header build for the envelope
- Returns:
- Segment
getFunctional_Group_Header
public Segment getFunctional_Group_Header()
- returns the Functional Group Header build for the envelope
- Returns:
- Segment
getFunctional_Group_Trailer
public Segment getFunctional_Group_Trailer()
- returns the Functional Group Trailer build for the envelope
- Returns:
- Segment
getInterchange_Control_Trailer
public Segment getInterchange_Control_Trailer()
- returns the Interchange Control Trailer build for the envelope
- Returns:
- Segment