|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.jzos.WtoMessage
public class WtoMessage
A simple data object/bean for holding a WTO message and its parameters. If the supplied message contains line-separator characters, the message will be broken into multiple WTO lines at the separators. If a single line is longer than the maximum WTO line length, it will also be broken into multiple WTO lines.
See: WtoConstants for definitions of route and descriptor codes and flags.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
WtoMessage(java.lang.String message)
Construct an instance with a given WTO message |
|
WtoMessage(java.lang.String message,
int routcdeBitMask,
int descrBitMask)
Construct an instance with a given WTO message, routecode and descripter mask |
|
| Method Summary | |
|---|---|
int[] |
getDescrs()
Answer an integer array of descriptor codes. |
long |
getFlags()
Answer the flags bit mask used to issue the message |
java.lang.String |
getMessage()
Answer the message string |
int[] |
getRoutcdes()
Answer the route codes |
int |
getToken()
Answer the int token used to find this message for deletion |
void |
setDescrs(int descrsBitMask)
Set the descriptor codes using a bit mask |
void |
setDescrs(int[] descrs)
Set the descriptor codes using an int array |
void |
setFlags(long flags)
Answer the flags bit mask used to issue the message |
void |
setRoutcdes(int routcdesBitMask)
Set the route codes using a integer bit mask. |
void |
setRoutcdes(int[] routcdes)
Set the route codes using a integer array. |
void |
setToken(int token)
Set the int token used to find this message for deletion |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WtoMessage(java.lang.String message)
public WtoMessage(java.lang.String message,
int routcdeBitMask,
int descrBitMask)
| Method Detail |
|---|
public int[] getDescrs()
WtoConstantspublic void setDescrs(int descrsBitMask)
WtoConstantspublic void setDescrs(int[] descrs)
WtoConstantspublic java.lang.String getMessage()
public int[] getRoutcdes()
WtoConstantspublic void setRoutcdes(int routcdesBitMask)
WtoConstantspublic void setRoutcdes(int[] routcdes)
WtoConstantspublic int getToken()
public void setToken(int token)
public long getFlags()
WtoConstantspublic void setFlags(long flags)
WtoConstants
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||