Package org.jboss.test.ws.jaxws.samples.dar.generated

Examples of org.jboss.test.ws.jaxws.samples.dar.generated.ServiceRequest


   {
      DarRequest request = new DarRequest();
      request.setMapId("map1234");
      for (int s=0; s<5; s++)
      {
         ServiceRequest serviceRequest = new ServiceRequest();
         Stop up = new Stop();
         up.setNode(new Double(Math.random()*1000).intValue());
         up.setTime(new XMLGregorianCalendarImpl(new GregorianCalendar()));
         Stop down = new Stop();
         down.setNode(new Double(Math.random()*1000).intValue());
         down.setTime(new XMLGregorianCalendarImpl(new GregorianCalendar()));
         serviceRequest.setFrom(up);
         serviceRequest.setTo(down);
         serviceRequest.setPeople(new Double(Math.random()*3).intValue()+1);
         serviceRequest.setId("Req" + s);
         request.getRequests().add(serviceRequest);
      }
      for (int b=0; b<2; b++)
      {
         Bus bus = new Bus();
View Full Code Here


   {
      DarRequest request = new DarRequest();
      request.setMapId("map1234");
      for (int s=0; s<5; s++)
      {
         ServiceRequest serviceRequest = new ServiceRequest();
         Stop up = new Stop();
         up.setNode(new Double(Math.random()*1000).intValue());
         up.setTime(XMLGregorianCalendarHelper.convert(new GregorianCalendar()));
         Stop down = new Stop();
         down.setNode(new Double(Math.random()*1000).intValue());
         down.setTime(XMLGregorianCalendarHelper.convert(new GregorianCalendar()));
         serviceRequest.setFrom(up);
         serviceRequest.setTo(down);
         serviceRequest.setPeople(new Double(Math.random()*3).intValue()+1);
         serviceRequest.setId("Req" + s);
         request.getRequests().add(serviceRequest);
      }
      for (int b=0; b<2; b++)
      {
         Bus bus = new Bus();
View Full Code Here

TOP

Related Classes of org.jboss.test.ws.jaxws.samples.dar.generated.ServiceRequest

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.