Package eu.clarin.sru.client
Class SRUDiagnostic
- java.lang.Object
 - 
- eu.clarin.sru.client.SRUDiagnostic
 
 
- 
public final class SRUDiagnostic extends Object
Class to hold a SRU diagnostic.- See Also:
 - SRU Diagnostics, SRU Diagnostics List
 
 
- 
- 
Constructor Summary
Constructors Constructor Description SRUDiagnostic(String uri, String details, String message)Constructor. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDetails()Get supplementary information for this diagnostic.StringgetMessage()Get human readable message.StringgetURI()Get diagnostic's identifying URI. 
 - 
 
- 
- 
Constructor Detail
- 
SRUDiagnostic
public SRUDiagnostic(String uri, String details, String message)
Constructor.- Parameters:
 uri- the URI identifying the diagnosticdetails- supplementary information available, often in a format specified by the diagnostic ornullmessage- human readable message to display to the end user ornull
 
 - 
 
- 
Method Detail
- 
getURI
public String getURI()
Get diagnostic's identifying URI.- Returns:
 - diagnostic code
 
 
- 
getDetails
public String getDetails()
Get supplementary information for this diagnostic. The format for this value is often specified by the diagnostic code.- Returns:
 - supplementary information
 
 
- 
getMessage
public String getMessage()
Get human readable message.- Returns:
 - human readable message
 
 
 - 
 
 -