DataReference Class
The getSelectionList() ListSelection method returns a Vector of DataReference objects
that represent the interactive selections. Each individual selection may have a
different DSS filename, pathname, and time window than other selections. The
methods of the DataReference class are listed in the table below.
DataReference Methods
|
Method |
Returns |
Description |
|
getFilename() |
string |
Returns the name of the DSS file from which this selection was made. |
|
getNominalPathname() |
string |
Returns the nominal pathname for this selection. If a condensed set, this will not be a real pathname, but show the date span in the D part |
|
getPathname() |
string |
Returns the pathname for this selection |
|
getPathnameList() |
Vector |
Returns a list of the pathnames for this selection. This will be only more than one if a condensed reference |
|
getTimeWindow( HecTime startTime, HecTime endTime) |
0/1 |
Sets the startTime and endTime parameters with the start time and end time of the selection, respectively. Returns Constants.TRUE if a time window is defined for the selection. Returns Constants.FALSE otherwise. |
|
hasTimeWindow() |
0/1 |
Returns Constants.TRUE if a time window is defined for the selection. Returns Constants.FALSE otherwise. |