mycq.Message Interface Reference

Set or Get message values. More...

List of all members.

Public Member Functions

void setBoolean (String columnName, boolean value) throws MyCQException
 Set a BOOLEAN value.
void setBoolean (int columnIndex, boolean value) throws MyCQException
 Set a BOOLEAN value.
boolean getBoolean (String columnName) throws MyCQException
 Get a BOOLEAN value.
boolean getBoolean (int columnIndex) throws MyCQException
 Get a BOOLEAN value.
void setByte (String columnName, byte value) throws MyCQException
 Set a BYTE value.
void setByte (int columnIndex, byte value) throws MyCQException
 Set a BYTE value.
byte getByte (String columnName) throws MyCQException
 Get a BYTE value.
byte getByte (int columnIndex) throws MyCQException
 Get a BYTE value.
void setShort (String columnName, short value) throws MyCQException
 Set a SHORT value.
void setShort (int columnIndex, short value) throws MyCQException
 Set a SHORT value.
short getShort (String columnName) throws MyCQException
 Get a SHORT value.
short getShort (int columnIndex) throws MyCQException
 Get a SHORT value.
void setUShort (String columnName, char value) throws MyCQException
 Set a USHORT value.
void setUShort (int columnIndex, char value) throws MyCQException
 Set a USHORT value.
char getUShort (String columnName) throws MyCQException
 Get a USHORT value.
char getUShort (int columnIndex) throws MyCQException
 Get a USHORT value.
void setInt (String columnName, int value) throws MyCQException
 Set a INT value.
void setInt (int columnIndex, int value) throws MyCQException
 Set a INT value.
int getInt (String columnName) throws MyCQException
 Get a INT value.
int getInt (int columnIndex) throws MyCQException
 Get a INT value.
void setLong (String columnName, long value) throws MyCQException
 Set a LONG value.
void setLong (int columnIndex, long value) throws MyCQException
 Set a LONG value.
long getLong (String columnName) throws MyCQException
 Get a LONG value.
long getLong (int columnIndex) throws MyCQException
 Get a LONG value.
void setFloat (String columnName, float value) throws MyCQException
 Set a FLOAT value.
void setFloat (int columnIndex, float value) throws MyCQException
 Set a FLOAT value.
float getFloat (String columnName) throws MyCQException
 Get a FLOAT value.
float getFloat (int columnIndex) throws MyCQException
 Get a FLOAT value.
void setDouble (String columnName, double value) throws MyCQException
 Set a DOUBLE value.
void setDouble (int columnIndex, double value) throws MyCQException
 Set a DOUBLE value.
double getDouble (String columnName) throws MyCQException
 Get a DOUBLE value.
double getDouble (int columnIndex) throws MyCQException
 Get a DOUBLE value.
void setDate (String columnName, int year, int month, int day) throws MyCQException
 Set a DATE value.
void setDate (int columnIndex, int year, int month, int day) throws MyCQException
 Set a DATE value.
String getDateString (String columnName) throws MyCQException
 Get a DATE's character String.
String getDateString (int columnIndex) throws MyCQException
 Get a DATE's character String.
void setTime (String columnName, int hour, int min, int sec, int msec) throws MyCQException
 Set a TIME value.
void setTime (int columnIndex, int hour, int min, int sec, int msec) throws MyCQException
 Set a TIME value.
String getTimeString (String columnName) throws MyCQException
 Get a TIME's character String.
String getTimeString (int columnIndex) throws MyCQException
 Get a TIME's character String.
void setDateTime (String columnName, int year, int month, int day, int hour, int min, int sec, int msec) throws MyCQException
 Set a DATETIME value.
void setDateTime (int columnIndex, int year, int month, int day, int hour, int min, int sec, int msec) throws MyCQException
 Set a DATETIME value.
String getDateTimeString (String columnName) throws MyCQException
 Get a DATETIME's character String.
String getDateTimeString (int columnIndex) throws MyCQException
 Get a DATETIME's character String.
void setString (String columnName, String value) throws MyCQException
 Set a STRING value.
void setString (int columnIndex, String value) throws MyCQException
 Set a STRING value.
String getString (String columnName) throws MyCQException
 Get a STRING value.
String getString (int columnIndex) throws MyCQException
 Get a STRING value.
void setVarString (String columnName, String value) throws MyCQException
 Set a VAR_STRING value.
void setVarString (int columnIndex, String value) throws MyCQException
 Set a VAR_STRING value.
