public class MQCFSF extends PCFFilterParameter
struct tagMQCFSF {
MQLONG Type; // Structure type
MQLONG StrucLength; // Structure length
MQLONG Parameter; // Parameter identifier
MQLONG Operator; // Operator identifier
MQLONG CodedCharSetId; // Coded character set identifier
MQLONG FilterValueLength; // Filter value length
MQCHAR FilterValue[1]; // Filter value -- first character
};
MQHeader.Field| Modifier and Type | Field and Description |
|---|---|
int |
codedCharSetId
coded character set identifier
|
java.lang.String |
filterValue
filter value
|
int |
filterValueLength
filter value length
|
int |
operator
operator identifier
|
int |
parameter
parameter identifier
|
int |
strucLength
structure length (fixed portion)
|
static int |
type
structure type
|
| Constructor and Description |
|---|
MQCFSF()
Constructs an MQCFSF instance with default field values.
|
MQCFSF(java.io.DataInput message,
int encoding,
int characterSet)
Constructs an MQCFSF instance populated from a DataInput source.
|
MQCFSF(int parameter,
int operator,
java.lang.String filterValue)
Initializes an MQCFSF with the specified values.
|
MQCFSF(MQMessage message)
Constructs an MQCFSF instance populated from an MQMessage.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Returns true when invoked with another MQCFSF instance with the same type,
parameter, operator and value.
|
int |
getCodedCharSetId()
gets the coded character set identifier
|
java.lang.String |
getFilterValue()
gets the filter value
|
int |
getFilterValueLength()
gets the filter value length
|
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 |
setCodedCharSetId(int value)
sets the coded character set identifier
|
void |
setFilterValue(java.lang.String 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 type
public int strucLength
public int parameter
public int operator
public int codedCharSetId
public int filterValueLength
public java.lang.String filterValue
public MQCFSF()
public MQCFSF(MQMessage message) throws MQException, java.io.IOException
message - the message to readMQException - if the message content does not yield a valid MQCFSF stucturejava.io.IOException - if there is a problem reading the message contentpublic MQCFSF(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 MQCFSF stucturejava.io.IOException - if there is a problem reading the message contentpublic MQCFSF(int parameter,
int operator,
java.lang.String filterValue)
parameter - the parameter identifieroperator - filterValue - the string filter valuepublic 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 getCodedCharSetId()
public void setCodedCharSetId(int value)
value - the coded character set identifierpublic int getFilterValueLength()
public java.lang.String getFilterValue()
public void setFilterValue(java.lang.String value)
value - the filter valuepublic java.lang.Object getValue()
PCFParametergetValue in class PCFParameterPCFParameter.getValue()public java.lang.String getStringValue()
PCFParametergetStringValue in class PCFParameterPCFParameter.getStringValue()public boolean equals(java.lang.Object obj)
equals in class PCFFilterParameterobj - public int hashCode()
PCFParameterhashCode in class PCFFilterParameterPCFParameter.hashCode()