|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bankframe.bo.DataPacket
com.bankframe.bo.StructuredDataPacket
public class StructuredDataPacket
Structured DataPacket, allows DataPackets to be nested within each other
| Field Summary | |
|---|---|
static int |
DATAPACKET
|
static int |
STRING
|
static int |
VECTOR_OF_DATAPACKETS
|
static int |
VECTOR_OF_STRINGS
|
| Fields inherited from class com.bankframe.bo.DataPacket |
|---|
DATA_PACKET_NAME, OWNER, REQUEST_ID |
| Constructor Summary | |
|---|---|
StructuredDataPacket()
Default no args constructor |
|
StructuredDataPacket(String name)
StructuredDataPacket constructor |
|
| Method Summary | |
|---|---|
int |
getKeyType(String key)
Method to determine the type of an object in a data packet denoted by a specific key. |
Object |
put(String key,
Object value)
Method to put an object in a data packet. |
Object |
put(String key,
Object value,
int dataType)
Method to put an object in a data packet. |
| Methods inherited from class com.bankframe.bo.DataPacket |
|---|
append, clear, contains, containsKey, elements, equals, get, getName, getString, hashCode, isEmpty, keys, remove, setName, size, toList, toListInOrder, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int STRING
public static final int DATAPACKET
public static final int VECTOR_OF_STRINGS
public static final int VECTOR_OF_DATAPACKETS
| Constructor Detail |
|---|
public StructuredDataPacket()
public StructuredDataPacket(String name)
| Method Detail |
|---|
public int getKeyType(String key)
key - Srting representing the key of the object to determine
public Object put(String key,
Object value)
put in class DataPacketkey - String representing this objects key in the DataPacketvalue - The object to put in the DataPacket
public Object put(String key,
Object value,
int dataType)
key - String representing this objects key in the DataPacketvalue - The object to put in the DataPacketdataType - The data type of the object to be recorded.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||