eu.planets_project.services.compare
Interface Compare

All Superinterfaces:
PlanetsService

@MTOM
@StreamingAttachment(parseEagerly=true,
                     memoryThreshold=10485760L)
public interface Compare
extends PlanetsService

Comparison of digital objects.


Field Summary
static java.lang.String NAME
           
static javax.xml.namespace.QName QNAME
           
 
Method Summary
 CompareResult compare(DigitalObject first, DigitalObject second, java.util.List<Parameter> config)
           
 java.util.List<Parameter> convert(DigitalObject configFile)
          Convert a tool-specific configuration file to the generic format of a list of properties.
 
Methods inherited from interface eu.planets_project.services.PlanetsService
describe
 

Field Detail

NAME

static final java.lang.String NAME
See Also:
Constant Field Values

QNAME

static final javax.xml.namespace.QName QNAME
Method Detail

compare

@RequestWrapper(className="eu.planets_project.services.compare.CompareRequest")
@ResponseWrapper(className="eu.planets_project.services.compare.CompareResponse")
CompareResult compare(DigitalObject first,
                                                     DigitalObject second,
                                                     java.util.List<Parameter> config)
Parameters:
first - The first of the two digital objects to compare
second - The second of the two digital objects to compare
config - A configuration parameter list
Returns:
A list of result properties, the result of comparing the given digital object, wrapped in a result object

convert

java.util.List<Parameter> convert(DigitalObject configFile)
Convert a tool-specific configuration file to the generic format of a list of properties. Use this method to pass your configuration file to compare(DigitalObject, DigitalObject, List).

Parameters:
configFile - The tool-specific configuration file
Returns:
A list of parameters containing the configuration values


Copyright © 2007-2010 The Planets Consortium. All Rights Reserved.