|
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.DataElement
com.americancoders.edi.BinaryDE
class for all Data Elements defined as character and alphanumeric
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 |
| Fields inherited from class com.americancoders.edi.DataElement |
parent |
| Constructor Summary | |
BinaryDE(TemplateDE inTDE,
IContainedObject inParent)
constructs from its template |
|
| Method Summary | |
java.lang.String |
get()
returns the value for the Data Element |
byte[] |
getBytes()
returns the value for the Binary Data Element |
java.lang.String |
getFormattedText(int formatType)
formats text of data element Description of DataElement is defined in the class value is the current value set in the object |
int |
getLength()
gets the current length for the Data Element |
static void |
main(java.lang.String[] args)
|
void |
set(byte[] inValue)
sets the fields contents |
void |
set(java.lang.String inValue)
sets the fields contents |
void |
setNext(java.lang.String inValue)
sets the next but not implemented |
void |
setValue(java.lang.String inValue)
sets the value for the Data Element |
boolean |
validate(DocumentErrors inDErr)
sets error in DocumentErrors |
java.lang.String |
validate(java.lang.String inText)
returns error responses of contents |
| Methods inherited from class com.americancoders.edi.DataElement |
getDelimiter, getDescription, getFixedLengthFormattedText, getID, getMaxLength, getMinLength, getName, getOccurs, getParent, getRequired, getSequence, getTemplate, getType, getXMLTag, isUsed, setParent, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public BinaryDE(TemplateDE inTDE,
IContainedObject inParent)
inTDE - TemplateDEinParent - owning Object| Method Detail |
public static void main(java.lang.String[] args)
public void setValue(java.lang.String inValue)
inValue - String valuepublic void setNext(java.lang.String inValue)
setNext in class DataElementinValue - String valuepublic void set(java.lang.String inValue)
set in class DataElementinValue - byte arra contentspublic int getLength()
getLength in class DataElementpublic void set(byte[] inValue)
set in class DataElementinValue - byte array contentspublic java.lang.String get()
get in class DataElementpublic byte[] getBytes()
public java.lang.String getFormattedText(int formatType)
getFormattedText in class DataElementformatType - int format type x12, edifact...
public java.lang.String validate(java.lang.String inText)
validate in class DataElementinText - String text
public boolean validate(DocumentErrors inDErr)
validate in class DataElementinDErr - DocumentErrors object
|
Open Business Objects for EDI v3.5.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||