<div dir="ltr">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.<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Dec 24, 2013 at 10:15 AM, seyfullah <span dir="ltr"><<a href="mailto:seyfullahtikic@outlook.com" target="_blank">seyfullahtikic@outlook.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">package MyPackage;<br>
public class Applicant {<br>
<br>
public String getName() {<br>
return name;<br>
}<br>
public void setName(String name) {<br>
<a href="http://this.name" target="_blank">this.name</a> = name;<br>
}<br>
public int getAge() {<br>
return age;<br>
}<br>
public void setAge(int age) {<br>
this.age = age;<br>
}<br>
public boolean isValid() {<br>
return valid;<br>
}<br>
public void setValid(boolean valid) {<br>
this.valid = valid;<br>
}<br>
private String name;<br>
private int age;<br>
private boolean valid;<br>
public Applicant(String nameP, int ageP) {<br>
// TODO Auto-generated constructor stub<br>
<a href="http://this.name" target="_blank">this.name</a> = nameP;<br>
this.age = ageP;<br>
}<br>
<br>
}<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Driving-License-application-tp4027403p4027405.html" target="_blank">http://drools.46999.n3.nabble.com/Driving-License-application-tp4027403p4027405.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"> - MyJourney @ <a href="http://salaboy.wordpress.com" target="_blank">http://salaboy.com</a><div> - Co-Founder @ <a href="http://www.jugargentina.org" target="_blank">http://www.jugargentina.org</a><br>
- Co-Founder @ <a href="http://www.jbug.com.ar" target="_blank">http://www.jbug.com.ar</a><br> <br> - Salatino "Salaboy" Mauricio -</div></div>
</div>