public class MQCFIL64 extends PCFParameter
struct tagMQCFIL64 {
MQLONG Type; /* Structure type
MQLONG StrucLength; /* Structure length
MQLONG Parameter; /* Parameter identifier
MQLONG Count; /* Count of parameter values
MQINT64 Values[1]; /* Parameter values -- first element
};
MQHeader.Field| Constructor and Description |
|---|
MQCFIL64()
Constructs an MQCFIL64 instance with default field values.
|
MQCFIL64(java.io.DataInput message)
Constructs an MQCFIL64 instance populated from an MQMessage.
|
MQCFIL64(java.io.DataInput message,
int encoding,
int characterSet)
Constructs an MQCFIL64 instance populated from a DataInput source.
|
MQCFIL64(int parameter,
long[] values)
Initializes an MQCFIL64 with the specified values.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Returns true when invoked with another MQCFIL64 instance with the same parameter and equivalent
set of values in the same order.
|
int |
getCount()
gets the count of parameter values
|
int |
getHeaderVersion()
gets the version number of the header format
|
int |
getParameter()
gets the parameter identifier
|
java.lang.String |
getStringValue()
gets the parameter value as a String
|
int |
getStrucLength()
Get the length of the structure.
|
int |
getType()
gets the structure type
|
java.lang.Object |
getValue()
gets the parameter value
|
long[] |
getValues()
gets the parameter values
|
int |
hashCode()
Returns a hash code value for the object
|
void |
setParameter(int value)
sets the parameter identifier
|
void |
setValues(long[] values)
sets the parameter values
|
getParameterName, nextParametercharacterSet, encoding, fields, getBytesValue, getCharValue, getCharValue, getIntValue, getJmqiEnv, getStringValue, getValue, headerType, read, read, read, setBytesValue, setCharValue, setCharValue, setIntValue, setStringValue, setValue, size, store, store, toString, type, validate, write, writepublic MQCFIL64()
public MQCFIL64(java.io.DataInput message)
throws MQDataException,
java.io.IOException
message - the message to readMQDataException - if the message content does not yield a valid MQCFIL64 stucturejava.io.IOException - if there is a problem reading the message contentpublic MQCFIL64(java.io.DataInput message,
int encoding,
int characterSet)
throws MQDataException,
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 messageMQDataException - if the message content does not yield a valid MQCFIL64 stucturejava.io.IOException - if there is a problem reading the message contentpublic MQCFIL64(int parameter,
long[] values)
parameter - the parameter identifiervalues - the set of integer parameter valuespublic 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 int getCount()
public long[] getValues()
public void setValues(long[] values)
values - an array of parameter valuespublic 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()