|
Open Business Objects for EDI v3.5.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.americancoders.edi.SegmentContainer
com.americancoders.edi.LoopAndSegmentContainer
com.americancoders.edi.Table
class for Tables a general class for the transaction set's heading detail and summary.
OBOE - Open Business Objects for EDI
Part of the OBOE Basic Extended Package
An EDI and XML Translator Written In Java
Copyright 1998-2007 - 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
| Field Summary | |
protected IContainedObject |
parent
|
protected java.lang.String |
xmlTag
String XML tag |
| Fields inherited from class com.americancoders.edi.SegmentContainer |
container, dupSegment, myTemplateContainer |
| Constructor Summary | |
Table(TemplateTable inTemplateTable,
IContainedObject inParent)
constructor |
|
| Method Summary | |
char |
getDelimiter(char inOriginal)
returns the new delimiter based on the old delimiter |
java.lang.String |
getFormattedText(int formatType)
returns a preformatted string |
java.lang.String |
getID()
returns the table id, since there are no table ids method returns a zero-length string |
IContainedObject |
getParent()
gets parent attribute |
TemplateSegmentContainer |
getTemplateSegmentContainer()
return the Template |
TemplateTable |
getTemplateTable()
return the tables template |
java.lang.String |
getXMLTag()
returns the xml tag field |
void |
setParent(IContainedObject inParent)
sets parent attribute |
void |
setXMLTag(java.lang.String inXMLTag)
sets the xml tag field |
void |
useDefault()
sets the default value for the data elements part of Extended Edition package will create mandatory subsegments. |
boolean |
validate(DocumentErrors inDErr)
validates if the container is defined correctly doesn't throw exception, places error messages in DocumentErrors object |
void |
writeFormattedText(java.io.Writer inWriter,
int formatType)
writes a preformatted string |
| Methods inherited from class com.americancoders.edi.LoopAndSegmentContainer |
addLoop, addLoopToVector, continueParse, createLoop, defineContainer, doYouWantThisNode, doYouWantThisSegment, getContainerSize, getCount, getCount, getLoop, getLoop, getLoop, getLoop, getLoopAndSegmentCount, getLoopByDataElementValue, getLoopCount, getLoopCount, getSegmentCount, getSegmentCount, getTemplateLoopContainer, getVector, isLoop, isLoop, isNull, isVector, parse, parse, parse, removeLoop, removeLoop, removeLoop, removeLoop, setLoopAt, setLoopAt, setTemplateLoopContainer, trim, validate, whyNotUsed |
| Methods inherited from class com.americancoders.edi.SegmentContainer |
addSegment, addSegment, addSegment, addSegmentToVector, createSegment, createSegment, equivalentSegments, getSegment, getSegment, getSegment, getSegment, getSegment, getSegment, getSegmentByDataElementValue, getSegmentCount, isSegment, isSegment, removeSegment, removeSegment, removeSegment, removeSegment, resetToFirstEquivalentSegment, setSegmentAt, setSegmentAt |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String xmlTag
protected IContainedObject parent
| Constructor Detail |
public Table(TemplateTable inTemplateTable,
IContainedObject inParent)
inTemplateTable - inParent - owning Object| Method Detail |
public TemplateTable getTemplateTable()
public java.lang.String getFormattedText(int formatType)
formatType - int - x12, edifact...
public void writeFormattedText(java.io.Writer inWriter,
int formatType)
throws java.io.IOException
inWriter - writer objectformatType - int - x12, edifact...
java.io.IOExceptionpublic java.lang.String getID()
getID in interface IIdentifiergetID in class SegmentContainerpublic void setXMLTag(java.lang.String inXMLTag)
inXMLTag - String tagpublic java.lang.String getXMLTag()
getXMLTag in interface IIdentifierpublic TemplateSegmentContainer getTemplateSegmentContainer()
getTemplateSegmentContainer in interface ISegmentContainerpublic void useDefault()
public boolean validate(DocumentErrors inDErr)
LoopAndSegmentContainer
validate in class LoopAndSegmentContainerpublic void setParent(IContainedObject inParent)
setParent in interface IContainedObjectinParent - TemplateSegmentContainerpublic IContainedObject getParent()
getParent in interface IContainedObjectpublic char getDelimiter(char inOriginal)
IContainedObject
getDelimiter in interface IContainedObjectinOriginal -
|
Open Business Objects for EDI v3.5.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||