|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EDISegmentDetails
Contains information about the current segment. Many of the methods in "com.ddtek.xmlconverter.adapter.edi.EDIConverterListener" are notifications of a segment being processed. An EDISegmentDetails object is passed as a parameter to identify which segment is being processed.
Method Summary | |
---|---|
String |
getCodeListVersion()
If there is a version of the codelists that is in context for the current segment, this returns that version. |
String |
getContentData(int element)
Fetch a specific value from the segment currently being processed. |
String |
getContentData(int composite,
int element)
Fetch a specific value from the segment currently being processed. |
String |
getContentData(int composite,
int subcomposite,
int element)
Fetch a specific value from the segment currently being processed. |
String |
getContentData(int composite,
int subcomposite,
int element,
int repeat)
Fetch a specific value from the segment currently being processed. |
String |
getControllingAgency()
This is the controlling agency. |
String |
getDialect()
The major EDI dialect |
String |
getHeaderVersion()
If the header has the potential to be versioned differently than the payload, as for example EDIFACT and X12 allow, then this returns the version of the header. |
String |
getMessageRelease()
This is the release of the current message or transaction set. |
String |
getMessageVersion()
This is the version of the current message or transaction set. |
String |
getSegment()
Name of current segment. |
int |
getSegmentNumber()
The segment number of the current segment |
String |
getSyntaxLevel()
For EDI dialects such as EDIFACT which have different levels of syntax support, the major version, such as 1, 2, 3 or 4, are returned by this method. |
String |
getSyntaxRelease()
For EDI dialects such as EDIFACT which have different levels of syntax support, the minor version if specified. |
String |
getSystemVersion()
If there is a version of the codelists that is in context for the most recently seen header segment. |
String |
getTransactionSet()
Message name/Transaction set number, unless outside of a message, in which case null. |
Method Detail |
---|
String getSegment()
int getSegmentNumber()
String getTransactionSet()
String getDialect()
String getContentData(int element)
element
- The element sequence number, one-based.
String getContentData(int composite, int element)
composite
- The composite element sequence number, one-based.element
- The element number within the above composite.
String getContentData(int composite, int subcomposite, int element)
composite
- The composite element sequence number, one-based.subcomposite
- The sub-composite element sequence number within the
above composite.element
- The element number within the above sub-composite.
String getContentData(int composite, int subcomposite, int element, int repeat)
composite
- The top level sequence number, one-based.subcomposite
- The second level sequence number, or 0 if not needed.element
- The third level sequence number, or 0 if not needed.repeat
- The repetition number of the top level element, one-based.
String getSyntaxLevel()
String getSyntaxRelease()
String getMessageVersion()
getMessageRelease()
String getMessageRelease()
getMessageVersion()
String getCodeListVersion()
String getSystemVersion()
String getHeaderVersion()
String getControllingAgency()
For X12, this is the full version number as specified in GS08, since the getMessageRelease() is set to the normalized six-digit version number. This way, user applications can query this field to get any 'X' suffix or extended version numbering for local dialects like HIPAA.
For EDIFACT, this comes from the UNH0204 or UIH0105 elements.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |