<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
As to anyone else trying to figure out the XML stuff, I recommend you
write something in DRL first and then use the XMLDumper to see what the
XML looks like. From there if you think something isn't documented,
that should be, please open a jira with the appropriate documentation
segment and we will add it to the manual.<br>
<br>
Mark<br>
<a class="moz-txt-link-abbreviated" href="mailto:prateek.katiyar@wipro.com">prateek.katiyar@wipro.com</a> wrote:
<blockquote
cite="mid:A94AD757879CE142B7CEBC3E6FF5D3EC02C6A9AF@BLR-EC-MBX02.wipro.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.2900.3059" name="GENERATOR">
<div id="idOWAReplyText43258" dir="ltr">
<div dir="ltr"> </div>
</div>
<div dir="ltr"><br>
<hr tabindex="-1">
<font face="Tahoma" size="2"><b>From:</b> Prateek Katiyar (WT01 - ES-
eEnabling)<br>
<b>Sent:</b> Thu 9/27/2007 6:57 PM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<b>Subject:</b> About Drools<br>
</font><br>
</div>
<div dir="ltr">
<div id="idOWAReplyText53523" dir="ltr">
<div dir="ltr"> </div>
</div>
<div dir="ltr"><br>
<hr tabindex="-1">
</div>
<div dir="ltr">
<div><font color="#000000" face="Arial" size="2">Hi </font></div>
<div> </div>
<div><font face="Arial" size="2">I am also a part of the user-list.</font></div>
<div> </div>
<div><font face="Arial" size="2">I am using Drools 4.0 with XML rule
language.</font></div>
<div><font face="Arial" size="2">I want to use the same .xml file
with the two java programs.</font></div>
<div><font face="Arial" size="2">Here are my programs</font></div>
<div> </div>
<div><font face="Arial" size="2">First java program:=</font></div>
<div> </div>
<b><font color="#7f0055" size="2"></font></b>
<p align="left"><b><font color="#7f0055" size="2">package</font></b><font
size="2"> com.wipro.rfq.report.bean;</font></p>
<b><font color="#7f0055" size="2">
</font></b>
<p align="left"><b><font color="#7f0055" size="2">import</font></b><font
size="2"> java.io.InputStreamReader;</font></p>
<b><font color="#7f0055" size="2"></font></b>
<p align="left"><b><font color="#7f0055" size="2">import</font></b><font
size="2"> java.io.Reader;</font></p>
<b><font color="#7f0055" size="2"></font></b>
<p align="left"><b><font color="#7f0055" size="2">import</font></b><font
size="2"> java.util.regex.Pattern;</font></p>
<b><font color="#7f0055" size="2">
</font></b>
<p align="left"><b><font color="#7f0055" size="2">import</font></b><font
size="2"> org.drools.RuleBase;</font></p>
<b><font color="#7f0055" size="2"></font></b>
<p align="left"><b><font color="#7f0055" size="2">import</font></b><font
size="2"> org.drools.StatefulSession;</font></p>
<b><font color="#7f0055" size="2"></font></b>
<p align="left"><b><font color="#7f0055" size="2">import</font></b><font
size="2"> org.drools.RuleBaseFactory;</font></p>
<b><font color="#7f0055" size="2"></font></b>
<p align="left"><b><font color="#7f0055" size="2">import</font></b><font
size="2"> org.drools.compiler.PackageBuilder;</font></p>
<b><font color="#7f0055" size="2"></font></b>
<p align="left"><b><font color="#7f0055" size="2">import</font></b><font
size="2"> org.drools.rule.Package;</font></p>
<b><font color="#7f0055" size="2"></font></b>
<p align="left"><b><font color="#7f0055" size="2">import</font></b><font
size="2"> org.drools.base.RuleNameStartsWithAgendaFilter;</font></p>
<b><font color="#7f0055" size="2">
</font></b>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">class</font></b><font
size="2"> Validator {</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@param</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">args</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">static</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> main(String[] args) {</font></p>
<p align="left"><font color="#3f7f5f" size="2">// </font><b><font
color="#7f9fbf" size="2">TODO</font></b><font color="#3f7f5f" size="2">
Auto-generated method stub</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">try</font></b><font
size="2"> {</font></p>
<p align="left"><font size="2">String date=</font><font
color="#2a00ff" size="2">"24-10-2000"</font><font size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">if</font></b><font
size="2">(date!=</font><font color="#2a00ff" size="2">""</font><font
size="2">){</font></p>
<p align="left"><font size="2">String dd1=date.substring(0,2);</font></p>
<p align="left"><font size="2">String mm1=date.substring(3,5);</font></p>
<p align="left"><b><font color="#7f0055" size="2">int</font></b><font
size="2"> dd=Integer.<i>parseInt</i>(dd1);</font></p>
<p align="left"><b><font color="#7f0055" size="2">int</font></b><font
size="2"> mm=Integer.<i>parseInt</i>(mm1);</font></p>
<p align="left"><b><font color="#7f0055" size="2">if</font></b><font
size="2">(Pattern.<i>matches</i>(</font><font color="#2a00ff" size="2">"..-..-...."</font><font
size="2">,date)){</font></p>
<p align="left"><font size="2">System.</font><i><font color="#0000c0"
size="2">out</font></i><font size="2">.print(</font><font
color="#2a00ff" size="2">"The entered date is in proper format"</font><font
size="2">);</font></p>
<p align="left"><b><font color="#7f0055" size="2">if</font></b><font
size="2">((dd<1)||(dd>31)||(mm<1)||(mm>12))</font></p>
<p align="left"><font size="2">System.</font><i><font color="#0000c0"
size="2">out</font></i><font size="2">.println(</font><font
color="#2a00ff" size="2">" but not valid."</font><font size="2">);</font></p>
<p align="left"><b><font color="#7f0055" size="2">else</font></b></p>
<font size="2"></font>
<p align="left"><font size="2">System.</font><i><font color="#0000c0"
size="2">out</font></i><font size="2">.println(</font><font
color="#2a00ff" size="2">"."</font><font size="2">);</font></p>
<p align="left"><font size="2">} </font></p>
<p align="left"><b><font color="#7f0055" size="2">else</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">if</font></b><font
size="2">(date.length()>10)</font></p>
<p align="left"><font size="2">System.</font><i><font color="#0000c0"
size="2">out</font></i><font size="2">.println(</font><font
color="#2a00ff" size="2">"The entered date is not in proper format"</font><font
size="2">);</font></p>
<p align="left"><b><font color="#7f0055" size="2">else</font></b></p>
<font size="2"></font>
<p align="left"><font size="2">System.</font><i><font color="#0000c0"
size="2">out</font></i><font size="2">.println(</font><font
color="#2a00ff" size="2">"The entered date is not in proper format"</font><font
size="2">);</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f7f5f" size="2">//load up the rulebase</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">final</font></b><font
size="2"> RuleBase ruleBase = <i>readRule</i>();</font></p>
<p align="left"><font size="2">StatefulSession workingMemory =
ruleBase.newStatefulSession();</font></p>
<p align="left"><font size="2">RFQBean rfqbean=</font><b><font
color="#7f0055" size="2">new</font></b><font size="2"> RFQBean();</font></p>
<p align="left"><font size="2">rfqbean.setM_country(</font><font
color="#2a00ff" size="2">"India"</font><font size="2">);</font></p>
<p align="left"><font size="2">rfqbean.setM_deadLine(</font><font
color="#2a00ff" size="2">"two days"</font><font size="2">);</font></p>
<p align="left"><font size="2">rfqbean.setM_dueDate(date);</font></p>
<p align="left"><font size="2">rfqbean.setM_fsUMC(</font><font
color="#2a00ff" size="2">"4"</font><font size="2">);</font></p>
<p align="left"><font size="2">rfqbean.setM_lotSize(</font><font
color="#2a00ff" size="2">"5"</font><font size="2">);</font></p>
<p align="left"><font size="2">rfqbean.setM_mtrlType(</font><font
color="#2a00ff" size="2">"6"</font><font size="2">);</font></p>
<p align="left"><font size="2">rfqbean.setM_partId(</font><font
color="#2a00ff" size="2">"1100"</font><font size="2">);</font></p>
<p align="left"><font size="2">rfqbean.setM_product(</font><font
color="#2a00ff" size="2">"kjhkihkj"</font><font size="2">);</font></p>
<p align="left"><font size="2">rfqbean.setM_rfqId(</font><font
color="#2a00ff" size="2">"null"</font><font size="2">);</font></p>
<p align="left"><font color="#3f7f5f" size="2">//workingMemory.insert(rfqbean);</font></p>
<font size="2"></font>
<p align="left"><font size="2">workingMemory.setGlobal(</font><font
color="#2a00ff" size="2">"rfq"</font><font size="2">,rfqbean);</font></p>
<p align="left"><font size="2">workingMemory.fireAllRules(</font><b><font
color="#7f0055" size="2">new</font></b><font size="2">
RuleNameStartsWithAgendaFilter( </font><font color="#2a00ff" size="2">"Check"</font><font
size="2"> ));</font></p>
<p align="left"><font color="#3f7f5f" size="2">//Agenda
a=workingMemory.getAgenda();</font></p>
<font size="2"></font>
<p align="left"><font color="#3f7f5f" size="2">//System.out.println(a);</font></p>
<font size="2"></font>
<p align="left"><font size="2">}</font><b><font color="#7f0055"
size="2">catch</font></b><font size="2">(StringIndexOutOfBoundsException
s){</font></p>
<p align="left"><font size="2">System.</font><i><font color="#0000c0"
size="2">out</font></i><font size="2">.println(</font><font
color="#2a00ff" size="2">"The entered date is not in proper format "</font><font
size="2">+s);</font></p>
<p align="left"><font size="2">}</font><b><font color="#7f0055"
size="2">catch</font></b><font size="2">(Exception e){</font></p>
<p align="left"><font size="2">e.printStackTrace();</font></p>
<p align="left"><font color="#3f7f5f" size="2">//System.out.println("The
description of error is "+e);</font></p>
<font size="2"></font>
<p align="left"><font size="2">}</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">static</font></b><font
size="2"> RuleBase readRule() </font><b><font color="#7f0055" size="2">throws</font></b><font
size="2"> Exception {</font></p>
<p align="left"><b><font color="#7f0055" size="2">final</font></b><font
size="2"> Reader source = </font><b><font color="#7f0055" size="2">new</font></b><font
size="2"> InputStreamReader( Validator.</font><b><font color="#7f0055"
size="2">class</font></b><font size="2">.getResourceAsStream( </font><font
color="#2a00ff" size="2">"/rules/Check-new.xml"</font><font size="2">
) );</font></p>
<p align="left"><b><font color="#7f0055" size="2">final</font></b><font
size="2"> PackageBuilder builder = </font><b><font color="#7f0055"
size="2">new</font></b><font size="2"> PackageBuilder();</font></p>
<p align="left"><font size="2">builder.addPackageFromXml( source );</font></p>
<p align="left"><b><font color="#7f0055" size="2">final</font></b><font
size="2"> Package pkg = builder.getPackage();</font></p>
<p align="left"><b><font color="#7f0055" size="2">final</font></b><font
size="2"> RuleBase ruleBase = RuleBaseFactory.<i>newRuleBase</i>();</font></p>
<p align="left"><font size="2">ruleBase.addPackage( pkg );</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> ruleBase;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">static</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">class</font></b><font
size="2"> RFQBean {</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> String </font><font color="#0000c0" size="2">m_rfqId</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> String </font><font color="#0000c0" size="2">m_partId</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> String </font><font color="#0000c0" size="2">m_product</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> String </font><font color="#0000c0" size="2">m_country</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> String </font><font color="#0000c0" size="2">m_lotSize</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> String </font><font color="#0000c0" size="2">m_mtrlType</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> String </font><font color="#0000c0" size="2">m_fsUMC</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> String </font><font color="#0000c0" size="2">m_deadLine</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> String </font><font color="#0000c0" size="2">m_dueDate</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> String getM_country() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">m_country</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setM_country(String m_country) {</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">m_country</font><font
size="2"> = m_country;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> String getM_deadLine() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">m_deadLine</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setM_deadLine(String line) {</font></p>
<p align="left"><font color="#0000c0" size="2">m_deadLine</font><font
size="2"> = line;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> String getM_dueDate() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">m_dueDate</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setM_dueDate(String date) {</font></p>
<p align="left"><font color="#0000c0" size="2">m_dueDate</font><font
size="2"> = date;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> String getM_fsUMC() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">m_fsUMC</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setM_fsUMC(String m_fsumc) {</font></p>
<p align="left"><font color="#0000c0" size="2">m_fsUMC</font><font
size="2"> = m_fsumc;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> String getM_lotSize() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">m_lotSize</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setM_lotSize(String size) {</font></p>
<p align="left"><font color="#0000c0" size="2">m_lotSize</font><font
size="2"> = size;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> String getM_mtrlType() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">m_mtrlType</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setM_mtrlType(String type) {</font></p>
<p align="left"><font color="#0000c0" size="2">m_mtrlType</font><font
size="2"> = type;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> String getM_partId() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">m_partId</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setM_partId(String id) {</font></p>
<p align="left"><font color="#0000c0" size="2">m_partId</font><font
size="2"> = id;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> String getM_product() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">m_product</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setM_product(String m_product) {</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">m_product</font><font
size="2"> = m_product;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> String getM_rfqId() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">m_rfqId</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setM_rfqId(String id) {</font></p>
<p align="left"><font color="#0000c0" size="2">m_rfqId</font><font
size="2"> = id;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font size="2">}</font></p>
<div>Second java program:=</div>
<div> </div>
<b><font color="#7f0055" size="2"></font></b>
<p align="left"><b><font color="#7f0055" size="2">package</font></b><font
size="2"> com.wipro.loan.validation.bean;</font></p>
<b><font color="#7f0055" size="2">
</font></b>
<p align="left"><b><font color="#7f0055" size="2">import</font></b><font
size="2"> java.io.InputStreamReader;</font></p>
<b><font color="#7f0055" size="2"></font></b>
<p align="left"><b><font color="#7f0055" size="2">import</font></b><font
size="2"> java.io.Reader;</font></p>
<b><font color="#7f0055" size="2"></font></b>
<p align="left"><b><font color="#7f0055" size="2">import</font></b><font
size="2"> java.math.BigDecimal;</font></p>
<b><font color="#7f0055" size="2">
</font></b>
<p align="left"><b><font color="#7f0055" size="2">import</font></b><font
size="2"> org.drools.RuleBase;</font></p>
<b><font color="#7f0055" size="2"></font></b>
<p align="left"><b><font color="#7f0055" size="2">import</font></b><font
size="2"> org.drools.StatefulSession;</font></p>
<b><font color="#7f0055" size="2"></font></b>
<p align="left"><b><font color="#7f0055" size="2">import</font></b><font
size="2"> org.drools.RuleBaseFactory;</font></p>
<b><font color="#7f0055" size="2"></font></b>
<p align="left"><b><font color="#7f0055" size="2">import</font></b><font
size="2"> org.drools.compiler.PackageBuilder;</font></p>
<b><font color="#7f0055" size="2"></font></b>
<p align="left"><b><font color="#7f0055" size="2">import</font></b><font
size="2"> org.drools.rule.Package;</font></p>
<b><font color="#7f0055" size="2"></font></b>
<p align="left"><b><font color="#7f0055" size="2">import</font></b><font
size="2"> org.drools.base.RuleNameStartsWithAgendaFilter;</font></p>
<b><font color="#7f0055" size="2">
</font></b>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">class</font></b><font
size="2"> Final {</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@param</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">args</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">static</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> main(String[] args) {</font></p>
<p align="left"><font color="#3f7f5f" size="2">// </font><b><font
color="#7f9fbf" size="2">TODO</font></b><font color="#3f7f5f" size="2">
Auto-generated method stub</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">try</font></b><font
size="2"> {</font></p>
<p align="left"><font color="#3f7f5f" size="2">//load up the rulebase</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">final</font></b><font
size="2"> RuleBase ruleBase = <i>readRule</i>();</font></p>
<p align="left"><font size="2">StatefulSession workingMemory =
ruleBase.newStatefulSession();</font></p>
<p align="left"><font size="2"> </font></p>
<p align="left"><font color="#3f7f5f" size="2">//go !</font></p>
<font size="2"></font>
<p align="left"><font size="2">LoanApplicationBean loanbean = </font><b><font
color="#7f0055" size="2">new</font></b><font size="2">
LoanApplicationBean();</font></p>
<p align="left"><font size="2">loanbean.setFullName(</font><font
color="#2a00ff" size="2">""</font><font size="2">);</font></p>
<p align="left"><font size="2">workingMemory.setGlobal(</font><font
color="#2a00ff" size="2">"loanApplication"</font><font size="2">,loanbean);</font></p>
<p align="left"><font size="2">workingMemory.fireAllRules(</font><b><font
color="#7f0055" size="2">new</font></b><font size="2">
RuleNameStartsWithAgendaFilter(</font><font color="#2a00ff" size="2">"validate"</font><font
size="2">));</font></p>
<p align="left"><font size="2">} </font><b><font color="#7f0055"
size="2">catch</font></b><font size="2"> ( </font><b><font
color="#7f0055" size="2">final</font></b><font size="2"> Throwable t )
{</font></p>
<p align="left"><font size="2">t.printStackTrace();</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><font color="#3f5fbf" size="2">Please</font><font size="2"> </font><font
color="#3f5fbf" size="2">note</font><font size="2"> </font><font
color="#3f5fbf" size="2">that</font><font size="2"> </font><font
color="#3f5fbf" size="2">this</font><font size="2"> </font><font
color="#3f5fbf" size="2">is</font><font size="2"> </font><font
color="#3f5fbf" size="2">the</font><font size="2"> </font><font
color="#3f5fbf" size="2">"low</font><font size="2"> </font><font
color="#3f5fbf" size="2">level"</font><font size="2"> </font><font
color="#3f5fbf" size="2">rule</font><font size="2"> </font><font
color="#3f5fbf" size="2">assembly</font><font size="2"> </font><font
color="#3f5fbf" size="2">API.</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">static</font></b><font
size="2"> RuleBase readRule() </font><b><font color="#7f0055" size="2">throws</font></b><font
size="2"> Exception {</font></p>
<p align="left"><font color="#3f7f5f" size="2">//read in the source</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">final</font></b><font
size="2"> Reader source = </font><b><font color="#7f0055" size="2">new</font></b><font
size="2"> InputStreamReader( Final.</font><b><font color="#7f0055"
size="2">class</font></b><font size="2">.getResourceAsStream( </font><font
color="#2a00ff" size="2">"/rules/Check-new.xml"</font><font size="2">
) );</font></p>
<p align="left"><font color="#3f7f5f" size="2">//optionally read in
the DSL (if you are using it).</font></p>
<font size="2"></font>
<p align="left"><font color="#3f7f5f" size="2">//Reader dsl = new
InputStreamReader( DroolsTest.class.getResourceAsStream( "/mylang.dsl"
) );</font></p>
<font size="2"></font>
<p align="left"><font color="#3f7f5f" size="2">//Use package builder
to build up a rule package.</font></p>
<font size="2"></font>
<p align="left"><font color="#3f7f5f" size="2">//An alternative lower
level class called "DrlParser" can also be used...</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">final</font></b><font
size="2"> PackageBuilder builder = </font><b><font color="#7f0055"
size="2">new</font></b><font size="2"> PackageBuilder();</font></p>
<p align="left"><font color="#3f7f5f" size="2">//this wil parse and
compile in one step</font></p>
<font size="2"></font>
<p align="left"><font color="#3f7f5f" size="2">//NOTE: There are 2
methods here, the one argument one is for normal DRL.</font></p>
<font size="2"></font>
<p align="left"><font size="2">builder.addPackageFromXml( source );</font></p>
<p align="left"><font color="#3f7f5f" size="2">//Use the following
instead of above if you are using a DSL:</font></p>
<font size="2"></font>
<p align="left"><font color="#3f7f5f" size="2">//builder.addPackageFromDrl(
source, dsl );</font></p>
<font size="2"></font>
<p align="left"><font color="#3f7f5f" size="2">//get the compiled
package (which is serializable)</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">final</font></b><font
size="2"> Package pkg = builder.getPackage();</font></p>
<p align="left"><font color="#3f7f5f" size="2">//add the package to a
rulebase (deploy the rule package).</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">final</font></b><font
size="2"> RuleBase ruleBase = RuleBaseFactory.<i>newRuleBase</i>();</font></p>
<p align="left"><font size="2">ruleBase.addPackage( pkg );</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> ruleBase;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">static</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">class</font></b><font
size="2"> LoanApplicationBean {</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">static</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">final</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">long</font></b><font
size="2"> </font><i><font color="#0000c0" size="2">serialVersionUID</font></i><font
size="2"> = 1L;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">long</font></b><font
size="2"> </font><font color="#0000c0" size="2">loanAppId</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> String </font><font color="#0000c0" size="2">fullName</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> String </font><font color="#0000c0" size="2">mobileNumber</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> String </font><font color="#0000c0" size="2">salaryRange</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> String </font><font color="#0000c0" size="2">loanAmt</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> String </font><font color="#0000c0" size="2">loanTenure</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> String </font><font color="#0000c0" size="2">interestRate</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> String </font><font color="#0000c0" size="2">prefix</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> String </font><font color="#0000c0" size="2">extension</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> String </font><font color="#0000c0" size="2">firstName</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">int</font></b><font
size="2"> </font><font color="#0000c0" size="2">day</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> String </font><font color="#0000c0" size="2">code</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">int</font></b><font
size="2"> </font><font color="#0000c0" size="2">month</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">int</font></b><font
size="2"> </font><font color="#0000c0" size="2">year</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> String </font><font color="#0000c0" size="2">date</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> String </font><font color="#0000c0" size="2">email</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> String </font><font color="#0000c0" size="2">Name</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> String </font><font color="#0000c0" size="2">lastName</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> String </font><font color="#0000c0" size="2">ssn</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> String </font><font color="#0000c0" size="2">birthDate</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> String </font><font color="#0000c0" size="2">dayTimePhone</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> BigDecimal </font><font color="#0000c0" size="2">purchasePrice</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">long</font></b><font
size="2"> </font><font color="#0000c0" size="2">loanAmount</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> String </font><font color="#0000c0" size="2">strLoanAmount</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> String </font><font color="#0000c0" size="2">propertyCity</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> String </font><font color="#0000c0" size="2">propertyState</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> String </font><font color="#0000c0" size="2">propertyZip</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> String </font><font color="#0000c0" size="2">loanType</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> String </font><font color="#0000c0" size="2">loanTerm</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> String </font><font color="#0000c0" size="2">loanProduct</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">int</font></b><font
size="2"> </font><font color="#0000c0" size="2">confirmationNumber</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">boolean</font></b><font
size="2"> </font><font color="#0000c0" size="2">validation</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> String </font><font color="#0000c0" size="2">strResMsg</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">double</font></b><font
size="2"> </font><font color="#0000c0" size="2">interest</font><font
size="2">;</font></p>
<p align="left"><b><font color="#7f0055" size="2">private</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">int</font></b><font
size="2"> </font><font color="#0000c0" size="2">tenure</font><font
size="2">;</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@return</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">Returns</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">birthDate.</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> String getBirthDate() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">birthDate</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@param</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">birthDate</font><font
size="2"> </font><font color="#3f5fbf" size="2">The</font><font
size="2"> </font><font color="#3f5fbf" size="2">birthDate</font><font
size="2"> </font><font color="#3f5fbf" size="2">to</font><font
size="2"> </font><font color="#3f5fbf" size="2">set.</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setBirthDate(String birthDate) {</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">birthDate</font><font
size="2"> = birthDate;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@return</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">Returns</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">confirmationNumber.</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">int</font></b><font
size="2"> getConfirmationNumber() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">confirmationNumber</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@param</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">confirmationNumber</font><font
size="2"> </font><font color="#3f5fbf" size="2">The</font><font
size="2"> </font><font color="#3f5fbf" size="2">confirmationNumber</font><font
size="2"> </font><font color="#3f5fbf" size="2">to</font><font
size="2"> </font><font color="#3f5fbf" size="2">set.</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setConfirmationNumber(</font><b><font color="#7f0055"
size="2">int</font></b><font size="2"> confirmationNumber) {</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">confirmationNumber</font><font
size="2"> = confirmationNumber;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@return</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">Returns</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">dayTimePhone.</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> String getDayTimePhone() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">dayTimePhone</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@param</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">dayTimePhone</font><font
size="2"> </font><font color="#3f5fbf" size="2">The</font><font
size="2"> </font><font color="#3f5fbf" size="2">dayTimePhone</font><font
size="2"> </font><font color="#3f5fbf" size="2">to</font><font
size="2"> </font><font color="#3f5fbf" size="2">set.</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setDayTimePhone(String dayTimePhone) {</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">dayTimePhone</font><font
size="2"> = dayTimePhone;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@return</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">Returns</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">firstName.</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> String getFirstName() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">firstName</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@param</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">firstName</font><font
size="2"> </font><font color="#3f5fbf" size="2">The</font><font
size="2"> </font><font color="#3f5fbf" size="2">firstName</font><font
size="2"> </font><font color="#3f5fbf" size="2">to</font><font
size="2"> </font><font color="#3f5fbf" size="2">set.</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setFirstName(String firstName) {</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">firstName</font><font
size="2"> = firstName;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@return</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">Returns</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">lastName.</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> String getLastName() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">lastName</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@param</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">lastName</font><font
size="2"> </font><font color="#3f5fbf" size="2">The</font><font
size="2"> </font><font color="#3f5fbf" size="2">lastName</font><font
size="2"> </font><font color="#3f5fbf" size="2">to</font><font
size="2"> </font><font color="#3f5fbf" size="2">set.</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setLastName(String lastName) {</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">lastName</font><font
size="2"> = lastName;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@return</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">Name</font><font
size="2"> </font><font color="#3f5fbf" size="2">returns</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">name</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> String getName() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">Name</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@param</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">Name</font><font
size="2"> </font><font color="#3f5fbf" size="2">sets</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">Name</font><font
size="2"> </font></p>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setName(String Name) {</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">Name</font><font
size="2"> = Name;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@return</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">returns</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">emailid</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> String getEmail() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">email</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@param</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">email</font><font
size="2"> </font><font color="#3f5fbf" size="2">sets</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">emailid</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setEmail(String email) {</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">email</font><font
size="2"> = email;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@return</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">returns</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">date</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> String getDate(){</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">date</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@param</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">date</font><font
size="2"> </font><font color="#3f5fbf" size="2">Sets</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">date</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setDate(String date) {</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">date</font><font
size="2">=date;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@return</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">returns</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">area</font><font
size="2"> </font><font color="#3f5fbf" size="2">code</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> String getCode(){</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">code</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@param</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">code</font><font
size="2"> </font><font color="#3f5fbf" size="2">sets</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">area</font><font
size="2"> </font><font color="#3f5fbf" size="2">code</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setCode(String code){</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">code</font><font
size="2">=code;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@return</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">returns</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">prefix</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> String getPrefix(){</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">prefix</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@param</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">prefix</font><font
size="2"> </font><font color="#3f5fbf" size="2">Sets</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">prefix</font><font
size="2"> </font><font color="#3f5fbf" size="2">of</font><font
size="2"> </font><font color="#3f5fbf" size="2">phone</font><font
size="2"> </font><font color="#3f5fbf" size="2">number</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setPrefix(String prefix){</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">prefix</font><font
size="2">=prefix;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@return</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">returns</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">extension</font><font
size="2"> </font><font color="#3f5fbf" size="2">of</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">phone</font><font
size="2"> </font><font color="#3f5fbf" size="2">number</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> String getExtension(){</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">extension</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@param</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">extension</font><font
size="2"> </font><font color="#3f5fbf" size="2">sets</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">extension</font><font
size="2"> </font><font color="#3f5fbf" size="2">of</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">phone</font><font
size="2"> </font><font color="#3f5fbf" size="2">number</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setExtension(String extension){</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">extension</font><font
size="2">=extension;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@return</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">returns</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">date</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">int</font></b><font
size="2"> getDay(){</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">day</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@param</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">day</font><font
size="2"> </font><font color="#3f5fbf" size="2">sets</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">day</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setDay(</font><b><font color="#7f0055" size="2">int</font></b><font
size="2"> day){</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">day</font><font
size="2">=day;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@return</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">returns</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">month</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">int</font></b><font
size="2"> getmonth(){</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">month</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@param</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">month</font><font
size="2"> </font><font color="#3f5fbf" size="2">sets</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">month</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setmonth(</font><b><font color="#7f0055" size="2">int</font></b><font
size="2"> month){</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">month</font><font
size="2">=month;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@return</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">returns</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">year</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">int</font></b><font
size="2"> getYear(){</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">year</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@param</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">year</font><font
size="2"> </font><font color="#3f5fbf" size="2">sets</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">year</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setYear(</font><b><font color="#7f0055" size="2">int</font></b><font
size="2"> year){</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">year</font><font
size="2">=year;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@return</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">Returns</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">loanAmount.</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">long</font></b><font
size="2"> getLoanAmount() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">loanAmount</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@param</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">loanAmount</font><font
size="2"> </font><font color="#3f5fbf" size="2">The</font><font
size="2"> </font><font color="#3f5fbf" size="2">loanAmount</font><font
size="2"> </font><font color="#3f5fbf" size="2">to</font><font
size="2"> </font><font color="#3f5fbf" size="2">set.</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setLoanAmount(</font><b><font color="#7f0055" size="2">long</font></b><font
size="2"> loanAmount) {</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">loanAmount</font><font
size="2"> = loanAmount;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@return</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">returns</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">tenure</font><font
size="2"> </font><font color="#3f5fbf" size="2">or</font><font
size="2"> </font><font color="#3f5fbf" size="2">term</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">int</font></b><font
size="2"> getTenure() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">tenure</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@param</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">tenure</font><font
size="2"> </font><font color="#3f5fbf" size="2">sets</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">tenure</font><font
size="2"> </font><font color="#3f5fbf" size="2">or</font><font
size="2"> </font><font color="#3f5fbf" size="2">term</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setTenure(</font><b><font color="#7f0055" size="2">int</font></b><font
size="2"> tenure) {</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">tenure</font><font
size="2"> = tenure;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@return</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">returns</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">interest</font><font
size="2"> </font></p>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">double</font></b><font
size="2"> getInterest() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">interest</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@param</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">interest</font><font
size="2"> </font><font color="#3f5fbf" size="2">sets</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">interest</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setInterest(</font><b><font color="#7f0055" size="2">double</font></b><font
size="2"> interest) {</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">interest</font><font
size="2"> = interest;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@return</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">Returns</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">loanAppId.</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@hibernate</font></b><font
color="#3f5fbf" size="2">.id</font><font size="2"> </font><font
color="#3f5fbf" size="2">column="LoanAppId"</font><font size="2"> </font><font
color="#3f5fbf" size="2">generator</font><font color="#7f7f9f" size="2">-</font><font
color="#3f5fbf" size="2">class="identity"</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">long</font></b><font
size="2"> getLoanAppId() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">loanAppId</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@param</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">loanAppId</font><font
size="2"> </font><font color="#3f5fbf" size="2">The</font><font
size="2"> </font><font color="#3f5fbf" size="2">loanAppId</font><font
size="2"> </font><font color="#3f5fbf" size="2">to</font><font
size="2"> </font><font color="#3f5fbf" size="2">set.</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setLoanAppId(</font><b><font color="#7f0055" size="2">long</font></b><font
size="2"> loanAppId) {</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">loanAppId</font><font
size="2"> = loanAppId;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@return</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">Returns</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">loanProduct.</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> String getLoanProduct() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">loanProduct</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@param</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">loanProduct</font><font
size="2"> </font><font color="#3f5fbf" size="2">The</font><font
size="2"> </font><font color="#3f5fbf" size="2">loanProduct</font><font
size="2"> </font><font color="#3f5fbf" size="2">to</font><font
size="2"> </font><font color="#3f5fbf" size="2">set.</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setLoanProduct(String loanProduct) {</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">loanProduct</font><font
size="2"> = loanProduct;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@return</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">Returns</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">loanTerm.</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> String getLoanTerm() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">loanTerm</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@param</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">loanTerm</font><font
size="2"> </font><font color="#3f5fbf" size="2">The</font><font
size="2"> </font><font color="#3f5fbf" size="2">loanTerm</font><font
size="2"> </font><font color="#3f5fbf" size="2">to</font><font
size="2"> </font><font color="#3f5fbf" size="2">set.</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setLoanTerm(String loanTerm) {</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">loanTerm</font><font
size="2"> = loanTerm;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@return</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">Returns</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">loanType.</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> String getLoanType() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">loanType</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@param</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">loanType</font><font
size="2"> </font><font color="#3f5fbf" size="2">The</font><font
size="2"> </font><font color="#3f5fbf" size="2">loanType</font><font
size="2"> </font><font color="#3f5fbf" size="2">to</font><font
size="2"> </font><font color="#3f5fbf" size="2">set.</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setLoanType(String loanType) {</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">loanType</font><font
size="2"> = loanType;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@return</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">Returns</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">propertyCity.</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> String getPropertyCity() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">propertyCity</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@param</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">propertyCity</font><font
size="2"> </font><font color="#3f5fbf" size="2">The</font><font
size="2"> </font><font color="#3f5fbf" size="2">propertyCity</font><font
size="2"> </font><font color="#3f5fbf" size="2">to</font><font
size="2"> </font><font color="#3f5fbf" size="2">set.</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setPropertyCity(String propertyCity) {</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">propertyCity</font><font
size="2"> = propertyCity;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@return</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">Returns</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">propertyState.</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> String getPropertyState() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">propertyState</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@param</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">propertyState</font><font
size="2"> </font><font color="#3f5fbf" size="2">The</font><font
size="2"> </font><font color="#3f5fbf" size="2">propertyState</font><font
size="2"> </font><font color="#3f5fbf" size="2">to</font><font
size="2"> </font><font color="#3f5fbf" size="2">set.</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setPropertyState(String propertyState) {</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">propertyState</font><font
size="2"> = propertyState;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@return</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">Returns</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">propertyZip.</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> String getPropertyZip() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">propertyZip</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@param</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">propertyZip</font><font
size="2"> </font><font color="#3f5fbf" size="2">The</font><font
size="2"> </font><font color="#3f5fbf" size="2">propertyZip</font><font
size="2"> </font><font color="#3f5fbf" size="2">to</font><font
size="2"> </font><font color="#3f5fbf" size="2">set.</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setPropertyZip(String propertyZip) {</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">propertyZip</font><font
size="2"> = propertyZip;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@return</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">Returns</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">purchasePrice.</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> BigDecimal getPurchasePrice() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">purchasePrice</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@param</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">purchasePrice</font><font
size="2"> </font><font color="#3f5fbf" size="2">The</font><font
size="2"> </font><font color="#3f5fbf" size="2">purchasePrice</font><font
size="2"> </font><font color="#3f5fbf" size="2">to</font><font
size="2"> </font><font color="#3f5fbf" size="2">set.</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setPurchasePrice(BigDecimal purchasePrice) {</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">purchasePrice</font><font
size="2"> = purchasePrice;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@return</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">Returns</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">ssn.</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> String getSsn() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">ssn</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@param</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">ssn</font><font
size="2"> </font><font color="#3f5fbf" size="2">The</font><font
size="2"> </font><font color="#3f5fbf" size="2">ssn</font><font
size="2"> </font><font color="#3f5fbf" size="2">to</font><font
size="2"> </font><font color="#3f5fbf" size="2">set.</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setSsn(String ssn) {</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">ssn</font><font
size="2"> = ssn;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@return</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">Returns</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">validation.</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">boolean</font></b><font
size="2"> isValidation() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">validation</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@param</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">validation</font><font
size="2"> </font><font color="#3f5fbf" size="2">The</font><font
size="2"> </font><font color="#3f5fbf" size="2">validation</font><font
size="2"> </font><font color="#3f5fbf" size="2">to</font><font
size="2"> </font><font color="#3f5fbf" size="2">set.</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setValidation(</font><b><font color="#7f0055" size="2">boolean</font></b><font
size="2"> validation) {</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">validation</font><font
size="2"> = validation;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@return</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">Returns</font><font
size="2"> </font><font color="#3f5fbf" size="2">the</font><font
size="2"> </font><font color="#3f5fbf" size="2">ssn.</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> String getStrResMsg() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">strResMsg</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font color="#3f5fbf" size="2">/**</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*</font><font size="2">
</font><b><font color="#7f9fbf" size="2">@param</font></b><font
size="2"> </font><font color="#3f5fbf" size="2">ssn</font><font
size="2"> </font><font color="#3f5fbf" size="2">The</font><font
size="2"> </font><font color="#3f5fbf" size="2">ssn</font><font
size="2"> </font><font color="#3f5fbf" size="2">to</font><font
size="2"> </font><font color="#3f5fbf" size="2">set.</font></p>
<font size="2"></font>
<p align="left"><font color="#3f5fbf" size="2">*/</font></p>
<font size="2"></font>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setStrResMsg(String strResMsg) {</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">strResMsg</font><font
size="2"> = strResMsg;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> String getFullName() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">fullName</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setFullName(String fullName) {</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">fullName</font><font
size="2"> = fullName;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> String getInterestRate() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">interestRate</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setInterestRate(String interestRate) {</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">interestRate</font><font
size="2"> = interestRate;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> String getLoanAmt() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">loanAmt</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setLoanAmt(String loanAmt) {</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">loanAmt</font><font
size="2"> = loanAmt;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> String getLoanTenure() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">loanTenure</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setLoanTenure(String loanTenure) {</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">loanTenure</font><font
size="2"> = loanTenure;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> String getSalaryRange() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">salaryRange</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setSalaryRange(String salaryRange) {</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">salaryRange</font><font
size="2"> = salaryRange;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> String getMobileNumber() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">mobileNumber</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setMobileNumber(String mobileNumber) {</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">mobileNumber</font><font
size="2"> = mobileNumber;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> String getStrLoanAmount() {</font></p>
<p align="left"><b><font color="#7f0055" size="2">return</font></b><font
size="2"> </font><font color="#0000c0" size="2">strLoanAmount</font><font
size="2">;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><b><font color="#7f0055" size="2">public</font></b><font
size="2"> </font><b><font color="#7f0055" size="2">void</font></b><font
size="2"> setStrLoanAmount(String strLoanAmount) {</font></p>
<p align="left"><b><font color="#7f0055" size="2">this</font></b><font
size="2">.</font><font color="#0000c0" size="2">strLoanAmount</font><font
size="2"> = strLoanAmount;</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font size="2">}</font></p>
<p align="left"><font size="2"> </font></p>
<p align="left"><font size="2">}</font></p>
<div>My ,xml <a class="moz-txt-link-freetext" href="file:=">file:=</a></div>
<div> </div>
<font size="2"></font>
<p align="left"><font size="2"><?xml version="1.0"
encoding="UTF-8"?></font></p>
<p align="left"><font size="2"><package name="rules"</font></p>
<p align="left"><font size="2">xmlns=<a class="moz-txt-link-rfc2396E" href="http://drools.org/drools-4.0">"http://drools.org/drools-4.0"</a></font></p>
<p align="left"><font size="2">xmlns:xs=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema-instance">"http://www.w3.org/2001/XMLSchema-instance"</a></font></p>
<p align="left"><font size="2">xs:schemaLocation=<a class="moz-txt-link-rfc2396E" href="http://drools.org/drools-4.0drools-4.0.xsd">"http://drools.org/drools-4.0
drools-4.0.xsd"</a>></font></p>
<p align="left"><font size="2"><import
name="com.wipro.rfq.report.bean.Validator.RFQBean" /></font></p>
<p align="left"><font size="2"><global identifier="rfq"
type="com.wipro.rfq.report.bean.Validator.RFQBean" /></font></p>
<p align="left"><font size="2"><import
name="com.wipro.loan.validation.bean.Final.LoanApplicationBean" /></font></p>
<p align="left"><font size="2"><global
identifier="loanApplication"
type="com.wipro.loan.validation.bean.Final.LoanApplicationBean" /></font></p>
<p align="left"><font size="2"> </font></p>
<p align="left"><font size="2"><rule
name="Check_NotNullof_rfqId"> <!--start of rule 1--></font></p>
<p align="left"><font size="2"><lhs></font></p>
<p align="left"><font size="2"><eval>(rfq.getM_rfqId()
=="null") || (rfq.getM_rfqId().trim().equals(""))</eval></font></p>
<p align="left"><font size="2"></lhs></font></p>
<p align="left"><font size="2"><rhs></font></p>
<p align="left"><font size="2">System.out.println("The value of
m_rfqId is null.");</font></p>
<p align="left"><font size="2"></rhs></font></p>
<p align="left"><font size="2"></rule> </font></p>
<p align="left"><font size="2"><rule name="validate_FullName"></font></p>
<p align="left"><font size="2"><lhs></font></p>
<p align="left"><font size="2"><eval>(loanApplication.getFullName()==null)
|| (loanApplication.getFullName().trim().equals(""))</eval></font></p>
<p align="left"><font size="2"></lhs></font></p>
<p align="left"><font size="2"><rhs></font></p>
<p align="left"><font size="2">System.out.println("full name is null
from xml");</font></p>
<p align="left"><font size="2"></rhs></font></p>
<p align="left"><font size="2"></rule></font></p>
<p><font size="2"></package></font></p>
<div> </div>
<div> </div>
<div> </div>
<div>Now i want to use the agenda group so plz give me some idea
about that.</div>
<div> </div>
<div>Thanks. </div>
</div>
</div>
<table>
<tbody>
<tr>
<td bgcolor="#ffffff"><font color="#000000"><br>
The information contained in this electronic message and any
attachments to this message are intended for the exclusive use of the
addressee(s) and may contain proprietary, confidential or privileged
information. If you are not the intended recipient, you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately and destroy all copies of this message and any attachments.
<br>
<br>
WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of
viruses. The company accepts no liability for any damage caused by any
virus transmitted by this email.<br>
<br>
<a class="moz-txt-link-abbreviated" href="http://www.wipro.com">www.wipro.com</a><br>
</font></td>
</tr>
</tbody>
</table>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
</body>
</html>