package proj;
import java.util.List;
import java.util.ArrayList;
import simplejar.JARClass;
public class BusinessClass {
private double doub2;
/** Creates a new instance of class */
public BusinessClass() {
}
public static boolean execLogin(String username, String password) {
// hard-coded
return ( username.equals("user") && password.equals("password") );
}
public static List execSearch(String crit) {
// hard-coded
List list = new ArrayList();
list.add("result 1");
list.add("result 2");
return list;
}
public static void testJar() {
// check log file for JAR class output
JARClass jarclass = new JARClass();
jarclass.useJARClass();
}
public double getDoub2() {
return doub2;
}
public void setDoub2(double d) {
doub2 = d;
}
}