IBM Branch Transformation Toolkit Javadoc

com.ibm.btt.samples.business.sna.lu0.host
Class DummyLuaCommon

java.lang.Object
  extended bycom.ibm.btt.samples.business.sna.lu0.host.DummyLuaCommon

public class DummyLuaCommon
extends java.lang.Object

The DummyLuaCommon class represents lua common structure form RUI api.


Constructor Summary
DummyLuaCommon()
           
 
Method Summary
 void flag2toflag1()
          Sets lua_flag2 values to lua_flag1.
 int getlua_cobol_offset()
          Gets the lua_cobol_offset property (int) value.
 long getlua_correlator()
          Gets the lua_correlator property (long) value.
 int getlua_data_length()
          Gets the lua_data_length property (int) value.
 java.lang.String getlua_data_ptr()
          Gets the lua_data_ptr property (java.lang.String) value.
 char getlua_encr_decr_option()
          Gets the lua_encr_decr_option property (char) value.
 int getlua_extension_list_offset()
          Gets the lua_extension_list_offset property (int) value.
 DummyLuaFlag1 getlua_flag1()
          Gets the flag1 property (com.ibm.connector.lu0.host.DummyLuaFlag1) value.
 DummyLuaFlag2 getlua_flag2()
          Gets the flag2 property (com.ibm.connector.lu0.host.DummyLuaFlag2) value.
 java.lang.String getlua_luname()
          Gets the lua_luname property (java.lang.String) value.
 int getlua_max_length()
          Gets the lua_max_length property (int) value.
 char getlua_message_type()
          Gets the lua_message_type property (char) value.
 int getlua_opcode()
          Gets the lua_opcode property (int) value.
 long getlua_post_handle()
          Gets the lua_post_handle property (long) value.
 int getlua_prim_rc()
          Gets the lua_prim_rc property (int) value.
 java.lang.String getlua_resv56()
          Gets the lua_resv56 property (java.lang.String) value.
 DummyLuaRH getlua_rh()
          Gets the lua_rh property (com.ibm.dse.services.DummyLuaRH) value.
 long getlua_sec_rc()
          Gets the lua_sec_rc property (long) value.
 long getlua_sid()
          Gets the lua_sid property (long) value.
 DummyLuaTH getlua_th()
          Gets the lua_th property (com.ibm.connector.lu0.host.DummyLuaTH) value.
 int getlua_verb_length()
          Gets the lua_verb_length property (int) value.
 int getlua_verb()
          Gets the lua_verb property (int) value.
static DummyLuaCommon getLuaCommon()
          Gets a new DummyLuaCommon instance.
 boolean hasFi()
          Returns true if this instance has fi flag to true.
 boolean isBeginBracket()
          Returns true if this instance has Begin Bracket flag to true.
 boolean isBeginChain()
          Returns true if this instance has Begin Chain flag to true.
 boolean isCdi()
          Returns true if this instance has cdi flag to true.
 boolean isEndBracket()
          Returns true if this instance has End Bracket flag to true.
 boolean isInitself()
          Returns true if this instance is an initSelf message.
 boolean isNegativeInitself()
          Returns true if this instance is a negative response to initSelf message.
 boolean isNegativeResponse()
          Returns true if this instance is an negative response message.
 boolean isNegativeResponseToInitself()
          Returns true if this instance is a negative response to initSelf message.
 boolean isNSPE()
          Returns true if this instance is a NSPE message.
 boolean isPositiveResponseToInitself()
          Returns true if this instance is a positive response to initSelf message.
 boolean isPositiveResponseToTermself()
          Returns true if this instance is a positive response to termself message.
 boolean isTermself()
          Returns true if this instance is an termself message.
 void newlua_data_ptr(int length)
          Creates a new lua_dat_ptr char[].
 void setlua_cobol_offset(int newlua_cobol_offset)
          Sets the lua_cobol_offset property (int) value.
 void setlua_correlator(long newlua_correlator)
          Sets the lua_correlator property (long) value.
 void setlua_data_length(int newlua_data_length)
          Sets the lua_data_length property (int) value.
 void setlua_data_ptr(char[] newlua_data_ptr)
          Sets the lua_data_ptr property (char[]) value.
 void setlua_data_ptr(java.lang.String newlua_data_ptr)
          Sets the lua_data_ptr property (java.lang.String) value.
 void setlua_encr_decr_option(char newlua_encr_decr_option)
          Sets the lua_encr_decr_option property (char) value.
 void setlua_extension_list_offset(int newlua_extension_list_offset)
          Sets the lua_extension_list_offset property (int) value.
 void setlua_flag1(DummyLuaFlag1 newflag1)
          Sets the flag1 property (com.ibm.connector.lu0.host.DummyLuaFlag1) value.
 void setlua_flag2(DummyLuaFlag2 newflag2)
          Sets the flag2 property (com.ibm.connector.lu0.host.DummyLuaFlag2) value.
 void setlua_luname(char[] newlua_luname)
          Sets the lua_luname property (char[]) value.
 void setlua_luname(java.lang.String newlua_luname)
          Sets the lua_luname property (java.lang.String) value.
 void setlua_max_length(int newlua_max_length)
          Sets the lua_max_length property (int) value.
 void setlua_message_type(char newlua_message_type)
          Sets the lua_message_type property (char) value.
 void setlua_opcode(int newlua_opcode)
          Sets the lua_opcode property (int) value.
 void setlua_post_handle(long newlua_post_handle)
          Sets the lua_post_handle property (long) value.
 void setlua_prim_rc(int newlua_prim_rc)
          Sets the lua_prim_rc property (int) value.
 void setlua_resv56(char[] newlua_resv56)
          Sets the lua_resv56 property (char[]) value.
 void setlua_resv56(java.lang.String newlua_resv56)
          Sets the lua_resv56 property (java.lang.String) value.
 void setlua_rh(DummyLuaRH newrh)
          Sets the lua_rh property (com.ibm.connector.lu0.host.DummyLuaRH) value.
 void setlua_sec_rc(long newlua_sec_rc)
          Sets the lua_sec_rc property (long) value.
 void setlua_sid(long newlua_sid)
          Sets the lua_sid property (long) value.
 void setlua_th(DummyLuaTH newth)
          Sets the lua_th property (com.ibm.connector.lu0.host.DummyLuaTH) value.
 void setlua_verb_length(int newlua_verb_length)
          Sets the lua_verb_length property (int) value.
 void setlua_verb(int newlua_verb)
          Sets the lua_verb property (int) value.
 DummyLu0Message toDummyLu0Message()
          Converts a common block to a LuMessage.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DummyLuaCommon

