Open Business Objects for EDI
v3.6.0

com.americancoders.edi
Interface ITemplateSegmentContainer

All Known Implementing Classes:
TemplateSegmentContainer

public interface ITemplateSegmentContainer

interface for Segment Container
used by tables and segments

OBOE - Open Business Objects for EDI
An EDI and XML Translator Written In Java
Copyright 1998-2009 - American Coders, LTD - Raleigh NC USA
All rights reserved
American Coders, Ltd
P. O. Box 97462
Raleigh, NC 27624 USA
1-919-846-2014
http://www.americancoders.com

Version:
3.6.0
Author:
Joe McVerry - American Coders, Ltd.

Method Summary
 void addTemplateSegment(com.americancoders.edi.TemplateSegment templateSegmentObject)
          sets a Segment may be used to add a new Segment may be used to change an existing Segment may be used to remove an Segment, this is done by passing a null object
 int getCount()
          implemented for interface
 com.americancoders.edi.TemplateSegment getTemplateSegment(int pos)
          returns a Segment
 com.americancoders.edi.TemplateSegment getTemplateSegment(java.lang.String ID)
          returns a Segment
 

Method Detail

getTemplateSegment

public com.americancoders.edi.TemplateSegment getTemplateSegment(java.lang.String ID)
                                                          throws OBOEException
returns a Segment

Parameters:
ID - String ID of TemplateSegment to look for
Returns:
Segment objects - null indicates segment not set
Throws:
OBOEException - ID is unknown to this Segment

getTemplateSegment

public com.americancoders.edi.TemplateSegment getTemplateSegment(int pos)
                                                          throws OBOEException
returns a Segment

Parameters:
pos - int pos TemplateSegment to look for
Returns:
Segment objects - null indicates segment not set
Throws:
OBOEException - ID is unknown to this Segment

addTemplateSegment

public void addTemplateSegment(com.americancoders.edi.TemplateSegment templateSegmentObject)
                        throws OBOEException
sets a Segment

Parameters:
templateSegmentObject - TemplateSegment to be added
Throws:
OBOEException - Segment is unknown

getCount

public int getCount()
implemented for interface

Returns:
int

Open Business Objects for EDI
v3.6.0


OBOE is a trademark or registered trademark of American Coders, Ltd. in the US and other countries.
Copyright 1999-2004 American Coders, Ltd.
POB 97462
Raleigh NC 27624 USA
All Rights Reserved.