package common;
/**
* Define constants used in these examples. Modify this class
* correctly and examples in this package will execute.
* @author Bill Blalock
*
*/
public class Me {
/**
* Key for model output data queue which uniquely identifies this
* client. For System i client would be job number. For PC network
* clients hex form of last 3 parts of IP address.
*/
private static final String KEY = "255255";
/**
* Name which resolves to System i, IP address or host name.
* Setting value to empty string will cause JTOpen to prompt
* for the host name.
*/
private static final String SYSTEM = "";
/**
* System i user profile (id). Setting value to empty
* string will cause JTOpen to prompt for the user profile.
*/
private static final String USER = "";
/**
* Password for System i user profile. Setting value to empty
* string will cause JTOpen to prompt for the password.
*/
private static final String PASSWORD = "";
/**
* Demo model input data queue.
*/
private static final String MDLI_DTAQ = "/QSYS.LIB/BBLALOCKD.LIB/MDLI.DTAQ";
/**
* Demo model output keyed data queue.
*/
private static final String MDLO_DTAQ = "/QSYS.LIB/BBLALOCKD.LIB/MDLO.DTAQ";
/**
* File used for externally described data structure for demo model input data queue.
*/
private static final String MDLI_DS = "/QSYS.LIB/BBLALOCKD.LIB/MDLIDS01.FILE";
/**
* File used for externally described data structure for demo model output data queue.
*/
private static final String MDLO_DS = "/QSYS.LIB/BBLALOCKD.LIB/MDLODS01.FILE";
/**
* Return key for model output data queue which uniquely identifies this
* client.
* @return Output data queue key.
*/
public static final String getKEY() {
return KEY;
}
/**
* Get IFS path of external description if of model input data structure.
* @return IFS path of external description if of model input data structure
*/
public static final String getMDLI_DS() {
return MDLI_DS;
}
/**
* Get IFS path of model input data queue.
* @return IFS path of model input data queue.
*/
public static final String getMDLI_DTAQ() {
return MDLI_DTAQ;
}
/**
* Get IFS path of external description if of model output data structure.
* @return IFS path of external description if of model output data structure
*/
public static final String getMDLO_DS() {
return MDLO_DS;
}
/**
* Get IFS path of model output data queue.
* @return IFS path of model output data queue.
*/
public static final String getMDLO_DTAQ() {
return MDLO_DTAQ;
}
/**
* Get password for System i user profile.
* @return Password for System i user profile
*/
public static final String getPASSWORD() {
return PASSWORD;
}
/**
* Get System i name or IP address.
* @return System i name or IP address
*/
public static final String getSYSTEM() {
return SYSTEM;
}
/**
* Get System i user profile.
* @return System i user profile
*/
public static final String getUSER() {
return USER;
}
}