public DummyLuaCommon()
Method Detail

flag2toflag1

public void flag2toflag1()

Sets lua_flag2 values to lua_flag1.


getlua_cobol_offset

public int getlua_cobol_offset()

Gets the lua_cobol_offset property (int) value.

Returns:
The lua_cobol_offset property value.
See Also:
setlua_cobol_offset(int)

getlua_correlator

public long getlua_correlator()

Gets the lua_correlator property (long) value.

Returns:
The lua_correlator property value.
See Also:
setlua_correlator(long)

getlua_data_length

public int getlua_data_length()

Gets the lua_data_length property (int) value.

Returns:
The lua_data_length property value.
See Also:
setlua_data_length(int)

getlua_data_ptr

public java.lang.String getlua_data_ptr()

Gets the lua_data_ptr property (java.lang.String) value.

Returns:
The lua_data_ptr property value.
See Also:
setlua_data_ptr(char[])

getlua_encr_decr_option

public char getlua_encr_decr_option()

Gets the lua_encr_decr_option property (char) value.

Returns:
The lua_encr_decr_option property value.
See Also:
setlua_encr_decr_option(char)

getlua_extension_list_offset

public int getlua_extension_list_offset()

Gets the lua_extension_list_offset property (int) value.

Returns:
The lua_extension_list_offset property value.
See Also:
setlua_extension_list_offset(int)

getlua_flag1

public DummyLuaFlag1 getlua_flag1()

Gets the flag1 property (com.ibm.connector.lu0.host.DummyLuaFlag1) value.

Returns:
The flag1 property value.
See Also:
setlua_flag1(com.ibm.btt.samples.business.sna.lu0.host.DummyLuaFlag1)

getlua_flag2

public DummyLuaFlag2 getlua_flag2()

Gets the flag2 property (com.ibm.connector.lu0.host.DummyLuaFlag2) value.

Returns:
The flag2 property value.
See Also:
setlua_flag2(com.ibm.btt.samples.business.sna.lu0.host.DummyLuaFlag2)

getlua_luname

public java.lang.String getlua_luname()

Gets the lua_luname property (java.lang.String) value.

Returns:
The lua_luname property value.
See Also:
setlua_luname(char[])

getlua_max_length

public int getlua_max_length()

Gets the lua_max_length property (int) value.

Returns:
The lua_max_length property value.
See Also:
setlua_max_length(int)

getlua_message_type

public char getlua_message_type()

Gets the lua_message_type property (char) value.

Returns:
The lua_message_type property value.
See Also:
setlua_message_type(char)

getlua_opcode

public int getlua_opcode()

Gets the lua_opcode property (int) value.

Returns:
The lua_opcode property value.
See Also:
setlua_opcode(int)

getlua_post_handle

public long getlua_post_handle()

