eu.planets_project.services.identify
Class IdentifyResult

java.lang.Object
  extended by eu.planets_project.services.identify.IdentifyResult

public final class IdentifyResult
extends java.lang.Object

Result type for identification services.


Nested Class Summary
static class IdentifyResult.Method
          The Method enumeration is intended to allow you state what kind of evidence was used to create this identification result.
 
Constructor Summary
IdentifyResult(java.util.List<java.net.URI> types, IdentifyResult.Method method, ServiceReport report)
           
IdentifyResult(java.util.List<java.net.URI> types, IdentifyResult.Method method, ServiceReport report, java.util.List<Property> properties)
           
 
Method Summary
 IdentifyResult.Method getMethod()
           
 java.util.List<Property> getProperties()
           
 ServiceReport getReport()
           
 java.util.List<java.net.URI> getTypes()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentifyResult

public IdentifyResult(java.util.List<java.net.URI> types,
                      IdentifyResult.Method method,
                      ServiceReport report,
                      java.util.List<Property> properties)
Parameters:
types - The list of matching format URIs, specifying the formats the object is consistent with.
method - The method used to reach this decision. Should not be set to NULL unless completely unavoidable.
report - The standard service report object.
properties - Any other properties determined by the service.

IdentifyResult

public IdentifyResult(java.util.List<java.net.URI> types,
                      IdentifyResult.Method method,
                      ServiceReport report)
Parameters:
types - The list of matching format URIs, specifying the formats the object is consistent with.
method - The method used to reach this decision. Should not be set to NULL unless completely unavoidable.
report - The standard service report object.
Method Detail

getTypes

public java.util.List<java.net.URI> getTypes()
Returns:
A copy of the types

getMethod

public IdentifyResult.Method getMethod()
Returns:
the method

getReport

public ServiceReport getReport()
Returns:
the report

getProperties

public java.util.List<Property> getProperties()
Returns:
A copy of the properties


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