com.ibm.mq.pcf
Class MQCFSF
- java.lang.Object
-
- com.ibm.mq.jmqi.JmqiObject
-
- com.ibm.mq.headers.internal.Header
-
- com.ibm.mq.pcf.PCFHeader
-
- com.ibm.mq.pcf.PCFParameter
-
- com.ibm.mq.pcf.PCFFilterParameter
-
- com.ibm.mq.pcf.MQCFSF
-
Deprecated.useMQCFSFinstead.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 };
public class MQCFSF extends PCFFilterParameter
MQCFSF (PCF string filter parameter) header class.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.ibm.mq.headers.MQHeader
MQHeader.Field
-
-
Field Summary
Fields Modifier and Type Field and Description intcodedCharSetIdDeprecated.coded character set identifierjava.lang.StringfilterValueDeprecated.filter valueintfilterValueLengthDeprecated.filter value lengthintoperatorDeprecated.operator identifierintparameterDeprecated.parameter identifierintstrucLengthDeprecated.structure length (fixed portion)static inttypeDeprecated.structure type
-
Constructor Summary
Constructors Constructor and Description MQCFSF()Deprecated.Constructs an MQCFSF instance with default field values.MQCFSF(java.io.DataInput message, int encoding, int characterSet)Deprecated.Constructs an MQCFSF instance populated from a DataInput source.MQCFSF(int parameter, int operator, java.lang.String filterValue)Deprecated.Initializes an MQCFSF with the specified values.MQCFSF(MQMessage message)Deprecated.Constructs an MQCFSF instance populated from an MQMessage.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method and Description booleanequals(java.lang.Object obj)Deprecated.Returns true when invoked with another MQCFSF instance with the same type, parameter, operator and value.intgetCodedCharSetId()Deprecated.gets the coded character set identifierjava.lang.StringgetFilterValue()Deprecated.gets the filter valueintgetFilterValueLength()Deprecated.gets the filter value lengthintgetOperator()Deprecated.gets the operator identifierintgetParameter()Deprecated.gets the parameter identifierjava.lang.StringgetStringValue()Deprecated.Get the string value of the parameterintgetStrucLength()Deprecated.Get the length of the structure.intgetType()Deprecated.gets the structure typejava.lang.ObjectgetValue()Deprecated.Get the value of the parameterinthashCode()Deprecated.Returns a hash code value for the objectvoidsetCodedCharSetId(int value)Deprecated.sets the coded character set identifiervoidsetFilterValue(java.lang.String value)Deprecated.sets the filter valuevoidsetOperator(int value)Deprecated.sets the operator identifiervoidsetParameter(int value)Deprecated.sets the parameter identifier-
Methods inherited from class com.ibm.mq.pcf.PCFFilterParameter
getHeaderVersion
-
Methods inherited from class com.ibm.mq.pcf.PCFParameter
getParameterName, nextParameter
-
Methods inherited from class com.ibm.mq.pcf.PCFHeader
initialize, size, toString, write
-
Methods inherited from class com.ibm.mq.headers.internal.Header
characterSet, encoding, fields, getBytesValue, getCharValue, getCharValue, getIntValue, getJmqiEnv, getStringValue, getValue, headerType, read, read, read, setBytesValue, setCharValue, setCharValue, setIntValue, setStringValue, setValue, store, store, type, validate, write
-
-
-
-
Field Detail
-
type
public static final int type
Deprecated.structure type- See Also:
- Constant Field Values
-
strucLength
public int strucLength
Deprecated.structure length (fixed portion)
-
parameter
public int parameter
Deprecated.parameter identifier
-
operator
public int operator
Deprecated.operator identifier
-
codedCharSetId
public int codedCharSetId
Deprecated.coded character set identifier
-
filterValueLength
public int filterValueLength
Deprecated.filter value length
-
filterValue
public java.lang.String filterValue
Deprecated.filter value
-
-
Constructor Detail
-
MQCFSF
public MQCFSF()
Deprecated.Constructs an MQCFSF instance with default field values.
-
MQCFSF
public MQCFSF(MQMessage message) throws MQException, java.io.IOException
Deprecated.Constructs an MQCFSF instance populated from an MQMessage.- Parameters:
message- the message to read- Throws:
MQException- if the message content does not yield a valid MQCFSF stucturejava.io.IOException- if there is a problem reading the message content
-
MQCFSF
public MQCFSF(java.io.DataInput message, int encoding, int characterSet) throws MQException, java.io.IOExceptionDeprecated.Constructs an MQCFSF instance populated from a DataInput source.- Parameters:
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 message- Throws:
MQException- if the message content does not yield a valid MQCFSF stucturejava.io.IOException- if there is a problem reading the message content
-
MQCFSF
public MQCFSF(int parameter, int operator, java.lang.String filterValue)Deprecated.Initializes an MQCFSF with the specified values.- Parameters:
parameter- the parameter identifieroperator-filterValue- the string filter value
-
-
Method Detail
-
getType
public int getType()
Deprecated.gets the structure type
-
getStrucLength
public int getStrucLength()
Deprecated.Get the length of the structure.- Returns:
- the structure length.
-
getParameter
public int getParameter()
Deprecated.gets the parameter identifier- Specified by:
getParameterin classPCFParameter- Returns:
- the parameter identifier
-
setParameter
public void setParameter(int value)
Deprecated.sets the parameter identifier- Parameters:
value- the parameter identifier
-
getOperator
public int getOperator()
Deprecated.gets the operator identifier- Specified by:
getOperatorin classPCFFilterParameter- Returns:
- the operator identifier
-
setOperator
public void setOperator(int value)
Deprecated.sets the operator identifier- Parameters:
value- the operator identifier
-
getCodedCharSetId
public int getCodedCharSetId()
Deprecated.gets the coded character set identifier- Returns:
- the coded character set identifier
-
setCodedCharSetId
public void setCodedCharSetId(int value)
Deprecated.sets the coded character set identifier- Parameters:
value- the coded character set identifier
-
getFilterValueLength
public int getFilterValueLength()
Deprecated.gets the filter value length- Returns:
- the filter value length
-
getFilterValue
public java.lang.String getFilterValue()
Deprecated.gets the filter value- Returns:
- the filter value
-
setFilterValue
public void setFilterValue(java.lang.String value)
Deprecated.sets the filter value- Parameters:
value- the filter value
-
getValue
public java.lang.Object getValue()
Deprecated.Description copied from class:PCFParameterGet the value of the parameter- Specified by:
getValuein classPCFParameter- Returns:
- Return the value of the parameter
- See Also:
PCFParameter.getValue()
-
getStringValue
public java.lang.String getStringValue()
Deprecated.Description copied from class:PCFParameterGet the string value of the parameter- Specified by:
getStringValuein classPCFParameter- Returns:
- Returns the string value of the parameter
- See Also:
PCFParameter.getStringValue()
-
equals
public boolean equals(java.lang.Object obj)
Deprecated.Returns true when invoked with another MQCFSF instance with the same type, parameter, operator and value.- Overrides:
equalsin classPCFFilterParameter- Parameters:
obj-- Returns:
- true of the object equals this one
-
hashCode
public int hashCode()
Deprecated.Description copied from class:PCFParameterReturns a hash code value for the object- Overrides:
hashCodein classPCFFilterParameter- Returns:
- a hash code value for this object.
- See Also:
PCFParameter.hashCode()
-
-