|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bankframe.bo.DataPacket com.bankframe.bo.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(java.lang.String name)
StructuredDataPacket constructor |
Method Summary | |
int |
getKeyType(java.lang.String key)
Method to determine the type of an object in a data packet denoted by a specific key. |
java.lang.Object |
put(java.lang.String key,
java.lang.Object value)
Method to put an object in a data packet. |
java.lang.Object |
put(java.lang.String key,
java.lang.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(java.lang.String name)
Method Detail |
public int getKeyType(java.lang.String key)
key
- Srting representing the key of the object to determine
public java.lang.Object put(java.lang.String key, java.lang.Object value)
put
in class DataPacket
key
- String representing this objects key in the DataPacketvalue
- The object to put in the DataPacket
public java.lang.Object put(java.lang.String key, java.lang.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 |