ucar.nc2.dataset
Interface Enhancements

All Known Subinterfaces:
VariableEnhanced
All Known Implementing Classes:
AddeVariable, CoordinateAxis, CoordinateAxis1D, CoordinateAxis1DTime, CoordinateAxis2D, StructureDS, VariableDS

public interface Enhancements

A Variable decorator that handles Coordinates Systems and "standard attributes" and adds them to the object model. Specifically, this:

if those "standard attributes" are present.

Version:
$Revision:51 $ $Date:2006-07-12 17:13:13Z $
Author:
caron

Method Summary
 void addCoordinateSystem(CoordinateSystem cs)
          Add a CoordinateSystem to the dataset.
 java.util.List getCoordinateSystems()
          Get the list of Coordinate Systems for this Variable.
 java.lang.String getDescription()
          Get the description of the Variable, or null if none.
 java.lang.String getUnitsString()
          Get the Unit String for the Variable, or null if none.
 void removeCoordinateSystem(CoordinateSystem cs)
          Remove a CoordinateSystem from the dataset.
 

Method Detail

getDescription

java.lang.String getDescription()
Get the description of the Variable, or null if none.


getUnitsString

java.lang.String getUnitsString()
Get the Unit String for the Variable, or null if none.


getCoordinateSystems

java.util.List getCoordinateSystems()
Get the list of Coordinate Systems for this Variable.

Returns:
list of type CoordinateSystem; may be empty but not null.

addCoordinateSystem

void addCoordinateSystem(CoordinateSystem cs)
Add a CoordinateSystem to the dataset.


removeCoordinateSystem

void removeCoordinateSystem(CoordinateSystem cs)
Remove a CoordinateSystem from the dataset.