eu.planets_project.services.compare
Class CompareResult

java.lang.Object
  extended by eu.planets_project.services.compare.CompareResult

public final class CompareResult
extends java.lang.Object

Result type for the Compare interface.


Constructor Summary
CompareResult(java.util.ArrayList<Property> props, java.lang.String fragmentID, ServiceReport report, java.util.List<CompareResult> embedded)
          Deprecated. 
CompareResult(java.util.List<Property> result, java.lang.String fragmentID, ServiceReport report)
          Deprecated. 
CompareResult(java.util.List<PropertyComparison> properties, ServiceReport report)
           
CompareResult(java.util.List<PropertyComparison> properties, ServiceReport report, java.util.List<CompareResult> results)
           
CompareResult(java.util.List<PropertyComparison> properties, ServiceReport report, java.util.List<CompareResult> results, java.lang.String fragmentID)
           
CompareResult(java.util.List<PropertyComparison> properties, ServiceReport report, java.lang.String fragmentID)
           
 
Method Summary
 java.util.List<PropertyComparison> getComparisons()
           
 java.lang.String getFragmentID()
           
 java.util.List<Property> getProperties()
          Deprecated. 
 ServiceReport getReport()
           
 java.util.List<CompareResult> getResults()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompareResult

public CompareResult(java.util.List<PropertyComparison> properties,
                     ServiceReport report)
Parameters:
properties - The result properties
report - The report

CompareResult

public CompareResult(java.util.List<PropertyComparison> properties,
                     ServiceReport report,
                     java.lang.String fragmentID)
Parameters:
properties - The result properties
report - The report
fragmentID - the id of the fragment the result refers to

CompareResult

public CompareResult(java.util.List<PropertyComparison> properties,
                     ServiceReport report,
                     java.util.List<CompareResult> results)
Parameters:
properties - The result properties
report - The report
results - The embedded results

CompareResult

public CompareResult(java.util.List<PropertyComparison> properties,
                     ServiceReport report,
                     java.util.List<CompareResult> results,
                     java.lang.String fragmentID)
Parameters:
properties - The result properties
report - The report
results - The embedded results
fragmentID - the id of the fragment the result refers to

CompareResult

@Deprecated
public CompareResult(java.util.List<Property> result,
                                java.lang.String fragmentID,
                                ServiceReport report)
Deprecated. 

Parameters:
result -
report2 -

CompareResult

@Deprecated
public CompareResult(java.util.ArrayList<Property> props,
                                java.lang.String fragmentID,
                                ServiceReport report,
                                java.util.List<CompareResult> embedded)
Deprecated. 

Parameters:
arrayList -
object -
serviceReport -
embedded -
Method Detail

getComparisons

public java.util.List<PropertyComparison> getComparisons()
Returns:
An unmodifiable copy of the result comparisons

getProperties

@Deprecated
public java.util.List<Property> getProperties()
Deprecated. 

Note that this skips a lot of important info, and you should use getComparisons() instead.

Returns:
An unmodifiable copy of the result properties

getReport

public ServiceReport getReport()
Returns:
The report

getResults

public java.util.List<CompareResult> getResults()
Returns:
An unmodifiable copy of the embedded results

getFragmentID

public java.lang.String getFragmentID()
Returns:
The fragment ID


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