Class Codes

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

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

    • Codes

      public Codes(double arg_recordId, String arg_tableName, String arg_tableContents, int arg_codeMinimum, int arg_codeMaximum, int arg_allocatedLow, int arg_allocatedHigh, String arg_remarks)
      The constructor * @param arg_recordId The recordId argument
      Parameters:
      arg_tableName - The tableName argument
      arg_tableContents - The tableContents argument
      arg_codeMinimum - The codeMinimum argument
      arg_codeMaximum - The codeMaximum argument
      arg_allocatedLow - The allocatedLow argument
      arg_allocatedHigh - The allocatedHigh argument
      arg_remarks - The remarks argument
    • Codes

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

    • getRecordId

      public double getRecordId()
      Return the recordId property.
      Returns:
      The recordId property
    • getTableName

      public String getTableName()
      Return the tableName property.
      Returns:
      The tableName property
    • getTableContents

      public String getTableContents()
      Return the tableContents property.
      Returns:
      The tableContents property
    • getCodeMinimum

      public int getCodeMinimum()
      Return the codeMinimum property.
      Returns:
      The codeMinimum property
    • getCodeMaximum

      public int getCodeMaximum()
      Return the codeMaximum property.
      Returns:
      The codeMaximum property
    • getAllocatedLow

      public int getAllocatedLow()
      Return the allocatedLow property.
      Returns:
      The allocatedLow property
    • getAllocatedHigh

      public int getAllocatedHigh()
      Return the allocatedHigh property.
      Returns:
      The allocatedHigh property
    • getRemarks

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

      public static Codes findRecordId(double value)
      Find the Codes object with the recordId 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