String getVarString (String columnName) throws MyCQException
 Get a VAR_STRING value.
String getVarString (int columnIndex) throws MyCQException
 Get a VAR_STRING value.
void setBinary (String columnName, byte[] value) throws MyCQException
 Set a BINARY value.
void setBinary (int columnIndex, byte[] value) throws MyCQException
 Set a BINARY value.
byte[] getBinary (String columnName) throws MyCQException
 Get a BINARY value.
byte[] getBinary (int columnIndex) throws MyCQException
 Get a BINARY value.
void setVarBinary (String columnName, byte[] value) throws MyCQException
 Set a VAR_BINARY value.
void setVarBinary (int columnIndex, byte[] value) throws MyCQException
 Set a VAR_BINARY value.
byte[] getVarBinary (String columnName) throws MyCQException
 Get a VAR_BINARY value.
byte[] getVarBinary (int columnIndex) throws MyCQException
 Get a VAR_BINARY value.

Detailed Description

Set or Get message values.


Member Function Documentation

byte [] mycq.Message.getBinary ( int  columnIndex  )  throws MyCQException

Get a BINARY value.

Parameters:
columnIndex A column index in a queue schema.
Returns:
A BINARY value.
Exceptions:
MyCQException An error occurred. check error code.
byte [] mycq.Message.getBinary ( String  columnName  )  throws MyCQException

Get a BINARY value.

Parameters:
columnName A column name in a queue schema.
Returns:
A BINARY value.
Exceptions:
MyCQException An error occurred. check error code.
boolean mycq.Message.getBoolean ( int  columnIndex  )  throws MyCQException

Get a BOOLEAN value.

Parameters:
columnIndex A column index in a queue schema.
Returns:
A BOOLEAN value.
Exceptions:
MyCQException An error occurred. check error code.
boolean mycq.Message.getBoolean ( String  columnName  )  throws MyCQException

Get a BOOLEAN value.

Parameters:
columnName A column name in a queue schema.
Returns:
A BOOLEAN value.
Exceptions:
MyCQException An error occurred. check error code.
byte mycq.Message.getByte ( int  columnIndex  )  throws MyCQException

Get a BYTE value.

Parameters:
columnIndex A column index in a queue schema.
Returns:
A BYTE value.
Exceptions:
MyCQException An error occurred. check error code.
byte mycq.Message.getByte ( String  columnName  )  throws MyCQException

Get a BYTE value.

Parameters:
columnName A column name in a queue schema.
Returns:
A BYTE value.
Exceptions:
MyCQException An error occurred. check error code.
String mycq.Message.getDateString ( int  columnIndex  )  throws MyCQException

Get a DATE's character String.

Parameters:
columnIndex A column index in a queue schema.
Returns:
A character String value of a DATE. ("yyyy-mm-dd")
Exceptions:
MyCQException An error occurred. check error code.
String mycq.Message.getDateString ( String  columnName  )  throws MyCQException

Get a DATE's character String.

Parameters:
columnName A column name in a queue schema.
Returns:
A character String value of a DATE. ("yyyy-mm-dd")
Exceptions:
MyCQException An error occurred. check error code.
String mycq.Message.getDateTimeString ( int  columnIndex  )  throws MyCQException

Get a DATETIME's character String.

Parameters:
columnIndex A column index in a queue schema.
Returns:
A character String value of a DATETIME. ("yyyy-mm-dd hh:mm:ss.sss")
Exceptions:
MyCQException An error occurred. check error code.
String mycq.Message.getDateTimeString ( String  columnName  )  throws MyCQException

Get a DATETIME's character String.

Parameters:
columnName A column name in a queue schema.
Returns:
A character String value of a DATETIME. ("yyyy-mm-dd hh:mm:ss.sss")
Exceptions:
MyCQException An error occurred. check error code.
double mycq.Message.getDouble ( int  columnIndex  )  throws MyCQException

Get a DOUBLE value.

Parameters:
columnIndex A column index in a queue schema.
Returns:
A DOUBLE value.
Exceptions:
MyCQException An error occurred. check error code.
double mycq.Message.getDouble ( String  columnName  )  throws MyCQException

Get a DOUBLE value.

Parameters:
columnName A column name in a queue schema.
Returns:
A DOUBLE value.
Exceptions:
MyCQException An error occurred. check error code.
float mycq.Message.getFloat ( int  columnIndex  )  throws MyCQException

Get a FLOAT value.

