Class UninitializedParameter

java.lang.Object
org.apache.sis.parameter.UninitializedParameter
All Implemented Interfaces:
Serializable, org.opengis.parameter.GeneralParameterValue

final class UninitializedParameter extends Object implements org.opengis.parameter.GeneralParameterValue, Serializable
Placeholder for a mandatory parameter value which has not yet been initialized. UninitializedParameter are immutable and contains only the descriptor of the parameter to initialize. UninitializedParameters are replaced by the actual parameter when first needed.
Since:
0.4
Version:
0.4
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final org.opengis.parameter.GeneralParameterDescriptor
    The descriptor of the parameter to initialize.
    private static final long
    For cross-version serialization compatibility.
  • Constructor Summary

    Constructors
    Constructor
    Description
    UninitializedParameter(org.opengis.parameter.GeneralParameterDescriptor descriptor)
    Creates a new UninitializedParameter for the given descriptor.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.opengis.parameter.GeneralParameterValue
    Returns this since there is no need to clone this object.
    org.opengis.parameter.GeneralParameterDescriptor
    Returns the descriptor of the parameter to initialize.
    Returns a string representation of this parameter.

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      For cross-version serialization compatibility.
      See Also:
    • descriptor

      private final org.opengis.parameter.GeneralParameterDescriptor descriptor
      The descriptor of the parameter to initialize.
  • Constructor Details

    • UninitializedParameter

      UninitializedParameter(org.opengis.parameter.GeneralParameterDescriptor descriptor)
      Creates a new UninitializedParameter for the given descriptor.
  • Method Details

    • getDescriptor

      public org.opengis.parameter.GeneralParameterDescriptor getDescriptor()
      Returns the descriptor of the parameter to initialize.
      Specified by:
      getDescriptor in interface org.opengis.parameter.GeneralParameterValue
    • clone

      public org.opengis.parameter.GeneralParameterValue clone()
      Returns this since there is no need to clone this object. This method is required by GeneralParameterValue interface.
      Specified by:
      clone in interface org.opengis.parameter.GeneralParameterValue
      Overrides:
      clone in class Object
    • toString

      public String toString()
      Returns a string representation of this parameter.
      Overrides:
      toString in class Object