Package eu.planets_project.services.compare

Examples of eu.planets_project.services.compare.Compare.compare()


        Compare comparator = service.getPort(Compare.class);

          //the service call and it's result
          DigitalObject x1 = new DigitalObject.Builder(Content.byValue(xcdl1.getBytes())).build();
          DigitalObject x2 = new DigitalObject.Builder(Content.byValue(xcdl2.getBytes())).build();
          List<Property> result = comparator.compare(x1, x2, null).getProperties();
         
          if(result==null){
            throw new Exception("XCDL comparison failed - please check service logs for details");
          }
     
View Full Code Here


            ServiceDescription sd = compareServices.get(surl);
           
            if( sd.getType().equals(Compare.class.getCanonicalName()) ) {

                Compare chr = new CompareWrapper(surl);
                CompareResult cr = chr.compare( this.getDob1().getDob(), this.getDob2().getDob(), null);
                this.compareServiceReport = cr.getReport();

                me = this.createMeasurementEvent();
                if( me != null ) {
                    this.fillComparisonEvent(me, chr, cr);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.