com.adventnet.tl1.message
Class TL1MessagePayloadBlock

java.lang.Object
  |
  +--com.adventnet.tl1.message.TL1MessagePayloadBlock

public class TL1MessagePayloadBlock
extends java.lang.Object

This class represents the Message Payload Block that is present within the Input Message. It contains the payload or subject of the message and comprises of one or more parameters. Each of these parameter is represented by a TL1Param and so the TL1MessagePayloadBlock contains a vector of TL1Param objects.

TL1 Input Message block

See Also:
TL1Param

Constructor Summary
TL1MessagePayloadBlock()
          Default constructor .
 
Method Summary
 void addParam(TL1Param param)
          Adds the TL1Param object to the Vector .
 java.util.Vector getPayload()
          Get the payload vector .
 void setPayload(java.util.Vector payload)
          Set the payload vector with the given vector.
 java.lang.String toString()
          Returns a stringified form of the Message Payload Block object.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TL1MessagePayloadBlock

public TL1MessagePayloadBlock()
Default constructor .
Method Detail

setPayload

public void setPayload(java.util.Vector payload)
Set the payload vector with the given vector.
Parameters:
payload - Vector of TL1Param objects.

getPayload

public java.util.Vector getPayload()
Get the payload vector .
Returns:
Vector of TL1Param objects

addParam

public void addParam(TL1Param param)
Adds the TL1Param object to the Vector .
Parameters:
param - TL1Param object.
See Also:
TL1Param

toString

public java.lang.String toString()
Returns a stringified form of the Message Payload Block object.
Overrides:
toString in class java.lang.Object
Returns:
String representation of this object.