Class Conversion.Parameter

Object
Parameter
Enclosing class:
Conversion

public static class Conversion.Parameter extends Object
Represents a conversion parameter in PROJJSON.
  • Constructor Details

    • Parameter

      public Parameter()
      Creates a new Parameter with default values.
  • Method Details

    • getName

      public String getName()
      Gets the name of the parameter.
      Returns:
      The parameter name, e.g., "Latitude of natural origin"
    • setName

      public void setName(String name)
      Sets the name of the parameter.
      Parameters:
      name - The parameter name
    • getValue

      public Object getValue()
      Gets the value of the parameter.
      Returns:
      The parameter value, which can be a number or a string (e.g., file name)
    • setValue

      public void setValue(Object value)
      Sets the value of the parameter.
      Parameters:
      value - The parameter value
    • getUnit

      public Object getUnit()
      Gets the unit of measurement for the parameter.

      This can be either a string (for common units like "degree" or "metre") or a Unit object with detailed unit information.

      Returns:
      The unit of measurement
    • setUnit

      public void setUnit(Object unit)
      Sets the unit of measurement for the parameter.
      Parameters:
      unit - The unit of measurement
    • getId

      public Object getId()
      Gets the ID of the parameter.
      Returns:
      The parameter ID
    • setId

      public void setId(Object id)
      Sets the ID of the parameter.
      Parameters:
      id - The parameter ID