package MyPackage;
public class Applicant {
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getAge() {
return age;
}
public void setAge(int age) {
this.age = age;
}
public boolean isValid() {
return valid;
}
public void setValid(boolean valid) {
this.valid = valid;
}
private String name;
private int age;
private boolean valid;
public Applicant(String nameP, int ageP) {
// TODO Auto-generated constructor stub
this.name = nameP;
this.age = ageP;
}
}
--
View this message in context: http://drools.46999.n3.nabble.com/Driving-License-application-tp4027403p4027405.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users