Class UnitOfMeasure

java.lang.Object
ucar.unidata.util.CsvDb
ucar.unidata.gis.epsg.UnitOfMeasure

public class UnitOfMeasure extends CsvDb
This class has been generated from the different csv files from the libgeotiff package
Author:
IDV development team
  • Constructor Details

    • UnitOfMeasure

      public UnitOfMeasure(int arg_uomCode, String arg_unitOfMeasName, String arg_unitOfMeasType, int arg_targetUomCode, double arg_factorB, double arg_factorC, String arg_remarks, String arg_informationSource, String arg_dataSource, String arg_revisionDate, String arg_changeId, String arg_deprecated)
      The constructor * @param arg_uomCode The uomCode argument.
      Parameters:
      arg_uomCode - the arg_uom code
      arg_unitOfMeasName - The unitOfMeasName argument
      arg_unitOfMeasType - The unitOfMeasType argument
      arg_targetUomCode - The targetUomCode argument
      arg_factorB - The factorB argument
      arg_factorC - The factorC argument
      arg_remarks - The remarks argument
      arg_informationSource - The informationSource argument
      arg_dataSource - The dataSource argument
      arg_revisionDate - The revisionDate argument
      arg_changeId - The changeId argument
      arg_deprecated - The deprecated argument
    • UnitOfMeasure

      public UnitOfMeasure(List tuple)
      The list based constructor
      Parameters:
      tuple - The list
  • Method Details

    • getUomCode

      public int getUomCode()
      Return the uomCode property.
      Returns:
      The uomCode property
    • getUnitOfMeasName

      public String getUnitOfMeasName()
      Return the unitOfMeasName property.
      Returns:
      The unitOfMeasName property
    • getUnitOfMeasType

      public String getUnitOfMeasType()
      Return the unitOfMeasType property.
      Returns:
      The unitOfMeasType property
    • getTargetUomCode

      public int getTargetUomCode()
      Return the targetUomCode property.
      Returns:
      The targetUomCode property
    • getFactorB

      public double getFactorB()
      Return the factorB property.
      Returns:
      The factorB property
    • getFactorC

      public double getFactorC()
      Return the factorC property.
      Returns:
      The factorC property
    • getRemarks

      public String getRemarks()
      Return the remarks property.
      Returns:
      The remarks property
    • getInformationSource

      public String getInformationSource()
      Return the informationSource property.
      Returns:
      The informationSource property
    • getDataSource

      public String getDataSource()
      Return the dataSource property.
      Returns:
      The dataSource property
    • getRevisionDate

      public String getRevisionDate()
      Return the revisionDate property.
      Returns:
      The revisionDate property
    • getChangeId

      public String getChangeId()
      Return the changeId property.
      Returns:
      The changeId property
    • getDeprecated

      public String getDeprecated()
      Return the deprecated property.
      Returns:
      The deprecated property
    • findAllUomCode

      public static List findAllUomCode(int value)
      Find all of the UnitOfMeasure objects with the uomCode value == the given value
      Parameters:
      value - _more_
      Returns:
      The found objects
    • findUomCode

      public static UnitOfMeasure findUomCode(int value)
      Find the UnitOfMeasure object with the uomCode value == the given value
      Parameters:
      value - _more_
      Returns:
      The object
    • findIntByName

      public int findIntByName(String varname)
      Return the integer value by name
      Parameters:
      varname - The name
      Returns:
      The integer value
    • findDoubleByName

      public double findDoubleByName(String varname)
      Return the double value by name
      Parameters:
      varname - The name
      Returns:
      The double value
    • findStringByName

      public String findStringByName(String varname)
      Return the String value by name
      Parameters:
      varname - The name
      Returns:
      The String value
    • toString

      public String toString()
      Override toString
      Overrides:
      toString in class Object
      Returns:
      String
    • main

      public static void main(String[] args)
      Implement main
      Parameters:
      args - The args