Parameters:
columnIndex A column index in a queue schema.
Returns:
A FLOAT value.
Exceptions:
MyCQException An error occurred. check error code.
float mycq.Message.getFloat ( String  columnName  )  throws MyCQException

Get a FLOAT value.

Parameters:
columnName A column name in a queue schema.
Returns:
A FLOAT value.
Exceptions:
MyCQException An error occurred. check error code.
int mycq.Message.getInt ( int  columnIndex  )  throws MyCQException

Get a INT value.

Parameters:
columnIndex A column index in a queue schema.
Returns:
A INT value.
Exceptions:
MyCQException An error occurred. check error code.
int mycq.Message.getInt ( String  columnName  )  throws MyCQException

Get a INT value.

Parameters:
columnName A column name in a queue schema.
Returns:
A INT value.
Exceptions:
MyCQException An error occurred. check error code.
long mycq.Message.getLong ( int  columnIndex  )  throws MyCQException

Get a LONG value.

Parameters:
columnIndex A column index in a queue schema.
Returns:
A LONG value.
Exceptions:
MyCQException An error occurred. check error code.
long mycq.Message.getLong ( String  columnName  )  throws MyCQException

Get a LONG value.

Parameters:
columnName A column name in a queue schema.
Returns:
A LONG value.
Exceptions:
MyCQException An error occurred. check error code.
short mycq.Message.getShort ( int  columnIndex  )  throws MyCQException

Get a SHORT value.

Parameters:
columnIndex A column index in a queue schema.
Returns:
A SHORT value.
Exceptions:
MyCQException An error occurred. check error code.
short mycq.Message.getShort ( String  columnName  )  throws MyCQException

Get a SHORT value.

Parameters:
columnName A column name in a queue schema.
Returns:
A SHORT value.
Exceptions:
MyCQException An error occurred. check error code.
String mycq.Message.getString ( int  columnIndex  )  throws MyCQException

Get a STRING value.

Parameters:
columnIndex A column index in a queue schema.
Returns:
A STRING value.
Exceptions:
MyCQException An error occurred. check error code.
String mycq.Message.getString ( String  columnName  )  throws MyCQException

Get a STRING value.

Parameters:
columnName A column name in a queue schema.
Returns:
A STRING value.
Exceptions:
MyCQException An error occurred. check error code.
String mycq.Message.getTimeString ( int  columnIndex  )  throws MyCQException

Get a TIME's character String.

Parameters:
columnIndex A column index in a queue schema.
Returns:
A character String value of a TIME. ("hh:mm:ss.sss")
Exceptions:
MyCQException An error occurred. check error code.
String mycq.Message.getTimeString ( String  columnName  )  throws MyCQException

Get a TIME's character String.

Parameters:
columnName A column name in a queue schema.
Returns:
A character String value of a TIME. ("hh:mm:ss.sss")
Exceptions:
MyCQException An error occurred. check error code.
char mycq.Message.getUShort ( int  columnIndex  )  throws MyCQException

Get a USHORT value.

Parameters:
columnIndex A column index in a queue schema.
Returns:
A USHORT value.
Exceptions:
MyCQException An error occurred. check error code.
char mycq.Message.getUShort ( String  columnName  )  throws MyCQException

Get a USHORT value.

Parameters:
columnName A column name in a queue schema.
Returns:
A USHORT value.
Exceptions:
MyCQException An error occurred. check error code.
byte [] mycq.Message.getVarBinary ( int  columnIndex  )  throws MyCQException

Get a VAR_BINARY value.

Parameters:
columnIndex A column index in a queue schema.
Returns:
A VAR_BINARY value.
Exceptions:
MyCQException An error occurred. check error code.
byte [] mycq.Message.getVarBinary ( String  columnName  )  throws MyCQException

Get a VAR_BINARY value.

Parameters:
columnName A column name in a queue schema.
Returns:
A VAR_BINARY value.
Exceptions:
MyCQException An error occurred. check error code.
String mycq.Message.getVarString ( int  columnIndex  )  throws MyCQException

Get a VAR_STRING value.

Parameters:
columnIndex A column index in a queue schema.
Returns:
A VAR_STRING value.
Exceptions:
MyCQException An error occurred. check error code.
String mycq.Message.getVarString ( String  columnName  )  throws MyCQException

Get a VAR_STRING value.

