Class Request

  • Direct Known Subclasses:
    DataRequest, GraphRequest, KmlRequest

    public class Request
    extends java.lang.Object
    This class represents a request for the Satellite Situation Center.
    Version:
    $Revison: $
    Author:
    B. Harris
    • Constructor Detail

      • Request

        public Request()
        Constructs a default Request object.
      • Request

        public Request​(java.util.List<SatelliteSpecification> satellites,
                       java.util.Calendar beginTime,
                       java.util.Calendar endTime,
                       BFieldModelOptions bFieldModelOptions)
        Constructs an Request object with the given attribute values. If the requested time interval is outside the range of information available at SSC, the results will only include what is available at SSC.
        Parameters:
        satellites - identifies the satellites that information is being requested for.
        beginTime - beginning of time range.
        endTime - end of time range.
        bFieldModelOptions - B field model options.
    • Method Detail

      • setSatellites

        public void setSatellites​(java.util.List<SatelliteSpecification> value)
        Sets the satellites.
        Parameters:
        value - new satellite specifications
        See Also:
        getSatellites()
      • getBeginTime

        public java.util.Calendar getBeginTime()
        Gets the beginTime of the requested information.
        Returns:
        beginTime
        See Also:
        setBeginTime(java.util.Calendar)
      • setBeginTime

        public void setBeginTime​(java.util.Calendar value)
        Sets the beginTime of the requested information. If the requested time interval is outside the range of information available at SSC, the results will only include what is available at SSC.
        Parameters:
        value - new beginTime.
        See Also:
        getBeginTime()
      • getEndTime

        public java.util.Calendar getEndTime()
        Gets the endTime of the requested information.
        Returns:
        endTime
        See Also:
        setEndTime(java.util.Calendar)
      • setEndTime

        public void setEndTime​(java.util.Calendar value)
        Sets the endTime of the requested information. If the requested time interval is outside the range of information available at SSC, the results will only include what is available at SSC.
        Parameters:
        value - new endTime.
        See Also:
        getEndTime()
      • setBFieldModelOptions

        public void setBFieldModelOptions​(BFieldModelOptions value)
        Sets the B field model options.
        Parameters:
        value - new B field model options. A null value indicates the IGRF internal B field model and Tsyganenko 89c external B field model or that the model is not significant for this request.
        See Also:
        getBFieldModelOptions()
      • list

        public void list​(java.io.PrintStream out)
        Prints this object's value to the specified output stream. This method is useful for debugging.
        Parameters:
        out - an output stream