<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.2900.3059" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText53523 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
</DIV>
<DIV dir=ltr>
<DIV><FONT face=Arial color=#000000 size=2>Hi </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I am also a part of the user-list.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</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><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>First java program:=</FONT></DIV>
<DIV>&nbsp;</DIV><B><FONT color=#7f0055 size=2>
<P align=left>package</B></FONT><FONT size=2> com.wipro.rfq.report.bean;</P>
<P align=left></P></FONT><B><FONT color=#7f0055 size=2>
<P align=left>import</B></FONT><FONT size=2> java.io.InputStreamReader;</P></FONT><B><FONT color=#7f0055 size=2>
<P align=left>import</B></FONT><FONT size=2> java.io.Reader;</P></FONT><B><FONT color=#7f0055 size=2>
<P align=left>import</B></FONT><FONT size=2> java.util.regex.Pattern;</P>
<P align=left></P></FONT><B><FONT color=#7f0055 size=2>
<P align=left>import</B></FONT><FONT size=2> org.drools.RuleBase;</P></FONT><B><FONT color=#7f0055 size=2>
<P align=left>import</B></FONT><FONT size=2> org.drools.StatefulSession;</P></FONT><B><FONT color=#7f0055 size=2>
<P align=left>import</B></FONT><FONT size=2> org.drools.RuleBaseFactory;</P></FONT><B><FONT color=#7f0055 size=2>
<P align=left>import</B></FONT><FONT size=2> org.drools.compiler.PackageBuilder;</P></FONT><B><FONT color=#7f0055 size=2>
<P align=left>import</B></FONT><FONT size=2> org.drools.rule.Package;</P></FONT><B><FONT color=#7f0055 size=2>
<P align=left>import</B></FONT><FONT size=2> org.drools.base.RuleNameStartsWithAgendaFilter;</P>
<P align=left></P></FONT><B><FONT color=#7f0055 size=2>
<P align=left>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>class</B></FONT><FONT size=2> Validator {</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@param</B></FONT><FONT size=2> </FONT><FONT color=#3f5fbf size=2>args</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>static</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> main(String[] args) {</P>
<P align=left></FONT><FONT color=#3f7f5f size=2>// </FONT><B><FONT color=#7f9fbf size=2>TODO</B></FONT><FONT color=#3f7f5f size=2> Auto-generated method stub</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>try</B></FONT><FONT size=2> {</P>
<P align=left>String date=</FONT><FONT color=#2a00ff size=2>"24-10-2000"</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>if</B></FONT><FONT size=2>(date!=</FONT><FONT color=#2a00ff size=2>""</FONT><FONT size=2>){</P>
<P align=left>String dd1=date.substring(0,2);</P>
<P align=left>String mm1=date.substring(3,5);</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>int</B></FONT><FONT size=2> dd=Integer.<I>parseInt</I>(dd1);</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>int</B></FONT><FONT size=2> mm=Integer.<I>parseInt</I>(mm1);</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>if</B></FONT><FONT size=2>(Pattern.<I>matches</I>(</FONT><FONT color=#2a00ff size=2>"..-..-...."</FONT><FONT size=2>,date)){</P>
<P align=left>System.</FONT><I><FONT color=#0000c0 size=2>out</I></FONT><FONT size=2>.print(</FONT><FONT color=#2a00ff size=2>"The entered date is in proper format"</FONT><FONT size=2>);</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>if</B></FONT><FONT size=2>((dd&lt;1)||(dd&gt;31)||(mm&lt;1)||(mm&gt;12))</P>
<P align=left>System.</FONT><I><FONT color=#0000c0 size=2>out</I></FONT><FONT size=2>.println(</FONT><FONT color=#2a00ff size=2>" but not valid."</FONT><FONT size=2>);</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>else</P></B></FONT><FONT size=2>
<P align=left>System.</FONT><I><FONT color=#0000c0 size=2>out</I></FONT><FONT size=2>.println(</FONT><FONT color=#2a00ff size=2>"."</FONT><FONT size=2>);</P>
<P align=left>} </P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>else</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>if</B></FONT><FONT size=2>(date.length()&gt;10)</P>
<P align=left>System.</FONT><I><FONT color=#0000c0 size=2>out</I></FONT><FONT size=2>.println(</FONT><FONT color=#2a00ff size=2>"The entered date is not in proper format"</FONT><FONT size=2>);</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>else</P></B></FONT><FONT size=2>
<P align=left>System.</FONT><I><FONT color=#0000c0 size=2>out</I></FONT><FONT size=2>.println(</FONT><FONT color=#2a00ff size=2>"The entered date is not in proper format"</FONT><FONT size=2>);</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f7f5f size=2>//load up the rulebase</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>final</B></FONT><FONT size=2> RuleBase ruleBase = <I>readRule</I>();</P>
<P align=left>StatefulSession workingMemory = ruleBase.newStatefulSession();</P>
<P align=left></P>
<P align=left>RFQBean rfqbean=</FONT><B><FONT color=#7f0055 size=2>new</B></FONT><FONT size=2> RFQBean();</P>
<P align=left>rfqbean.setM_country(</FONT><FONT color=#2a00ff size=2>"India"</FONT><FONT size=2>);</P>
<P align=left>rfqbean.setM_deadLine(</FONT><FONT color=#2a00ff size=2>"two days"</FONT><FONT size=2>);</P>
<P align=left>rfqbean.setM_dueDate(date);</P>
<P align=left>rfqbean.setM_fsUMC(</FONT><FONT color=#2a00ff size=2>"4"</FONT><FONT size=2>);</P>
<P align=left>rfqbean.setM_lotSize(</FONT><FONT color=#2a00ff size=2>"5"</FONT><FONT size=2>);</P>
<P align=left>rfqbean.setM_mtrlType(</FONT><FONT color=#2a00ff size=2>"6"</FONT><FONT size=2>);</P>
<P align=left>rfqbean.setM_partId(</FONT><FONT color=#2a00ff size=2>"1100"</FONT><FONT size=2>);</P>
<P align=left>rfqbean.setM_product(</FONT><FONT color=#2a00ff size=2>"kjhkihkj"</FONT><FONT size=2>);</P>
<P align=left>rfqbean.setM_rfqId(</FONT><FONT color=#2a00ff size=2>"null"</FONT><FONT size=2>);</P>
<P align=left></P>
<P align=left></FONT><FONT color=#3f7f5f size=2>//workingMemory.insert(rfqbean);</P></FONT><FONT size=2>
<P align=left>workingMemory.setGlobal(</FONT><FONT color=#2a00ff size=2>"rfq"</FONT><FONT size=2>,rfqbean);</P>
<P align=left>workingMemory.fireAllRules(</FONT><B><FONT color=#7f0055 size=2>new</B></FONT><FONT size=2> RuleNameStartsWithAgendaFilter( </FONT><FONT color=#2a00ff size=2>"Check"</FONT><FONT size=2> ));</P>
<P align=left></FONT><FONT color=#3f7f5f size=2>//Agenda a=workingMemory.getAgenda();</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f7f5f size=2>//System.out.println(a);</P></FONT><FONT size=2>
<P align=left>}</FONT><B><FONT color=#7f0055 size=2>catch</B></FONT><FONT size=2>(StringIndexOutOfBoundsException s){</P>
<P align=left>System.</FONT><I><FONT color=#0000c0 size=2>out</I></FONT><FONT size=2>.println(</FONT><FONT color=#2a00ff size=2>"The entered date is not in proper format "</FONT><FONT size=2>+s);</P>
<P align=left>}</FONT><B><FONT color=#7f0055 size=2>catch</B></FONT><FONT size=2>(Exception e){</P>
<P align=left>e.printStackTrace();</P>
<P align=left></FONT><FONT color=#3f7f5f size=2>//System.out.println("The description of error is "+e);</P></FONT><FONT size=2>
<P align=left>}</P>
<P align=left></P>
<P align=left>}</P>
<P align=left></P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>static</B></FONT><FONT size=2> RuleBase readRule() </FONT><B><FONT color=#7f0055 size=2>throws</B></FONT><FONT size=2> Exception {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>final</B></FONT><FONT size=2> Reader source = </FONT><B><FONT color=#7f0055 size=2>new</B></FONT><FONT size=2> InputStreamReader( Validator.</FONT><B><FONT color=#7f0055 size=2>class</B></FONT><FONT size=2>.getResourceAsStream( </FONT><FONT color=#2a00ff size=2>"/rules/Check-new.xml"</FONT><FONT size=2> ) );</P>
<P align=left></P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>final</B></FONT><FONT size=2> PackageBuilder builder = </FONT><B><FONT color=#7f0055 size=2>new</B></FONT><FONT size=2> PackageBuilder();</P>
<P align=left></P>
<P align=left>builder.addPackageFromXml( source );</P>
<P align=left></P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>final</B></FONT><FONT size=2> Package pkg = builder.getPackage();</P>
<P align=left></P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>final</B></FONT><FONT size=2> RuleBase ruleBase = RuleBaseFactory.<I>newRuleBase</I>();</P>
<P align=left>ruleBase.addPackage( pkg );</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> ruleBase;</P>
<P align=left>}</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>static</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>class</B></FONT><FONT size=2> RFQBean {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> String </FONT><FONT color=#0000c0 size=2>m_rfqId</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> String </FONT><FONT color=#0000c0 size=2>m_partId</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> String </FONT><FONT color=#0000c0 size=2>m_product</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> String </FONT><FONT color=#0000c0 size=2>m_country</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> String </FONT><FONT color=#0000c0 size=2>m_lotSize</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> String </FONT><FONT color=#0000c0 size=2>m_mtrlType</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> String </FONT><FONT color=#0000c0 size=2>m_fsUMC</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> String </FONT><FONT color=#0000c0 size=2>m_deadLine</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> String </FONT><FONT color=#0000c0 size=2>m_dueDate</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> String getM_country() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>m_country</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setM_country(String m_country) {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>m_country</FONT><FONT size=2> = m_country;</P>
<P align=left>}</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> String getM_deadLine() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>m_deadLine</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setM_deadLine(String line) {</P>
<P align=left></FONT><FONT color=#0000c0 size=2>m_deadLine</FONT><FONT size=2> = line;</P>
<P align=left>}</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> String getM_dueDate() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>m_dueDate</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setM_dueDate(String date) {</P>
<P align=left></FONT><FONT color=#0000c0 size=2>m_dueDate</FONT><FONT size=2> = date;</P>
<P align=left>}</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> String getM_fsUMC() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>m_fsUMC</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setM_fsUMC(String m_fsumc) {</P>
<P align=left></FONT><FONT color=#0000c0 size=2>m_fsUMC</FONT><FONT size=2> = m_fsumc;</P>
<P align=left>}</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> String getM_lotSize() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>m_lotSize</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setM_lotSize(String size) {</P>
<P align=left></FONT><FONT color=#0000c0 size=2>m_lotSize</FONT><FONT size=2> = size;</P>
<P align=left>}</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> String getM_mtrlType() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>m_mtrlType</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setM_mtrlType(String type) {</P>
<P align=left></FONT><FONT color=#0000c0 size=2>m_mtrlType</FONT><FONT size=2> = type;</P>
<P align=left>}</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> String getM_partId() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>m_partId</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setM_partId(String id) {</P>
<P align=left></FONT><FONT color=#0000c0 size=2>m_partId</FONT><FONT size=2> = id;</P>
<P align=left>}</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> String getM_product() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>m_product</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setM_product(String m_product) {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>m_product</FONT><FONT size=2> = m_product;</P>
<P align=left>}</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> String getM_rfqId() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>m_rfqId</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setM_rfqId(String id) {</P>
<P align=left></FONT><FONT color=#0000c0 size=2>m_rfqId</FONT><FONT size=2> = id;</P>
<P align=left>}</P>
<P align=left>}</P>
<P align=left>}</P>
<DIV></FONT>Second java program:=</DIV>
<DIV>&nbsp;</DIV><B><FONT color=#7f0055 size=2>
<P align=left>package</B></FONT><FONT size=2> com.wipro.loan.validation.bean;</P>
<P align=left></P></FONT><B><FONT color=#7f0055 size=2>
<P align=left>import</B></FONT><FONT size=2> java.io.InputStreamReader;</P></FONT><B><FONT color=#7f0055 size=2>
<P align=left>import</B></FONT><FONT size=2> java.io.Reader;</P></FONT><B><FONT color=#7f0055 size=2>
<P align=left>import</B></FONT><FONT size=2> java.math.BigDecimal;</P>
<P align=left></P></FONT><B><FONT color=#7f0055 size=2>
<P align=left>import</B></FONT><FONT size=2> org.drools.RuleBase;</P></FONT><B><FONT color=#7f0055 size=2>
<P align=left>import</B></FONT><FONT size=2> org.drools.StatefulSession;</P></FONT><B><FONT color=#7f0055 size=2>
<P align=left>import</B></FONT><FONT size=2> org.drools.RuleBaseFactory;</P></FONT><B><FONT color=#7f0055 size=2>
<P align=left>import</B></FONT><FONT size=2> org.drools.compiler.PackageBuilder;</P></FONT><B><FONT color=#7f0055 size=2>
<P align=left>import</B></FONT><FONT size=2> org.drools.rule.Package;</P></FONT><B><FONT color=#7f0055 size=2>
<P align=left>import</B></FONT><FONT size=2> org.drools.base.RuleNameStartsWithAgendaFilter;</P>
<P align=left></P></FONT><B><FONT color=#7f0055 size=2>
<P align=left>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>class</B></FONT><FONT size=2> Final {</P>
<P align=left></P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@param</B></FONT><FONT size=2> </FONT><FONT color=#3f5fbf size=2>args</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>static</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> main(String[] args) {</P>
<P align=left></FONT><FONT color=#3f7f5f size=2>// </FONT><B><FONT color=#7f9fbf size=2>TODO</B></FONT><FONT color=#3f7f5f size=2> Auto-generated method stub</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>try</B></FONT><FONT size=2> {</P>
<P align=left></P>
<P align=left></FONT><FONT color=#3f7f5f size=2>//load up the rulebase</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>final</B></FONT><FONT size=2> RuleBase ruleBase = <I>readRule</I>();</P>
<P align=left>StatefulSession workingMemory = ruleBase.newStatefulSession();</P>
<P align=left></P>
<P align=left>&nbsp;</P>
<P align=left></FONT><FONT color=#3f7f5f size=2>//go !</P></FONT><FONT size=2>
<P align=left>LoanApplicationBean loanbean = </FONT><B><FONT color=#7f0055 size=2>new</B></FONT><FONT size=2> LoanApplicationBean();</P>
<P align=left>loanbean.setFullName(</FONT><FONT color=#2a00ff size=2>""</FONT><FONT size=2>);</P>
<P align=left>workingMemory.setGlobal(</FONT><FONT color=#2a00ff size=2>"loanApplication"</FONT><FONT size=2>,loanbean);</P>
<P align=left>workingMemory.fireAllRules(</FONT><B><FONT color=#7f0055 size=2>new</B></FONT><FONT size=2> RuleNameStartsWithAgendaFilter(</FONT><FONT color=#2a00ff size=2>"validate"</FONT><FONT size=2>));</P>
<P align=left></P>
<P align=left>} </FONT><B><FONT color=#7f0055 size=2>catch</B></FONT><FONT size=2> ( </FONT><B><FONT color=#7f0055 size=2>final</B></FONT><FONT size=2> Throwable t ) {</P>
<P align=left>t.printStackTrace();</P>
<P align=left>}</P>
<P align=left>}</P>
<P align=left></P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><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.</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>static</B></FONT><FONT size=2> RuleBase readRule() </FONT><B><FONT color=#7f0055 size=2>throws</B></FONT><FONT size=2> Exception {</P>
<P align=left></FONT><FONT color=#3f7f5f size=2>//read in the source</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>final</B></FONT><FONT size=2> Reader source = </FONT><B><FONT color=#7f0055 size=2>new</B></FONT><FONT size=2> InputStreamReader( Final.</FONT><B><FONT color=#7f0055 size=2>class</B></FONT><FONT size=2>.getResourceAsStream( </FONT><FONT color=#2a00ff size=2>"/rules/Check-new.xml"</FONT><FONT size=2> ) );</P>
<P align=left></P>
<P align=left></FONT><FONT color=#3f7f5f size=2>//optionally read in the DSL (if you are using it).</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f7f5f size=2>//Reader dsl = new InputStreamReader( DroolsTest.class.getResourceAsStream( "/mylang.dsl" ) );</P></FONT><FONT size=2>
<P align=left></P>
<P align=left></FONT><FONT color=#3f7f5f size=2>//Use package builder to build up a rule package.</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f7f5f size=2>//An alternative lower level class called "DrlParser" can also be used...</P></FONT><FONT size=2>
<P align=left></P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>final</B></FONT><FONT size=2> PackageBuilder builder = </FONT><B><FONT color=#7f0055 size=2>new</B></FONT><FONT size=2> PackageBuilder();</P>
<P align=left></P>
<P align=left></FONT><FONT color=#3f7f5f size=2>//this wil parse and compile in one step</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f7f5f size=2>//NOTE: There are 2 methods here, the one argument one is for normal DRL.</P></FONT><FONT size=2>
<P align=left>builder.addPackageFromXml( source );</P>
<P align=left></P>
<P align=left></FONT><FONT color=#3f7f5f size=2>//Use the following instead of above if you are using a DSL:</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f7f5f size=2>//builder.addPackageFromDrl( source, dsl );</P></FONT><FONT size=2>
<P align=left></P>
<P align=left></FONT><FONT color=#3f7f5f size=2>//get the compiled package (which is serializable)</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>final</B></FONT><FONT size=2> Package pkg = builder.getPackage();</P>
<P align=left></P>
<P align=left></FONT><FONT color=#3f7f5f size=2>//add the package to a rulebase (deploy the rule package).</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>final</B></FONT><FONT size=2> RuleBase ruleBase = RuleBaseFactory.<I>newRuleBase</I>();</P>
<P align=left>ruleBase.addPackage( pkg );</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> ruleBase;</P>
<P align=left>}</P>
<P align=left></P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>static</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>class</B></FONT><FONT size=2> LoanApplicationBean {</P>
<P align=left></P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>static</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>final</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>long</B></FONT><FONT size=2> </FONT><I><FONT color=#0000c0 size=2>serialVersionUID</I></FONT><FONT size=2> = 1L;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>long</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>loanAppId</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> String </FONT><FONT color=#0000c0 size=2>fullName</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> String </FONT><FONT color=#0000c0 size=2>mobileNumber</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> String </FONT><FONT color=#0000c0 size=2>salaryRange</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> String </FONT><FONT color=#0000c0 size=2>loanAmt</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> String </FONT><FONT color=#0000c0 size=2>loanTenure</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> String </FONT><FONT color=#0000c0 size=2>interestRate</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> String </FONT><FONT color=#0000c0 size=2>prefix</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> String </FONT><FONT color=#0000c0 size=2>extension</FONT><FONT size=2>;</P>
<P align=left></P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> String </FONT><FONT color=#0000c0 size=2>firstName</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>int</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>day</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> String </FONT><FONT color=#0000c0 size=2>code</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>int</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>month</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>int</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>year</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> String </FONT><FONT color=#0000c0 size=2>date</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> String </FONT><FONT color=#0000c0 size=2>email</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> String </FONT><FONT color=#0000c0 size=2>Name</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> String </FONT><FONT color=#0000c0 size=2>lastName</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> String </FONT><FONT color=#0000c0 size=2>ssn</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> String </FONT><FONT color=#0000c0 size=2>birthDate</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> String </FONT><FONT color=#0000c0 size=2>dayTimePhone</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> BigDecimal </FONT><FONT color=#0000c0 size=2>purchasePrice</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>long</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>loanAmount</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> String </FONT><FONT color=#0000c0 size=2>strLoanAmount</FONT><FONT size=2>;</P>
<P align=left></P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> String </FONT><FONT color=#0000c0 size=2>propertyCity</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> String </FONT><FONT color=#0000c0 size=2>propertyState</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> String </FONT><FONT color=#0000c0 size=2>propertyZip</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> String </FONT><FONT color=#0000c0 size=2>loanType</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> String </FONT><FONT color=#0000c0 size=2>loanTerm</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> String </FONT><FONT color=#0000c0 size=2>loanProduct</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>int</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>confirmationNumber</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>boolean</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>validation</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> String </FONT><FONT color=#0000c0 size=2>strResMsg</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>double</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>interest</FONT><FONT size=2>;</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>private</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>int</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>tenure</FONT><FONT size=2>;</P>
<P align=left></P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@return</B></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>birthDate.</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> String getBirthDate() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>birthDate</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@param</B></FONT><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.</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setBirthDate(String birthDate) {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>birthDate</FONT><FONT size=2> = birthDate;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@return</B></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>confirmationNumber.</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>int</B></FONT><FONT size=2> getConfirmationNumber() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>confirmationNumber</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@param</B></FONT><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.</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setConfirmationNumber(</FONT><B><FONT color=#7f0055 size=2>int</B></FONT><FONT size=2> confirmationNumber) {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>confirmationNumber</FONT><FONT size=2> = confirmationNumber;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@return</B></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>dayTimePhone.</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> String getDayTimePhone() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>dayTimePhone</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@param</B></FONT><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.</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setDayTimePhone(String dayTimePhone) {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>dayTimePhone</FONT><FONT size=2> = dayTimePhone;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@return</B></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>firstName.</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> String getFirstName() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>firstName</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@param</B></FONT><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.</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setFirstName(String firstName) {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>firstName</FONT><FONT size=2> = firstName;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@return</B></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>lastName.</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> String getLastName() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>lastName</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@param</B></FONT><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.</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setLastName(String lastName) {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>lastName</FONT><FONT size=2> = lastName;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@return</B></FONT><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</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> String getName() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>Name</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@param</B></FONT><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> </P>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setName(String Name) {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>Name</FONT><FONT size=2> = Name;</P>
<P align=left>}</P>
<P align=left></P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@return</B></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>emailid</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> String getEmail() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>email</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@param</B></FONT><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</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setEmail(String email) {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>email</FONT><FONT size=2> = email;</P>
<P align=left>}</P>
<P align=left></P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@return</B></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>date</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> String getDate(){</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>date</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@param</B></FONT><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</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setDate(String date) {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>date</FONT><FONT size=2>=date;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@return</B></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>area</FONT><FONT size=2> </FONT><FONT color=#3f5fbf size=2>code</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> String getCode(){</P>
<P align=left></P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>code</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@param</B></FONT><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</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setCode(String code){</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>code</FONT><FONT size=2>=code;</P>
<P align=left>}</P>
<P align=left></P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@return</B></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>prefix</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> String getPrefix(){</P>
<P align=left></P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>prefix</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@param</B></FONT><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</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setPrefix(String prefix){</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>prefix</FONT><FONT size=2>=prefix;</P>
<P align=left>}</P>
<P align=left></P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@return</B></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>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</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> String getExtension(){</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>extension</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@param</B></FONT><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</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setExtension(String extension){</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>extension</FONT><FONT size=2>=extension;</P>
<P align=left>}</P>
<P align=left></P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@return</B></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>date</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>int</B></FONT><FONT size=2> getDay(){</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>day</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@param</B></FONT><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</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setDay(</FONT><B><FONT color=#7f0055 size=2>int</B></FONT><FONT size=2> day){</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>day</FONT><FONT size=2>=day;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@return</B></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>month</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>int</B></FONT><FONT size=2> getmonth(){</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>month</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@param</B></FONT><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</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setmonth(</FONT><B><FONT color=#7f0055 size=2>int</B></FONT><FONT size=2> month){</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>month</FONT><FONT size=2>=month;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@return</B></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>year</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>int</B></FONT><FONT size=2> getYear(){</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>year</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@param</B></FONT><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</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setYear(</FONT><B><FONT color=#7f0055 size=2>int</B></FONT><FONT size=2> year){</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>year</FONT><FONT size=2>=year;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@return</B></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>loanAmount.</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>long</B></FONT><FONT size=2> getLoanAmount() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>loanAmount</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@param</B></FONT><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.</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setLoanAmount(</FONT><B><FONT color=#7f0055 size=2>long</B></FONT><FONT size=2> loanAmount) {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>loanAmount</FONT><FONT size=2> = loanAmount;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@return</B></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>tenure</FONT><FONT size=2> </FONT><FONT color=#3f5fbf size=2>or</FONT><FONT size=2> </FONT><FONT color=#3f5fbf size=2>term</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>int</B></FONT><FONT size=2> getTenure() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>tenure</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@param</B></FONT><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</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setTenure(</FONT><B><FONT color=#7f0055 size=2>int</B></FONT><FONT size=2> tenure) {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>tenure</FONT><FONT size=2> = tenure;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@return</B></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>interest</FONT><FONT size=2> </P>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>double</B></FONT><FONT size=2> getInterest() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>interest</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@param</B></FONT><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</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setInterest(</FONT><B><FONT color=#7f0055 size=2>double</B></FONT><FONT size=2> interest) {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>interest</FONT><FONT size=2> = interest;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@return</B></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>loanAppId.</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@hibernate</B></FONT><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"</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>long</B></FONT><FONT size=2> getLoanAppId() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>loanAppId</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@param</B></FONT><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.</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setLoanAppId(</FONT><B><FONT color=#7f0055 size=2>long</B></FONT><FONT size=2> loanAppId) {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>loanAppId</FONT><FONT size=2> = loanAppId;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@return</B></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>loanProduct.</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> String getLoanProduct() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>loanProduct</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@param</B></FONT><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.</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setLoanProduct(String loanProduct) {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>loanProduct</FONT><FONT size=2> = loanProduct;</P>
<P align=left>}</P>
<P align=left></P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@return</B></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>loanTerm.</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> String getLoanTerm() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>loanTerm</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@param</B></FONT><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.</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setLoanTerm(String loanTerm) {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>loanTerm</FONT><FONT size=2> = loanTerm;</P>
<P align=left>}</P>
<P align=left></P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@return</B></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>loanType.</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> String getLoanType() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>loanType</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@param</B></FONT><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.</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setLoanType(String loanType) {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>loanType</FONT><FONT size=2> = loanType;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@return</B></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>propertyCity.</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> String getPropertyCity() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>propertyCity</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@param</B></FONT><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.</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setPropertyCity(String propertyCity) {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>propertyCity</FONT><FONT size=2> = propertyCity;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@return</B></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>propertyState.</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> String getPropertyState() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>propertyState</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@param</B></FONT><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.</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setPropertyState(String propertyState) {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>propertyState</FONT><FONT size=2> = propertyState;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@return</B></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>propertyZip.</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> String getPropertyZip() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>propertyZip</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@param</B></FONT><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.</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setPropertyZip(String propertyZip) {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>propertyZip</FONT><FONT size=2> = propertyZip;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@return</B></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>purchasePrice.</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> BigDecimal getPurchasePrice() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>purchasePrice</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@param</B></FONT><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.</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setPurchasePrice(BigDecimal purchasePrice) {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>purchasePrice</FONT><FONT size=2> = purchasePrice;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@return</B></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>ssn.</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> String getSsn() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>ssn</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@param</B></FONT><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.</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setSsn(String ssn) {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>ssn</FONT><FONT size=2> = ssn;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@return</B></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>validation.</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>boolean</B></FONT><FONT size=2> isValidation() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>validation</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@param</B></FONT><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.</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setValidation(</FONT><B><FONT color=#7f0055 size=2>boolean</B></FONT><FONT size=2> validation) {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>validation</FONT><FONT size=2> = validation;</P>
<P align=left>}</P>
<P align=left></P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@return</B></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>ssn.</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> String getStrResMsg() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>strResMsg</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><FONT color=#3f5fbf size=2>/**</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*</FONT><FONT size=2> </FONT><B><FONT color=#7f9fbf size=2>@param</B></FONT><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.</P></FONT><FONT size=2>
<P align=left></FONT><FONT color=#3f5fbf size=2>*/</P></FONT><FONT size=2>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setStrResMsg(String strResMsg) {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>strResMsg</FONT><FONT size=2> = strResMsg;</P>
<P align=left>}</P>
<P align=left></P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> String getFullName() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>fullName</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setFullName(String fullName) {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>fullName</FONT><FONT size=2> = fullName;</P>
<P align=left>}</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> String getInterestRate() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>interestRate</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setInterestRate(String interestRate) {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>interestRate</FONT><FONT size=2> = interestRate;</P>
<P align=left>}</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> String getLoanAmt() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>loanAmt</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setLoanAmt(String loanAmt) {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>loanAmt</FONT><FONT size=2> = loanAmt;</P>
<P align=left>}</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> String getLoanTenure() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>loanTenure</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setLoanTenure(String loanTenure) {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>loanTenure</FONT><FONT size=2> = loanTenure;</P>
<P align=left>}</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> String getSalaryRange() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>salaryRange</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setSalaryRange(String salaryRange) {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>salaryRange</FONT><FONT size=2> = salaryRange;</P>
<P align=left>}</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> String getMobileNumber() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>mobileNumber</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setMobileNumber(String mobileNumber) {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>mobileNumber</FONT><FONT size=2> = mobileNumber;</P>
<P align=left>}</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> String getStrLoanAmount() {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>return</B></FONT><FONT size=2> </FONT><FONT color=#0000c0 size=2>strLoanAmount</FONT><FONT size=2>;</P>
<P align=left>}</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>public</B></FONT><FONT size=2> </FONT><B><FONT color=#7f0055 size=2>void</B></FONT><FONT size=2> setStrLoanAmount(String strLoanAmount) {</P>
<P align=left></FONT><B><FONT color=#7f0055 size=2>this</B></FONT><FONT size=2>.</FONT><FONT color=#0000c0 size=2>strLoanAmount</FONT><FONT size=2> = strLoanAmount;</P>
<P align=left>}</P>
<P align=left></P>
<P align=left></P>
<P align=left>}</P>
<P align=left></P>
<P align=left>&nbsp;</P>
<P align=left>}</P>
<DIV></FONT>My ,xml file:=</DIV>
<DIV>&nbsp;</DIV><FONT size=2>
<P align=left>&lt;?xml version="1.0" encoding="UTF-8"?&gt;</P>
<P align=left>&lt;package name="rules"</P>
<P align=left>xmlns="http://drools.org/drools-4.0"</P>
<P align=left>xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"</P>
<P align=left>xs:schemaLocation="http://drools.org/drools-4.0 drools-4.0.xsd"&gt;</P>
<P align=left></P>
<P align=left>&lt;import name="com.wipro.rfq.report.bean.Validator.RFQBean" /&gt;</P>
<P align=left>&lt;global identifier="rfq" type="com.wipro.rfq.report.bean.Validator.RFQBean" /&gt;</P>
<P align=left>&lt;import name="com.wipro.loan.validation.bean.Final.LoanApplicationBean" /&gt;</P>
<P align=left>&lt;global identifier="loanApplication" type="com.wipro.loan.validation.bean.Final.LoanApplicationBean" /&gt;</P>
<P align=left></P>
<P align=left>&nbsp;</P>
<P align=left>&lt;rule name="Check_NotNullof_rfqId"&gt; &lt;!--start of rule 1--&gt;</P>
<P align=left>&lt;lhs&gt;</P>
<P align=left>&lt;eval&gt;(rfq.getM_rfqId() =="null") || (rfq.getM_rfqId().trim().equals(""))&lt;/eval&gt;</P>
<P align=left>&lt;/lhs&gt;</P>
<P align=left>&lt;rhs&gt;</P>
<P align=left>System.out.println("The value of m_rfqId is null.");</P>
<P align=left>&lt;/rhs&gt;</P>
<P align=left>&lt;/rule&gt; </P>
<P align=left></P>
<P align=left>&lt;rule name="validate_FullName"&gt;</P>
<P align=left>&lt;lhs&gt;</P>
<P align=left>&lt;eval&gt;(loanApplication.getFullName()==null) || (loanApplication.getFullName().trim().equals(""))&lt;/eval&gt;</P>
<P align=left>&lt;/lhs&gt;</P>
<P align=left>&lt;rhs&gt;</P>
<P align=left>System.out.println("full name is null from xml");</P>
<P align=left>&lt;/rhs&gt;</P>
<P align=left>&lt;/rule&gt;</P>
<P align=left></P>
<P>&lt;/package&gt;</P>
<DIV></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Now i want to use the agenda group so&nbsp;plz give me some idea about that.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks.&nbsp;</DIV></DIV></BODY></HTML>
<table><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>
www.wipro.com<br>
</font></td></tr></table>