Parameters:
columnName A column name in a queue schema.
Returns:
A VAR_STRING value.
Exceptions:
MyCQException An error occurred. check error code.
void mycq.Message.setBinary ( int  columnIndex,
byte[]  value 
) throws MyCQException

Set a BINARY value.

Parameters:
columnIndex A column index in a queue schema.
value A BINARY value to set.
Exceptions:
MyCQException An error occurred. check error code.
void mycq.Message.setBinary ( String  columnName,
byte[]  value 
) throws MyCQException

Set a BINARY value.

Parameters:
columnName A column name in a queue schema.
value A BINARY value to set.
Exceptions:
MyCQException An error occurred. check error code.
void mycq.Message.setBoolean ( int  columnIndex,
boolean  value 
) throws MyCQException

Set a BOOLEAN value.

Parameters:
columnIndex A column index in a queue schema.
value A BOOLEAN value to set.
Exceptions:
MyCQException An error occurred. check error code.
void mycq.Message.setBoolean ( String  columnName,
boolean  value 
) throws MyCQException

Set a BOOLEAN value.

Parameters:
columnName A column name in a queue schema.
value A BOOLEAN value to set.
Exceptions:
MyCQException An error occurred. check error code.
void mycq.Message.setByte ( int  columnIndex,
byte  value 
) throws MyCQException

Set a BYTE value.

Parameters:
columnIndex A column index in a queue schema.
value A BYTE value to set.
Exceptions:
MyCQException An error occurred. check error code.
void mycq.Message.setByte ( String  columnName,
byte  value 
) throws MyCQException

Set a BYTE value.

Parameters:
columnName A column name in a queue schema.
value A BYTE value to set.
Exceptions:
MyCQException An error occurred. check error code.
void mycq.Message.setDate ( int  columnIndex,
int  year,
int  month,
int  day 
) throws MyCQException

Set a DATE value.

Parameters:
columnIndex A column index in a queue schema.
year An integer value to set a year.
month An integer value to set a month.
day An integer value to set a day.
Exceptions:
MyCQException An error occurred. check error code.
void mycq.Message.setDate ( String  columnName,
int  year,
int  month,
int  day 
) throws MyCQException

Set a DATE value.

Parameters:
columnName A column name in a queue schema.
year An integer value to set a year.
month An integer value to set a month.
day An integer value to set a day.
Exceptions:
MyCQException An error occurred. check error code.
void mycq.Message.setDateTime ( int  columnIndex,
int  year,
int  month,
int  day,
int  hour,
int  min,
int  sec,
int  msec 
) throws MyCQException

Set a DATETIME value.

Parameters:
columnIndex A column index in a queue schema.
year An integer value to set a year.
month An integer value to set a month.
day An integer value to set a day.
hour An integer value to set hour.
min An integer value to set minute.
sec An integer value to set second.
msec An integer value to set milisecond.
Exceptions:
MyCQException An error occurred. check error code.
void mycq.Message.setDateTime ( String  columnName,
int  year,
int  month,
int  day,
int  hour,
int  min,
int  sec,
int  msec 
) throws MyCQException

Set a DATETIME value.

Parameters:
columnName A column name in a queue schema.
year An integer value to set a year.
month An integer value to set a month.
day An integer value to set a day.
hour An integer value to set hour.
min An integer value to set minute.
sec An integer value to set second.
msec An integer value to set milisecond.
Exceptions:
MyCQException An error occurred. check error code.
void mycq.Message.setDouble ( int  columnIndex,
double  value 
) throws MyCQException

Set a DOUBLE value.

Parameters:
columnIndex A column index in a queue schema.
value A DOUBLE value to set.
Exceptions:
MyCQException An error occurred. check error code.
void mycq.Message.setDouble ( String  columnName,
double  value 
) throws MyCQException

Set a DOUBLE value.

Parameters:
columnName A column name in a queue schema.
value A DOUBLE value to set.
Exceptions:
MyCQException An error occurred. check error code.
void mycq.Message.setFloat ( int  columnIndex,
float  value 
) throws MyCQException

Set a FLOAT value.

Parameters:
columnIndex A column index in a queue schema.
value A FLOAT value to set.
Exceptions:
MyCQException An error occurred. check error code.
void mycq.Message.setFloat ( String  columnName,
float  value 
) throws MyCQException

Set a FLOAT value.

Parameters:
columnName A column name in a queue schema.
value A FLOAT value to set.
Exceptions:
MyCQException An error occurred. check error code.
void mycq.Message.setInt ( int  columnIndex,
int  value 
) throws MyCQException

