public interface PCFContent
| Modifier and Type | Method and Description |
|---|---|
void |
addFilterParameter(int parameter,
int operator,
byte[] value)
Adds a bytes string filter parameter to the group.
|
void |
addFilterParameter(int parameter,
int operator,
int value)
Adds an integer filter parameter to the group.
|
void |
addFilterParameter(int parameter,
int operator,
java.lang.String value)
Adds a string filter parameter to the group.
|
void |
addParameter(int parameter,
byte[] value)
Adds a byte array parameter to the group.
|
void |
addParameter(int parameter,
int value)
Adds an integer parameter to the group.
|
void |
addParameter(int parameter,
int[] values)
Adds an integer list parameter to the group.
|
void |
addParameter(int parameter,
long value)
Adds a 64-bit integer parameter to the group.
|
void |
addParameter(int parameter,
long[] values)
Adds a 64-bit integer list parameter to the group.
|
void |
addParameter(int parameter,
java.lang.String value)
Adds a string parameter to the group.
|
void |
addParameter(int parameter,
java.lang.String[] values)
Adds a string list parameter to the group.
|
void |
addParameter(PCFParameter parameter)
Adds a PCFParameter to the group.
|
byte[] |
getBytesParameterValue(int parameter)
Returns the value of the specified byte array parameter (MQCFBS).
|
long |
getInt64ParameterValue(int parameter)
Returns the value of the specified integer parameter (MQCFIN64) as an integer.
|
long[] |
getIntList64ParameterValue(int parameter)
Returns the value of the specified integer list parameter (MQCFIL64) as an array of integers.
|
int[] |
getIntListParameterValue(int parameter)
Returns the value of the specified integer list parameter (MQCFIL) as an array of integers.
|
int |
getIntParameterValue(int parameter)
Returns the value of the specified integer parameter (MQCFIN) as an integer.
|
PCFParameter |
getParameter(int parameter)
Returns the PCFParameter structure for the specified parameter, or null if the parameter is not
found.
|
int |
getParameterCount()
Returns the number of parameter structures in the group.
|
java.util.Enumeration |
getParameters()
Returns an enumeration of the parameters in the group.
|
java.lang.Object |
getParameterValue(int parameter)
Returns the value of the specified parameter, or null if the parameter is not found.
|
java.lang.String[] |
getStringListParameterValue(int parameter)
Returns the value of the specified string list parameter (MQCFSL) as an array of strings.
|
java.lang.String |
getStringParameterValue(int parameter)
Returns the value of the specified string parameter (MQCFST) as a string.
|
void addParameter(PCFParameter parameter)
parameter - the parameter structure to add (MQCFIN, MQCFIL, MQCFST and so on)void addParameter(int parameter,
int value)
parameter - the integer parameter identifiervalue - the integer valuevoid addParameter(int parameter,
int[] values)
parameter - the integer list parameter identifiervalues - the array of integer valuesvoid addParameter(int parameter,
long value)
parameter - the integer parameter identifiervalue - the integer valuevoid addParameter(int parameter,
long[] values)
parameter - the integer list parameter identifiervalues - the array of integer valuesvoid addParameter(int parameter,
java.lang.String value)
parameter - the string parameter identifiervalue - the string valuevoid addParameter(int parameter,
java.lang.String[] values)
parameter - the string list parameter identifiervalues - the array of string valuesvoid addParameter(int parameter,
byte[] value)
parameter - the string list parameter identifiervalue - the array of string valuesvoid addFilterParameter(int parameter,
int operator,
int value)
parameter - the filter parameter identifieroperator - one of the MQCFOP_* filter operator constantsvalue - the filter valuevoid addFilterParameter(int parameter,
int operator,
java.lang.String value)
parameter - the filter parameter identifieroperator - one of the MQCFOP_* filter operator constantsvalue - the filter valuevoid addFilterParameter(int parameter,
int operator,
byte[] value)
parameter - the filter parameter identifieroperator - one of the MQCFOP_* filter operator constantsvalue - the filter valueint getParameterCount()
java.util.Enumeration getParameters()
PCFParameter getParameter(int parameter)
parameter - java.lang.Object getParameterValue(int parameter)
parameter - int getIntParameterValue(int parameter)
throws PCFException
parameter - the integer parameter identifierPCFException - if the specified parameter does not exist in the message (the reason
code given is MQRCCF_CFIN_PARM_ID_ERROR)int[] getIntListParameterValue(int parameter)
throws PCFException
parameter - the integer list parameter identifierPCFException - if the specified parameter does not exist in the group (the reason code
given is MQRCCF_CFIL_PARM_ID_ERROR)long getInt64ParameterValue(int parameter)
throws PCFException
parameter - the integer parameter identifierPCFException - if the specified parameter does not exist in the message (the reason
code given is MQRCCF_CFIN_PARM_ID_ERROR)long[] getIntList64ParameterValue(int parameter)
throws PCFException
parameter - the integer list parameter identifierPCFException - if the specified parameter does not exist in the group (the reason code
given is MQRCCF_CFIL_PARM_ID_ERROR)java.lang.String getStringParameterValue(int parameter)
throws PCFException
parameter - the string parameter identifierPCFException - if the specified parameter does not exist in the group (the reason code
given is MQRCCF_CFST_PARM_ID_ERROR)java.lang.String[] getStringListParameterValue(int parameter)
throws PCFException
parameter - the string list parameter identifierPCFException - if the specified parameter does not exist in the group (the reason code
given is MQRCCF_CFSL_PARM_ID_ERROR; no more specific error code is defined)byte[] getBytesParameterValue(int parameter)
throws PCFException
parameter - the byte array parameter identifierPCFException - if the specified parameter does not exist in the group (the reason code
given is MQRCCF_CFBS_PARM_ID_ERROR)