Gets the lua_post_handle property (long) value.

Returns:
The lua_post_handle property value.
See Also:
setlua_post_handle(long)

getlua_prim_rc

public int getlua_prim_rc()

Gets the lua_prim_rc property (int) value.

Returns:
The lua_prim_rc property value.
See Also:
setlua_prim_rc(int)

getlua_resv56

public java.lang.String getlua_resv56()

Gets the lua_resv56 property (java.lang.String) value.

Returns:
The lua_resv56 property value.
See Also:
setlua_resv56(char[])

getlua_rh

public DummyLuaRH getlua_rh()

Gets the lua_rh property (com.ibm.dse.services.DummyLuaRH) value.

Returns:
The lua_rh property value.
See Also:
setlua_rh(com.ibm.btt.samples.business.sna.lu0.host.DummyLuaRH)

getlua_sec_rc

public long getlua_sec_rc()

Gets the lua_sec_rc property (long) value.

Returns:
The lua_sec_rc property value.
See Also:
setlua_sec_rc(long)

getlua_sid

public long getlua_sid()

Gets the lua_sid property (long) value.

Returns:
The lua_sid property value.
See Also:
setlua_sid(long)

getlua_th

public DummyLuaTH getlua_th()

Gets the lua_th property (com.ibm.connector.lu0.host.DummyLuaTH) value.

Returns:
The lua_th property value.
See Also:
setlua_th(com.ibm.btt.samples.business.sna.lu0.host.DummyLuaTH)

getlua_verb

public int getlua_verb()

Gets the lua_verb property (int) value.

Returns:
The lua_verb property value.
See Also:
setlua_verb(int)

getlua_verb_length

public int getlua_verb_length()

Gets the lua_verb_length property (int) value.

Returns:
The lua_verb_length property value.
See Also:
setlua_verb_length(int)

getLuaCommon

public static DummyLuaCommon getLuaCommon()

Gets a new DummyLuaCommon instance.

Returns:
com.ibm.dse.services.lua_common

hasFi

public boolean hasFi()
Returns true if this instance has fi flag to true.

Returns:
boolean

isBeginBracket

public boolean isBeginBracket()
Returns true if this instance has Begin Bracket flag to true.

Returns:
boolean

isBeginChain

public boolean isBeginChain()
Returns true if this instance has Begin Chain flag to true.

Returns:
boolean

isCdi

public boolean isCdi()
Returns true if this instance has cdi flag to true.

Returns:
boolean

isEndBracket

public boolean isEndBracket()
Returns true if this instance has End Bracket flag to true.

Returns:
boolean

isInitself

public boolean isInitself()
Returns true if this instance is an initSelf message.

Returns:
boolean

isNegativeInitself

public boolean isNegativeInitself()
Returns true if this instance is a negative response to initSelf message.

Returns:
boolean

isNegativeResponse

public boolean isNegativeResponse()
Returns true if this instance is an negative response message.

Returns:
boolean

isNegativeResponseToInitself

public boolean isNegativeResponseToInitself()
Returns true if this instance is a negative response to initSelf message.

Returns:
boolean

isNSPE

public boolean isNSPE()
Returns true if this instance is a NSPE message.

Returns:
boolean

isPositiveResponseToInitself

public boolean isPositiveResponseToInitself()
Returns true if this instance is a positive response to initSelf message.

Returns:
boolean

isPositiveResponseToTermself

public boolean isPositiveResponseToTermself()
Returns true if this instance is a positive response to termself message.

Returns:
boolean

isTermself

public boolean isTermself()
Returns true if this instance is an termself message.

Returns:
boolean

newlua_data_ptr

public void newlua_data_ptr(int length)
Creates a new lua_dat_ptr char[].

Parameters:
length - int

setlua_cobol_offset

public void setlua_cobol_offset(int newlua_cobol_offset)

Sets the lua_cobol_offset property (int) value.

Parameters:
newlua_cobol_offset - The new value for the property.
See Also:
getlua_cobol_offset()

setlua_correlator

public void setlua_correlator(long newlua_correlator)

Sets the lua_correlator property (long) value.

Parameters:
newlua_correlator - The new value for the property.
See Also:
getlua_correlator()

setlua_data_length

public void setlua_data_length(int newlua_data_length)

Sets the lua_data_length property (int) value.

Parameters:
newlua_data_length - The new value for the property.
See Also:
getlua_data_length()

setlua_data_ptr

public void setlua_data_ptr(char[] newlua_data_ptr)

Sets the lua_data_ptr property (char[]) value.

Sets the lua_data_length property (int) value.

Parameters:
newlua_data_ptr - The new value for the property.
See Also:
getlua_data_ptr()

setlua_data_ptr

public void setlua_data_ptr(java.lang.String newlua_data_ptr)

