gov.nasa.gsfc.spdf.cdas
Class ResultDescription

java.lang.Object
  extended by gov.nasa.gsfc.spdf.cdas.ResultDescription
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class ResultDescription
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

This class represents the description of the results of various Coordinated Data Analysis System Web services.

Version:
$Revision: 1.3 $
Author:
B. Harris
See Also:
Serialized Form

Field Summary
 java.lang.String[] errors
          Explanation for why urls is null.
 java.lang.String[] messages
          Messages from the software that produced the result.
 java.lang.String[] statuses
          Status information concerning result.
 gov.nasa.gsfc.spdf.cdas.ThumbnailDescription thumbnailDescription
          Thumbnail description (null if urls doesn't contain a URL that points to a thumbnail image).
 java.lang.String[] urls
          URLs of files containing the results of the Web service call.
 java.lang.String[] warnings
          Warning information concerning result.
 
Constructor Summary
ResultDescription()
          Constructs a ResultDescription with a null value.
ResultDescription(java.lang.String[] urls, java.lang.String[] messages, java.lang.String[] warnings, java.lang.String[] statuses, java.lang.String[] errors)
          Constructs a ResultDescription with the given attribute values.
ResultDescription(java.lang.String[] urls, java.lang.String[] messages, java.lang.String[] warnings, java.lang.String[] statuses, java.lang.String[] errors, gov.nasa.gsfc.spdf.cdas.ThumbnailDescription thumbnailDescription)
          Constructs a ResultDescription with the given attribute values.
 
Method Summary
 void addErrors(java.lang.String[] errs)
          Adds the given errors to those already defined.
 void addMessages(java.lang.String[] msgs)
          Adds the given messages to those already defined.
 void addStatuses(java.lang.String[] statuses)
          Adds the given statuses to those already defined.
 void addUrls(java.lang.String[] urls)
          Adds the given URLs to those already defined.
 void addWarnings(java.lang.String[] warnings)
          Adds the given warnings to those already defined.
 java.lang.Object clone()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

urls

public java.lang.String[] urls
URLs of files containing the results of the Web service call.


messages

public java.lang.String[] messages
Messages from the software that produced the result.


warnings

public java.lang.String[] warnings
Warning information concerning result.


statuses

public java.lang.String[] statuses
Status information concerning result.


errors

public java.lang.String[] errors
Explanation for why urls is null.


thumbnailDescription

public gov.nasa.gsfc.spdf.cdas.ThumbnailDescription thumbnailDescription
Thumbnail description (null if urls doesn't contain a URL that points to a thumbnail image).

Constructor Detail

ResultDescription

public ResultDescription()
Constructs a ResultDescription with a null value.


ResultDescription

public ResultDescription(java.lang.String[] urls,
                         java.lang.String[] messages,
                         java.lang.String[] warnings,
                         java.lang.String[] statuses,
                         java.lang.String[] errors)
Constructs a ResultDescription with the given attribute values.

Parameters:
urls - URLs of result files
messages - messages from the software that produced the image
warnings - information concerning the image
statuses - information concerning the image
errors - reason image is null

ResultDescription

public ResultDescription(java.lang.String[] urls,
                         java.lang.String[] messages,
                         java.lang.String[] warnings,
                         java.lang.String[] statuses,
                         java.lang.String[] errors,
                         gov.nasa.gsfc.spdf.cdas.ThumbnailDescription thumbnailDescription)
Constructs a ResultDescription with the given attribute values.

Parameters:
urls - URLs of result files
messages - messages from the software that produced the image
warnings - information concerning the image
statuses - information concerning the image
errors - reason image is null
thumbnailDescription - describes thumbnail image
Method Detail

addUrls

public void addUrls(java.lang.String[] urls)
Adds the given URLs to those already defined. This method may not be available to non-Java CDAS web service clients but isn't generally useful to any type of CDAS clients.

Parameters:
urls - URLs to be added to existing urls

addMessages

public void addMessages(java.lang.String[] msgs)
Adds the given messages to those already defined. This method isn't available to non-Java CDAS web service clients but isn't generally useful to any type of CDAS clients.

Parameters:
msgs - messages to be added to existing messages

addWarnings

public void addWarnings(java.lang.String[] warnings)
Adds the given warnings to those already defined. This method isn't available to non-Java CDAS web service clients but isn't generally useful to any type of CDAS clients.

Parameters:
warnings - warnings to be added to existing warnings

addStatuses

public void addStatuses(java.lang.String[] statuses)
Adds the given statuses to those already defined. This method isn't available to non-Java CDAS web service clients but isn't generally useful to any type of CDAS clients.

Parameters:
statuses - statuses to be added to existing statuses

addErrors

public void addErrors(java.lang.String[] errs)
Adds the given errors to those already defined. This method isn't available to non-Java CDAS web service clients but isn't generally useful to any type of CDAS clients.

Parameters:
errs - errors to be added to existing errors

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object


CDAS Feedback.

Copyright © 2003-2007 United States Government as represented by the National Aeronautics and Space Administration. No copyright is claimed in the United States under Title 17, U.S.Code. All Other Rights Reserved.