Set a INT value.

Parameters:
columnIndex A column index in a queue schema.
value A INT value to set.
Exceptions:
MyCQException An error occurred. check error code.
void mycq.Message.setInt ( String  columnName,
int  value 
) throws MyCQException

Set a INT value.

Parameters:
columnName A column name in a queue schema.
value A INT value to set.
Exceptions:
MyCQException An error occurred. check error code.
void mycq.Message.setLong ( int  columnIndex,
long  value 
) throws MyCQException

Set a LONG value.

Parameters:
columnIndex A column index in a queue schema.
value A LONG value to set.
Exceptions:
MyCQException An error occurred. check error code.
void mycq.Message.setLong ( String  columnName,
long  value 
) throws MyCQException

Set a LONG value.

Parameters:
columnName A column name in a queue schema.
value A LONG value to set.
Exceptions:
MyCQException An error occurred. check error code.
void mycq.Message.setShort ( int  columnIndex,
short  value 
) throws MyCQException

Set a SHORT value.

Parameters:
columnIndex A column index in a queue schema.
value A SHORT value to set.
Exceptions:
MyCQException An error occurred. check error code.
void mycq.Message.setShort ( String  columnName,
short  value 
) throws MyCQException

Set a SHORT value.

Parameters:
columnName A column name in a queue schema.
value A SHORT value to set.
Exceptions:
MyCQException An error occurred. check error code.
void mycq.Message.setString ( int  columnIndex,
String  value 
) throws MyCQException

Set a STRING value.

Parameters:
columnIndex A column index in a queue schema.
value A STRING value to set.
Exceptions:
MyCQException An error occurred. check error code.
void mycq.Message.setString ( String  columnName,
String  value 
) throws MyCQException

Set a STRING value.

Parameters:
columnName A column name in a queue schema.
value A STRING value to set.
Exceptions:
MyCQException An error occurred. check error code.
void mycq.Message.setTime ( int  columnIndex,
int  hour,
int  min,
int  sec,
int  msec 
) throws MyCQException

Set a TIME value.

Parameters:
columnIndex A column index in a queue schema.
hour An integer value to set hour.
min An integer value to set minute.
sec An integer value to set second.
msec An integer value to set milisecond.
Exceptions:
MyCQException An error occurred. check error code.
void mycq.Message.setTime ( String  columnName,
int  hour,
int  min,
int  sec,
int  msec 
) throws MyCQException

Set a TIME value.

Parameters:
columnName A column name in a queue schema.
hour An integer value to set hour.
min An integer value to set minute.
sec An integer value to set second.
msec An integer value to set milisecond.
Exceptions:
MyCQException An error occurred. check error code.
void mycq.Message.setUShort ( int  columnIndex,
char  value 
) throws MyCQException

Set a USHORT value.

Parameters:
columnIndex A column index in a queue schema.
value A USHORT value to set.
Exceptions:
MyCQException An error occurred. check error code.
void mycq.Message.setUShort ( String  columnName,
char  value 
) throws MyCQException

Set a USHORT value.

Parameters:
columnName A column name in a queue schema.
value A USHORT value to set.
Exceptions:
MyCQException An error occurred. check error code.
void mycq.Message.setVarBinary ( int  columnIndex,
byte[]  value 
) throws MyCQException

Set a VAR_BINARY value.

Parameters:
columnIndex A column index in a queue schema.
value A VAR_BINARY value to set.
Exceptions:
MyCQException An error occurred. check error code.
void mycq.Message.setVarBinary ( String  columnName,
byte[]  value 
) throws MyCQException

Set a VAR_BINARY value.

Parameters:
columnName A column name in a queue schema.
value A VAR_BINARY value to set.
Exceptions:
MyCQException An error occurred. check error code.
void mycq.Message.setVarString ( int  columnIndex,
String  value 
) throws MyCQException

Set a VAR_STRING value.

Parameters:
columnIndex A column index in a queue schema.
value A VAR_STRING value to set.
Exceptions:
MyCQException An error occurred. check error code.
void mycq.Message.setVarString ( String  columnName,
String  value 
) throws MyCQException

Set a VAR_STRING value.

Parameters:
columnName A column name in a queue schema.
value A VAR_STRING value to set.
Exceptions:
MyCQException An error occurred. check error code.
 All Classes Namespaces Functions Variables Enumerations
MyCQ Java User's Document. Copyright@MyCQ Inc., All Rights Reserved.