Package ucar.unidata.gis.epsg
Class UnitOfMeasure
java.lang.Object
ucar.unidata.util.CsvDb
ucar.unidata.gis.epsg.UnitOfMeasure
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
ConstructorsConstructorDescriptionUnitOfMeasure
(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
Modifier and TypeMethodDescriptionstatic List
findAllUomCode
(int value) Find all of the UnitOfMeasure objects with the uomCode value == the given valuedouble
findDoubleByName
(String varname) Return the double value by nameint
findIntByName
(String varname) Return the integer value by namefindStringByName
(String varname) Return the String value by namestatic UnitOfMeasure
findUomCode
(int value) Find the UnitOfMeasure object with the uomCode value == the given valueReturn the changeId property.Return the dataSource property.Return the deprecated property.double
Return the factorB property.double
Return the factorC property.Return the informationSource property.Return the remarks property.Return the revisionDate property.int
Return the targetUomCode property.Return the unitOfMeasName property.Return the unitOfMeasType property.int
Return the uomCode property.static void
Implement maintoString()
Override toString
-
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 codearg_unitOfMeasName
- The unitOfMeasName argumentarg_unitOfMeasType
- The unitOfMeasType argumentarg_targetUomCode
- The targetUomCode argumentarg_factorB
- The factorB argumentarg_factorC
- The factorC argumentarg_remarks
- The remarks argumentarg_informationSource
- The informationSource argumentarg_dataSource
- The dataSource argumentarg_revisionDate
- The revisionDate argumentarg_changeId
- The changeId argumentarg_deprecated
- The deprecated argument
-
UnitOfMeasure
The list based constructor- Parameters:
tuple
- The list
-
-
Method Details
-
getUomCode
public int getUomCode()Return the uomCode property.- Returns:
- The uomCode property
-
getUnitOfMeasName
Return the unitOfMeasName property.- Returns:
- The unitOfMeasName property
-
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
Return the remarks property.- Returns:
- The remarks property
-
getInformationSource
Return the informationSource property.- Returns:
- The informationSource property
-
getDataSource
Return the dataSource property.- Returns:
- The dataSource property
-
getRevisionDate
Return the revisionDate property.- Returns:
- The revisionDate property
-
getChangeId
Return the changeId property.- Returns:
- The changeId property
-
getDeprecated
Return the deprecated property.- Returns:
- The deprecated property
-
findAllUomCode
Find all of the UnitOfMeasure objects with the uomCode value == the given value- Parameters:
value
- _more_- Returns:
- The found objects
-
findUomCode
Find the UnitOfMeasure object with the uomCode value == the given value- Parameters:
value
- _more_- Returns:
- The object
-
findIntByName
Return the integer value by name- Parameters:
varname
- The name- Returns:
- The integer value
-
findDoubleByName
Return the double value by name- Parameters:
varname
- The name- Returns:
- The double value
-
findStringByName
Return the String value by name- Parameters:
varname
- The name- Returns:
- The String value
-
toString
Override toString -
main
Implement main- Parameters:
args
- The args
-