Documentation of 'visad.data.netcdf.QuantityDBManager' Java class
QuantityDBManager
visad.data.netcdf

Class QuantityDBManager

  • All Implemented Interfaces:
    java.io.Serializable


    public final class QuantityDBManager
    extends java.lang.Object
    implements java.io.Serializable
    Provides support for managing a database of quantities. This class insulates the user from knowing or caring, for example, whether or not the quantity database is unchanging or whether it's implemented using singletons.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static QuantityDB instance()
      Returns the current instance of the quantity database.
      static void main(java.lang.String[] args)
      Tests this class by listing the contents -- one per line -- in the following format: ( ) in e.g.
      static void setInstance(QuantityDB db)
      Sets the current instance of the quantity database.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • instance

        public static QuantityDB instance()
        Returns the current instance of the quantity database.
        Returns:
        The current instance of the quantity database.
      • setInstance

        public static void setInstance(QuantityDB db)
                                throws VisADException
        Sets the current instance of the quantity database.
        Parameters:
        db - The new current instance of the quantity database. May be null, in which case the default instance is used.
        Throws:
        VisADException - Couldn't create necessary VisAD object.
      • main

        public static void main(java.lang.String[] args)
                         throws java.lang.Exception
        Tests this class by listing the contents -- one per line -- in the following format: ( ) in e.g. VolumicElectricCharge (ElectricChargeDensity) in C/m3
        Throws:
        java.lang.Exception

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.