gov.nasa.gsfc.spdf.cdas
Class GraphVariableDescription

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

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

This class represents the description of a Coordinated Data Analysis System variable used for a graphing request.

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

Constructor Summary
GraphVariableDescription()
          Constructs a GraphVariableDescription with a default values.
GraphVariableDescription(java.lang.String dataset, java.lang.String[] variables)
          Constructs a GraphVariableDescription with the given attribute values.
 
Method Summary
 java.lang.Object clone()
          Creates and returns a copy of this object.
 java.lang.String getDataset()
          Gets the dataset's name.
 java.lang.String[] getVariables()
          Gets the variables.
 void setDataset(java.lang.String value)
          Sets the dataset's name.
 void setVariables(java.lang.String[] values)
          Sets the variables.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphVariableDescription

public GraphVariableDescription()
Constructs a GraphVariableDescription with a default values.


GraphVariableDescription

public GraphVariableDescription(java.lang.String dataset,
                                java.lang.String[] variables)
Constructs a GraphVariableDescription with the given attribute values.

Parameters:
dataset - name of dataset to which variables belong
variables - names of the variables to be graphed
Method Detail

getDataset

public java.lang.String getDataset()
Gets the dataset's name.

Returns:
name of dataset
See Also:
setDataset(java.lang.String)

setDataset

public void setDataset(java.lang.String value)
Sets the dataset's name.

Parameters:
value - new dataset value
See Also:
getDataset()

getVariables

public java.lang.String[] getVariables()
Gets the variables.

Returns:
array of variable names
See Also:
setVariables(java.lang.String[])

setVariables

public void setVariables(java.lang.String[] values)
Sets the variables.

Parameters:
values - names of variables
See Also:
getVariables()

clone

public java.lang.Object clone()
Creates and returns a copy of this object.

Overrides:
clone in class java.lang.Object
Returns:
a clone of this instance.
See Also:
Object.clone()


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.