|
Open Business Objects for EDI v3.6.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
interface for DataElement Container
OBOE - Open Business Objects for EDI
Part of the OBOE Basic Extended Package
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
| Method Summary | |
java.lang.Object |
buildDE(int pos)
defines a dataelement by the predefined templateDE array |
java.lang.Object |
buildDE(java.lang.String ID)
defines a dataelement by the predefined templateDE array |
com.americancoders.edi.DataElement |
getDataElement(int inSequence)
returns a DataElement in the Container |
com.americancoders.edi.DataElement |
getDataElement(java.lang.String ID)
returns a DataElement 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. |
int |
getDataElementSize()
returns the number of defined data element |
java.lang.String |
getDataElementValue(int pos)
returns the value set in the data element if the data element is not built it will return a zero-length string. |
java.lang.String |
getDataElementValue(java.lang.String ID)
returns the value set in the data element if the data element is not built it will return a zero-length string. |
com.americancoders.edi.DataElement |
setDataElementValue(int pos,
java.lang.String inValue)
sets the value set in the data element without needing to build the data element object if the data element is not built it will be built. |
com.americancoders.edi.DataElement |
setDataElementValue(java.lang.String ID,
java.lang.String inValue)
returns the value set in the data element if the data element is not built it will return a zero-length string. |
| Method Detail |
public com.americancoders.edi.DataElement getDataElement(java.lang.String ID)
throws OBOEException
ID - String ID of datalement to look for
OBOEException - ID is unknown
public com.americancoders.edi.DataElement getDataElement(int inSequence)
throws OBOEException
inSequence - int sequence position of dataelement
OBOEException - ID is unknownpublic int getDataElementSize()
public java.lang.Object buildDE(int pos)
pos - field to build is identified by its templates position
public java.lang.Object buildDE(java.lang.String ID)
ID - field to build is identified by its templates id value
public java.lang.String getDataElementValue(java.lang.String ID)
throws OBOEException
ID - String ID of datalement to look for
OBOEException - ID is unknown, or position is for a composite de
public java.lang.String getDataElementValue(int pos)
throws OBOEException
pos - int position within the segement
OBOEException - ID is unknown
public com.americancoders.edi.DataElement setDataElementValue(java.lang.String ID,
java.lang.String inValue)
throws OBOEException
ID - String ID of datalement to look for
OBOEException - ID is unknown, or position is for a composite de
public com.americancoders.edi.DataElement setDataElementValue(int pos,
java.lang.String inValue)
throws OBOEException
pos - int position within the segement
OBOEException - ID is unknown
|
Open Business Objects for EDI v3.6.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||