Sets the lua_data_ptr property (java.lang.String) value.

Sets the lua_data_length property (int) value.

Parameters:
newlua_data_ptr - The new value for the property.
See Also:
getlua_data_ptr()

setlua_encr_decr_option

public void setlua_encr_decr_option(char newlua_encr_decr_option)

Sets the lua_encr_decr_option property (char) value.

Parameters:
newlua_encr_decr_option - The new value for the property.
See Also:
getlua_encr_decr_option()

setlua_extension_list_offset

public void setlua_extension_list_offset(int newlua_extension_list_offset)

Sets the lua_extension_list_offset property (int) value.

Parameters:
newlua_extension_list_offset - The new value for the property.
See Also:
getlua_extension_list_offset()

setlua_flag1

public void setlua_flag1(DummyLuaFlag1 newflag1)

Sets the flag1 property (com.ibm.connector.lu0.host.DummyLuaFlag1) value.

Parameters:
newflag1 - The new value for the property.
See Also:
getlua_flag1()

setlua_flag2

public void setlua_flag2(DummyLuaFlag2 newflag2)

Sets the flag2 property (com.ibm.connector.lu0.host.DummyLuaFlag2) value.

Parameters:
newflag2 - The new value for the property.
See Also:
getlua_flag2()

setlua_luname

public void setlua_luname(char[] newlua_luname)

Sets the lua_luname property (char[]) value.

Parameters:
newlua_luname - The new value for the property.
See Also:
getlua_luname()

setlua_luname

public void setlua_luname(java.lang.String newlua_luname)

Sets the lua_luname property (java.lang.String) value.

Parameters:
newlua_luname - The new value for the property.
See Also:
getlua_luname()

setlua_max_length

public void setlua_max_length(int newlua_max_length)

Sets the lua_max_length property (int) value.

Parameters:
newlua_max_length - The new value for the property.
See Also:
getlua_max_length()

setlua_message_type

public void setlua_message_type(char newlua_message_type)

Sets the lua_message_type property (char) value.

Parameters:
newlua_message_type - The new value for the property.
See Also:
getlua_message_type()

setlua_opcode

public void setlua_opcode(int newlua_opcode)

Sets the lua_opcode property (int) value.

Parameters:
newlua_opcode - The new value for the property.
See Also:
getlua_opcode()

setlua_post_handle

public void setlua_post_handle(long newlua_post_handle)

Sets the lua_post_handle property (long) value.

Parameters:
newlua_post_handle - The new value for the property.
See Also:
getlua_post_handle()

setlua_prim_rc

public void setlua_prim_rc(int newlua_prim_rc)

Sets the lua_prim_rc property (int) value.

Parameters:
newlua_prim_rc - The new value for the property.
See Also:
getlua_prim_rc()

setlua_resv56

public void setlua_resv56(char[] newlua_resv56)

Sets the lua_resv56 property (char[]) value.

Parameters:
newlua_resv56 - The new value for the property.
See Also:
getlua_resv56()

setlua_resv56

public void setlua_resv56(java.lang.String newlua_resv56)

Sets the lua_resv56 property (java.lang.String) value.

Parameters:
newlua_resv56 - The new value for the property.
See Also:
getlua_resv56()

setlua_rh

public void setlua_rh(DummyLuaRH newrh)

Sets the lua_rh property (com.ibm.connector.lu0.host.DummyLuaRH) value.

Parameters:
newrh - The new value for the property.
See Also:
getlua_rh()

setlua_sec_rc

public void setlua_sec_rc(long newlua_sec_rc)

Sets the lua_sec_rc property (long) value.

Parameters:
newlua_sec_rc - The new value for the property.
See Also:
getlua_sec_rc()

setlua_sid

public void setlua_sid(long newlua_sid)

Sets the lua_sid property (long) value.

Parameters:
newlua_sid - The new value for the property.
See Also:
getlua_sid()

setlua_th

public void setlua_th(DummyLuaTH newth)

Sets the lua_th property (com.ibm.connector.lu0.host.DummyLuaTH) value.

Parameters:
newth - The new value for the property.
See Also:
getlua_th()

setlua_verb

public void setlua_verb(int newlua_verb)

Sets the lua_verb property (int) value.

Parameters:
newlua_verb - The new value for the property.
See Also:
getlua_verb()

setlua_verb_length

public void setlua_verb_length(int newlua_verb_length)

Sets the lua_verb_length property (int) value.

Parameters:
newlua_verb_length - The new value for the property.
See Also:
getlua_verb_length()

toDummyLu0Message

public DummyLu0Message toDummyLu0Message()

Converts a common block to a LuMessage.

Returns:
Lu0Message

toString

public java.lang.String toString()

IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005