[rules-users] Driving License application

Mauricio Salatino salaboy at gmail.com
Tue Dec 24 04:28:37 EST 2013


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 at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



-- 
 - MyJourney @ http://salaboy.com <http://salaboy.wordpress.com>
 - Co-Founder @ http://www.jugargentina.org
 - Co-Founder @ http://www.jbug.com.ar

 - Salatino "Salaboy" Mauricio -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20131224/bb6f9c95/attachment.html 


More information about the rules-users mailing list