public class MQCFIN64 extends PCFParameter
struct tagMQCFIN64 {
MQLONG Type; // Structure type
MQLONG StrucLength; // Structure length
MQLONG Parameter; // Parameter identifier
MQLONG Reserved; // Reserved
MQINT64 Value; // Parameter value
};
MQHeader.Field| Modifier and Type | Field and Description |
|---|---|
int |
parameter
parameter identifier
|
static int |
strucLength
structure length
|
static int |
type
structure type
|
long |
value
parameter value
|
| Constructor and Description |
|---|
MQCFIN64()
Constructs an MQCFIN64 instance with default field values.
|
MQCFIN64(java.io.DataInput message,
int encoding,
int characterSet)
Constructs an MQCFIN64 instance populated from a DataInput source.
|
MQCFIN64(int parameter,
long value)
Initializes an MQCFIN64 header with the specified values.
|
MQCFIN64(MQMessage message)
Constructs an MQCFIN64 instance populated from an MQMessage.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Returns true when invoked with another MQCFIN64 instance with the same parameter and value.
|
int |
getHeaderVersion()
Get the header version
|
long |
getLongValue()
gets the parameter value
|
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 |
setLongValue(long value)
sets the parameter value
|
void |
setParameter(int value)
sets the parameter identifier
|
getParameterName, 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 static final int strucLength
public int parameter
public long value
public MQCFIN64()
public MQCFIN64(MQMessage message) throws MQException, java.io.IOException
message - the message to readMQException - if the message content does not yield a valid MQCFIN64 stucturejava.io.IOException - if there is a problem reading the message contentpublic MQCFIN64(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 MQCFIN64 stucturejava.io.IOException - if there is a problem reading the message contentpublic MQCFIN64(int parameter,
long value)
parameter - the parameter identifiervalue - the integer parameter valuepublic boolean equals(java.lang.Object obj)
equals in class PCFParameterobj - public int hashCode()
PCFParameterhashCode in class PCFParameterPCFParameter.hashCode()public int getType()
public int getStrucLength()
public int getParameter()
getParameter in class PCFParameterpublic void setParameter(int value)
value - the parameter identifierpublic long getLongValue()
public void setLongValue(long value)
value - the parameter valuepublic java.lang.Object getValue()
PCFParametergetValue in class PCFParameterPCFParameter.getValue()public java.lang.String getStringValue()
PCFParametergetStringValue in class PCFParameterPCFParameter.getStringValue()public int getHeaderVersion()
PCFParametergetHeaderVersion in class PCFParameterPCFParameter.getHeaderVersion()