So, if you don't touch in some way the boolean valid, value in your rules or in your java code it will be false not true.



On Tue, Dec 24, 2013 at 10:15 AM, seyfullah <seyfullahtikic@outlook.com> wrote:
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



--
 - MyJourney @ http://salaboy.com
 - Co-Founder @ http://www.jugargentina.org
 - Co-Founder @ http://www.jbug.com.ar
 
 - Salatino "Salaboy" Mauricio -