gov.noaa.pmel.tmap
Class DatasetItem

java.lang.Object
  |
  +--gov.noaa.pmel.tmap.DatasetItem

public class DatasetItem
extends java.lang.Object


Field Summary
(package private)  Category mCategory
           
(package private)  boolean mComparable
           
(package private)  Config mConfig
           
(package private)  java.util.Vector mPath
           
 
Constructor Summary
protected DatasetItem(Config config, Category c)
           
 
Method Summary
 java.util.Vector getChildren()
           
 Config getConfig()
           
 java.util.Vector getDatasetChildren()
           
static java.lang.String getFirstVarId()
           
static DatasetItem getInstance(Category c)
           
static DatasetItem getInstance(java.lang.String id)
           
static java.util.Vector getItems(java.lang.String id)
           
static java.util.Vector getItems(java.lang.String id, java.lang.String type)
           
 java.lang.String getLink()
           
 MetaData getMetaData()
           
 java.lang.String getName()
           
 DatasetItem getParent()
           
 java.util.Vector getPath()
           
 java.lang.String getType()
           
 VariableInfo getVariableInfo()
           
 boolean isCategory()
           
 boolean isComparable()
           
 boolean isVariable()
           
static void main(java.lang.String[] args)
           
 void setComparable(boolean flag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mConfig

Config mConfig

mCategory

Category mCategory

mPath

java.util.Vector mPath

mComparable

boolean mComparable
Constructor Detail

DatasetItem

protected DatasetItem(Config config,
                      Category c)
               throws java.sql.SQLException
Method Detail

getItems

public static java.util.Vector getItems(java.lang.String id)
                                 throws java.sql.SQLException
java.sql.SQLException

getFirstVarId

public static java.lang.String getFirstVarId()
                                      throws java.sql.SQLException
java.sql.SQLException

getInstance

public static DatasetItem getInstance(Category c)
                               throws java.sql.SQLException
java.sql.SQLException

getInstance

public static DatasetItem getInstance(java.lang.String id)
                               throws java.sql.SQLException
java.sql.SQLException

getItems

public static java.util.Vector getItems(java.lang.String id,
                                        java.lang.String type)
                                 throws java.sql.SQLException
java.sql.SQLException

setComparable

public void setComparable(boolean flag)

isComparable

public boolean isComparable()

getMetaData

public MetaData getMetaData()
                     throws java.sql.SQLException
java.sql.SQLException

getConfig

public Config getConfig()

getVariableInfo

public VariableInfo getVariableInfo()
                             throws java.sql.SQLException
java.sql.SQLException

isVariable

public boolean isVariable()

isCategory

public boolean isCategory()

getType

public java.lang.String getType()

getName

public java.lang.String getName()

getLink

public java.lang.String getLink()

getPath

public java.util.Vector getPath()
                         throws java.sql.SQLException
java.sql.SQLException

getChildren

public java.util.Vector getChildren()
                             throws java.sql.SQLException
java.sql.SQLException

getParent

public DatasetItem getParent()
                      throws java.sql.SQLException
java.sql.SQLException

getDatasetChildren

public java.util.Vector getDatasetChildren()
                                    throws java.sql.SQLException
java.sql.SQLException

main

public static void main(java.lang.String[] args)
                 throws java.sql.SQLException
java.sql.SQLException