protected class ERPInterfaceAS400.Received
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private com.ibm.as400.access.Record |
__record
The data queue record being parsed.
|
private static long |
serialVersionUID
The class' serialization version id.
|
Constructor and Description |
---|
Received(com.ibm.as400.access.Record record)
Constructs a new received data parsing facilitator.
|
Received(java.lang.String fmtname,
byte[] qbytes)
Constructs a new received data parsing facilitator.
|
Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal |
getBigDec(java.lang.String key)
Returns a big decimal value from the data queue record.
|
byte[] |
getBytes(java.lang.String key)
Returns a byte array value from the data queue record.
|
int |
getInteger(java.lang.String key)
Returns an integer value from the data queue record.
|
long |
getLong(java.lang.String key)
Returns a long value from the data queue record.
|
java.lang.String |
getString(java.lang.String key)
Returns a string value from the data queue record.
|
java.lang.Object |
getValue(java.lang.String key)
Returns an object value from the data queue record.
|
private static final long serialVersionUID
private com.ibm.as400.access.Record __record
public Received(java.lang.String fmtname, byte[] qbytes) throws java.lang.Exception
fmtname
- (String) The name of a record format file. If
necessary the name is prepended with a forward slash (/) and
appended with ".properties".qbytes
- (byte[]) The data for a data queue entry.java.lang.Exception
- - if an error occurs during processing.public Received(com.ibm.as400.access.Record record) throws java.lang.Exception
record
- (Record) The data queue record being parsed.java.lang.Exception
- - if an error occurs during processing.public java.math.BigDecimal getBigDec(java.lang.String key) throws java.lang.Exception
key
- (String) The key for the value to get.java.lang.Exception
- - if an error occurs during processing.public byte[] getBytes(java.lang.String key) throws java.lang.Exception
key
- (String) The key for the value to get.java.lang.Exception
- - if an error occurs during processing.public int getInteger(java.lang.String key) throws java.lang.Exception
key
- (String) The key for the value to get.java.lang.Exception
- - if an error occurs during processing.public long getLong(java.lang.String key) throws java.lang.Exception
key
- (String) The key for the value to get.java.lang.Exception
- - if an error occurs during processing.public java.lang.String getString(java.lang.String key) throws java.lang.Exception
key
- (String) The key for the value to get.java.lang.Exception
- - if an error occurs during processing.public java.lang.Object getValue(java.lang.String key) throws java.lang.Exception
key
- (String) The key for the value to get.java.lang.Exception
- - if an error occurs during processing.