com.americancoders.edi
Interface ICompositeDEContainer

All Known Implementing Classes:
Segment

public interface ICompositeDEContainer

interface for CompositeDE Container

OBOE - Open Business Objects for EDI
An EDI and XML Translator Written In Java
Copyright 1998-2000 - 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:
1.4.1
Author:
Joe McVerry, American Coders Ltd.

Method Summary
 void addCompositeDE(CompositeDE compositeDEObject)
          sets a CompositeDE in the Container
 java.lang.String get()
          returns all the data associated in a String format
 CompositeDE getCompositeDE(int inSequence)
          returns a CompositeDE from the Container
 CompositeDE getCompositeDE(java.lang.String ID)
          returns a CompositeDE from in the Container
since more than one dataelement with the same id can be in the container this is not a very effective method for fetching unique datalements.
 

Method Detail

getCompositeDE

public CompositeDE getCompositeDE(java.lang.String ID)
                           throws java.lang.Exception
returns a CompositeDE from in the Container
since more than one dataelement with the same id can be in the container this is not a very effective method for fetching unique datalements.
Parameters:
String - id of the CompositeDE
Returns:
CompositeDE object
Throws:
java.lang.Exception - ID is unknown

addCompositeDE

public void addCompositeDE(CompositeDE compositeDEObject)
                    throws java.lang.Exception
sets a CompositeDE in the Container
Parameters:
String - id of the DataElement
Returns:
CompositeDE composite de object
Throws:
java.lang.Exception - ID is unknown

getCompositeDE

public CompositeDE getCompositeDE(int inSequence)
                           throws java.lang.Exception
returns a CompositeDE from the Container
Parameters:
int - sequence # of the compositeDE
Returns:
CompositeDE composite de object
Throws:
java.lang.Exception - ID is unknown

get

public java.lang.String get()
                     throws java.lang.Exception
returns all the data associated in a String format
Returns:
String for all Dataelements
Throws:
java.lang.Exception - thrown when data is missing from a data element