gov.nasa.gsfc.spdf.ssc
Class FileResult

java.lang.Object
  extended by gov.nasa.gsfc.spdf.ssc.Result
      extended by gov.nasa.gsfc.spdf.ssc.FileResult

public class FileResult
extends Result

This class represents the result of a Request to the Satellite Situation Center.

Version:
$Revison: $
Author:
B. Harris

Constructor Summary
FileResult()
          Constructs a default FileResult with no data.
FileResult(Result value)
          Constructs a FileResult with the statusCode, statusSubCode, and statusText from the given Result object.
FileResult(ResultStatusCode statusCode, ResultStatusSubCode statusSubCode, java.util.List<java.lang.String> statusText, java.util.List<java.lang.String> urls)
          Constructs a FileResult with the given values.
 
Method Summary
 java.util.List<java.lang.String> getUrls()
          Gets the URLs to the files containing the requested information.
 void setUrls(java.util.List<java.lang.String> value)
          Sets the URLs to the files containing the requested information.
 
Methods inherited from class gov.nasa.gsfc.spdf.ssc.Result
addStatusText, getStatusCode, getStatusSubCode, getStatusText, setStatusCode, setStatusSubCode, setStatusText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileResult

public FileResult()
Constructs a default FileResult with no data.


FileResult

public FileResult(Result value)
Constructs a FileResult with the statusCode, statusSubCode, and statusText from the given Result object. There is no initial data.

Parameters:
value - object containing the initial statusCode, statusSubCode, and statusText values

FileResult

public FileResult(ResultStatusCode statusCode,
                  ResultStatusSubCode statusSubCode,
                  java.util.List<java.lang.String> statusText,
                  java.util.List<java.lang.String> urls)
Constructs a FileResult with the given values.

Parameters:
statusCode - result status code
statusSubCode - result status subcode
statusText - result status text
urls - URLs to the files containing the requested information
Method Detail

getUrls

public java.util.List<java.lang.String> getUrls()
Gets the URLs to the files containing the requested information.

Returns:
the URLs to the files containing the requested information
See Also:
setUrls(java.util.List)

setUrls

public void setUrls(java.util.List<java.lang.String> value)
Sets the URLs to the files containing the requested information.

Parameters:
value - new URLs
See Also:
getUrls()


SSC Feedback.

Copyright © 2003-2008 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 Right s Reserved.