|
Open Business Objects for EDI v3.6.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.americancoders.edi.IDList103Processor
| Constructor Summary | |
IDList103Processor()
|
|
| Method Summary | |
void |
add(java.lang.String inCode,
java.lang.String inDescribe)
Add code and description An optional method. |
java.lang.String |
describe(java.lang.String inCode)
returns the descriptive value of the code, if it is not found then the code is returned |
java.lang.String |
getCode(java.lang.String inValue)
returns the code value for a descriptive value. |
java.lang.String |
getCodeByPos(int pos)
returns a code at a specific position in vector An optional method. |
java.util.Vector |
getCodes()
returns the code vector |
java.util.Vector |
getValues()
returns the value vector |
boolean |
isCodeValid(java.lang.String inCode)
tests if the passed code is valid |
static void |
main(java.lang.String[] args)
|
void |
readExternal(java.io.ObjectInput in)
|
void |
writeExternal(java.io.ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IDList103Processor()
throws java.io.IOException
| Method Detail |
public void add(java.lang.String inCode,
java.lang.String inDescribe)
throws java.lang.UnsupportedOperationException
IDListProcessor
add in interface IDListProcessorinCode - String codeinDescribe - String descriptive value
java.lang.UnsupportedOperationExceptionpublic boolean isCodeValid(java.lang.String inCode)
IDListProcessor
isCodeValid in interface IDListProcessorinCode - String to test
public java.lang.String describe(java.lang.String inCode)
IDListProcessor
describe in interface IDListProcessorinCode - String to test
public java.lang.String getCode(java.lang.String inValue)
IDListProcessor
getCode in interface IDListProcessorinValue - String to test
public java.lang.String getCodeByPos(int pos)
throws java.lang.UnsupportedOperationException
IDListProcessor
getCodeByPos in interface IDListProcessorpos - int String position
java.lang.UnsupportedOperationExceptionpublic java.util.Vector getCodes()
IDListProcessor
getCodes in interface IDListProcessorpublic java.util.Vector getValues()
IDListProcessor
getValues in interface IDListProcessor
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOException
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOException
java.lang.ClassNotFoundException
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception
|
Open Business Objects for EDI v3.6.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||