eu.planets_project.services.identify
Class IdentifyResult
java.lang.Object
   eu.planets_project.services.identify.IdentifyResult
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.MethodThe Method enumeration is intended to allow you state what kind of
 evidence was used to create this identification result.
 | 
 
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
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.
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.