Package com.dtrules.samples.chipeligibility.app.dataobjects

Examples of com.dtrules.samples.chipeligibility.app.dataobjects.Case


           DataMap   datamap  = session.getDataMap(mapping,null);
          
           datamap.opentag(job,"job");
           datamap.readDO(job, "job");
          
             Case c = job.getCase();
             datamap.opentag(c,"case");
             datamap.readDO(c,"case");
               for(Client client : c.getClients()){
                 datamap.opentag(client,"client");
                 datamap.readDO(client,"client");
                   for(Income income : client.getIncomes()){
                    
                       datamap.readDO(income,"income");
                      
                   }
                 datamap.closetag();
               }
               for(Relationship r : c.getRelationships()){
                 datamap.opentag("relationship");
                   datamap.printdata("type", r.getType());
                   datamap.readDO(r.getSource(), "source");
                   datamap.readDO(r.getTarget(), "target");
                 datamap.closetag();
View Full Code Here


    return client;
  }
 
  Job generate(){
    Job job        = new Job();
    Case c          = new Case();
    job.setCase(c);
   
    job.setCurrentdate(currentdate);
    job.setEffectivedate(nextMonth);
    job.setProgram("CHIP");
   
    int nc = randint(4)+1;
    while(job.getApplying()<nc) {
      genClient(job,75);
    }
   
    c.setCounty_cd(counties[randint(counties.length)]);
   
    return job;
  }
View Full Code Here

TOP

Related Classes of com.dtrules.samples.chipeligibility.app.dataobjects.Case

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.