gov.noaa.pmel.tmap
Class RegionConstraint

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

public class RegionConstraint
extends java.lang.Object


Field Summary
(package private)  java.util.Vector mAxes
           
(package private)  java.util.HashSet mAxesSet
           
(package private)  Category[] mCategories
           
(package private)  Category mCategory
           
(package private)  LiveMap mLiveMap
           
(package private)  UI mUI
           
(package private)  View mView
           
(package private)  java.util.Vector mViewItems
           
(package private)  java.util.HashSet mViewSet
           
 
Constructor Summary
protected RegionConstraint(Category[] cats, java.lang.String view)
           
 
Method Summary
 Axis getAxis(java.lang.String type)
           
 java.lang.String getAxisHi(java.lang.String type)
           
 java.lang.String getAxisLo(java.lang.String type)
           
 java.util.Vector getAxisWidgets(java.lang.String type)
           
 Category[] getCategories()
          Returns all the requested categories The first category is the "main" category
 Category getCategory()
          Returns the "main" category
 java.util.Vector getComparisonProducts()
           
(package private) static RegionConstraint getInstance(java.lang.String[] ids)
           
(package private) static RegionConstraint getInstance(java.lang.String[] ids, java.lang.String view)
           
 LiveMap getLiveMap()
           
 java.util.Vector getProducts()
           
 java.util.Vector getRegionItems()
           
 UI getUI()
           
 java.lang.String getView()
           
 java.util.Vector getViewItems()
           
 java.lang.String getViewRegion()
           
 boolean hasAxis(java.lang.String axis)
           
 boolean isRange(java.lang.String axis)
           
static void main(java.lang.String[] args)
           
 void setCategories(Category[] categories)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mCategory

Category mCategory

mCategories

Category[] mCategories

mUI

UI mUI

mLiveMap

LiveMap mLiveMap

mView

View mView

mAxesSet

java.util.HashSet mAxesSet

mViewSet

java.util.HashSet mViewSet

mAxes

java.util.Vector mAxes

mViewItems

java.util.Vector mViewItems
Constructor Detail

RegionConstraint

protected RegionConstraint(Category[] cats,
                           java.lang.String view)
                    throws java.sql.SQLException,
                           ServletException
Method Detail

getInstance

static RegionConstraint getInstance(java.lang.String[] ids)
                             throws java.sql.SQLException,
                                    ServletException
java.sql.SQLException
ServletException

getInstance

static RegionConstraint getInstance(java.lang.String[] ids,
                                    java.lang.String view)
                             throws java.sql.SQLException,
                                    ServletException
java.sql.SQLException
ServletException

getUI

public UI getUI()

hasAxis

public boolean hasAxis(java.lang.String axis)

isRange

public boolean isRange(java.lang.String axis)

getLiveMap

public LiveMap getLiveMap()

getRegionItems

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

getAxis

public Axis getAxis(java.lang.String type)
             throws java.sql.SQLException
java.sql.SQLException

getAxisWidgets

public java.util.Vector getAxisWidgets(java.lang.String type)
                                throws java.sql.SQLException
java.sql.SQLException

getAxisLo

public java.lang.String getAxisLo(java.lang.String type)
                           throws java.sql.SQLException
java.sql.SQLException

getAxisHi

public java.lang.String getAxisHi(java.lang.String type)
                           throws java.sql.SQLException
java.sql.SQLException

getProducts

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

getComparisonProducts

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

getViewItems

public java.util.Vector getViewItems()

getCategory

public Category getCategory()
                     throws java.sql.SQLException
Returns the "main" category

java.sql.SQLException

getCategories

public Category[] getCategories()
                         throws java.sql.SQLException
Returns all the requested categories The first category is the "main" category

java.sql.SQLException

setCategories

public void setCategories(Category[] categories)

getView

public java.lang.String getView()

getViewRegion

public java.lang.String getViewRegion()

main

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