ucar.unidata.gis.epsg
Class UnitOfMeasure

java.lang.Object
  extended by ucar.unidata.util.CsvDb
      extended by 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

Field Summary
 
Fields inherited from class ucar.unidata.util.CsvDb
BAD_DOUBLE, BAD_INTEGER
 
Constructor Summary
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
UnitOfMeasure(List tuple)
          The list based constructor
 
Method Summary
static List findAllUomCode(int value)
          Find all of the UnitOfMeasure objects with the uomCode value == the given value
 double findDoubleByName(String varname)
          Return the double value by name
 int findIntByName(String varname)
          Return the integer value by name
 String findStringByName(String varname)
          Return the String value by name
static UnitOfMeasure findUomCode(int value)
          Find the UnitOfMeasure object with the uomCode value == the given value
 String getChangeId()
          Return the changeId property.
 String getDataSource()
          Return the dataSource property.
 String getDeprecated()
          Return the deprecated property.
 double getFactorB()
          Return the factorB property.
 double getFactorC()
          Return the factorC property.
 String getInformationSource()
          Return the informationSource property.
 String getRemarks()
          Return the remarks property.
 String getRevisionDate()
          Return the revisionDate property.
 int getTargetUomCode()
          Return the targetUomCode property.
 String getUnitOfMeasName()
          Return the unitOfMeasName property.
 String getUnitOfMeasType()
          Return the unitOfMeasType property.
 int getUomCode()
          Return the uomCode property.
static void main(String[] args)
          Implement main
 String toString()
          Override toString
 
Methods inherited from class ucar.unidata.util.CsvDb
getDouble, getInt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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_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 Detail

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