dods.dap
Class DList

java.lang.Object
  extended bydods.dap.BaseType
      extended bydods.dap.DVector
          extended bydods.dap.DList
All Implemented Interfaces:
ClientIO, java.lang.Cloneable
Direct Known Subclasses:
asciiList, SDList, wwwList

public class DList
extends DVector

This class implements a simple list of DODS data types. A list is a simple sequence of data items, without the sophisticated subsetting and array indexing features of an Array.

DODS does not support Lists of Lists. This restriction is enforced by the DDS parser.

Version:
$Revision: 1.2 $
Author:
jehamby
See Also:
BaseType, DVector

Constructor Summary
DList()
          Constructs a new DList.
DList(java.lang.String n)
          Constructs a new DList with the given name.
 
Method Summary
 java.lang.String getTypeName()
          Returns the DODS type name of the class instance as a String.
 
Methods inherited from class dods.dap.DVector
addVariable, clone, deserialize, externalize, getLength, getPrimitiveVector, printDecl, printVal, setLength
 
Methods inherited from class dods.dap.BaseType
checkSemantics, checkSemantics, elementCount, elementCount, getLongName, getName, getParent, newPrimitiveVector, printDecl, printDecl, printDecl, printDecl, printDecl, printDecl, printDecl, printVal, printVal, printVal, setName, setParent
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DList

public DList()
Constructs a new DList.


DList

public DList(java.lang.String n)
Constructs a new DList with the given name.

Parameters:
n - the name of the variable.
Method Detail

getTypeName

public java.lang.String getTypeName()
Returns the DODS type name of the class instance as a String.

Overrides:
getTypeName in class DVector
Returns:
the DODS type name of the class instance as a String.