public class MQCFIF extends PCFFilterParameter
struct tagMQCFIF {
MQLONG Type; // Structure type
MQLONG StrucLength; // Structure length
MQLONG Parameter; // Parameter identifier
MQLONG Operator; // Operator identifier
MQLONG FilterValue; // Filter value
};
MQHeader.Field| Modifier and Type | Field and Description |
|---|---|
int |
operator
operator identifier
|
int |
parameter
parameter identifier
|
static int |
SIZE
size of the structure in bytes
|
static int |
strucLength
structure length
|
static int |
type
structure type
|
int |
value
filter value
|
| Constructor and Description |
|---|
MQCFIF()
Constructs an MQCFIF instance with default field values.
|
MQCFIF(java.io.DataInput message,
int encoding,
int characterSet)
Constructs an MQCFIF instance populated from a DataInput source.
|
MQCFIF(int parameter,
int operator,
int value)
Initializes an MQCFIF header with the specified values.
|
MQCFIF(MQMessage message)
Constructs an MQCFIF instance populated from an MQMessage.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Returns true when invoked with another MQCFIF instance with the same parameter, operator and
value.
|
int |
getFilterValue()
gets the filter value
|
int |
getOperator()
gets the operator identifier
|
int |
getParameter()
gets the parameter identifier
|
java.lang.String |
getStringValue()
Get the string value of the parameter
|
int |
getStrucLength()
Get the length of the structure.
|
int |
getType()
gets the structure type
|
java.lang.Object |
getValue()
Get the value of the parameter
|
int |
hashCode()
Returns a hash code value for the object
|
void |
setFilterValue(int value)
sets the filter value
|
void |
setOperator(int value)
sets the operator identifier
|
void |
setParameter(int value)
sets the parameter identifier
|
getHeaderVersiongetParameterName, nextParameterinitialize, size, toString, writecharacterSet, encoding, fields, getBytesValue, getCharValue, getCharValue, getIntValue, getJmqiEnv, getStringValue, getValue, headerType, read, read, read, setBytesValue, setCharValue, setCharValue, setIntValue, setStringValue, setValue, store, store, type, validate, writepublic static final int SIZE
public static final int type
public static final int strucLength
public int parameter
public int operator
public int value
public MQCFIF()
public MQCFIF(MQMessage message) throws MQException, java.io.IOException
message - the message to readMQException - if the message content does not yield a valid MQCFIF stucturejava.io.IOException - if there is a problem reading the message contentpublic MQCFIF(java.io.DataInput message,
int encoding,
int characterSet)
throws MQException,
java.io.IOException
message - the MQMessage or other DataInput source to readencoding - the initial numeric encoding of the data in the messagecharacterSet - the initial CCSID of the data in the messageMQException - if the message content does not yield a valid MQCFIF stucturejava.io.IOException - if there is a problem reading the message contentpublic MQCFIF(int parameter,
int operator,
int value)
parameter - the parameter identifieroperator - value - the integer parameter valuepublic boolean equals(java.lang.Object obj)
equals in class PCFFilterParameterobj - public int hashCode()
PCFParameterhashCode in class PCFFilterParameterPCFParameter.hashCode()public int getType()
public int getStrucLength()
public int getParameter()
getParameter in class PCFParameterpublic void setParameter(int value)
value - the parameter identifierpublic int getOperator()
getOperator in class PCFFilterParameterpublic void setOperator(int value)
value - the operator identifierpublic int getFilterValue()
public void setFilterValue(int value)
value - the filter valuepublic java.lang.Object getValue()
PCFParametergetValue in class PCFParameterPCFParameter.getValue()public java.lang.String getStringValue()
PCFParametergetStringValue in class PCFParameterPCFParameter.getStringValue()