Class Parameters.Wrapper

java.lang.Object
org.apache.sis.parameter.Parameters
org.apache.sis.parameter.Parameters.Wrapper
All Implemented Interfaces:
Serializable, Cloneable, org.opengis.parameter.GeneralParameterValue, org.opengis.parameter.ParameterValueGroup
Enclosing class:
Parameters

private static final class Parameters.Wrapper extends Parameters implements Serializable
Wrappers used as a fallback by Parameters.castOrWrap(ParameterValueGroup).
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • delegate

      private final org.opengis.parameter.ParameterValueGroup delegate
  • Constructor Details

    • Wrapper

      Wrapper(org.opengis.parameter.ParameterValueGroup delegate)
  • Method Details

    • getDescriptor

      public org.opengis.parameter.ParameterDescriptorGroup getDescriptor()
      Specified by:
      getDescriptor in interface org.opengis.parameter.GeneralParameterValue
      Specified by:
      getDescriptor in interface org.opengis.parameter.ParameterValueGroup
    • values

      public List<org.opengis.parameter.GeneralParameterValue> values()
      Specified by:
      values in interface org.opengis.parameter.ParameterValueGroup
    • parameter

      public org.opengis.parameter.ParameterValue<?> parameter(String name)
      Specified by:
      parameter in interface org.opengis.parameter.ParameterValueGroup
    • groups

      public List<org.opengis.parameter.ParameterValueGroup> groups(String name)
      Specified by:
      groups in interface org.opengis.parameter.ParameterValueGroup
    • addGroup

      public org.opengis.parameter.ParameterValueGroup addGroup(String name)
      Specified by:
      addGroup in interface org.opengis.parameter.ParameterValueGroup
    • clone

      public Parameters clone()
      Description copied from class: Parameters
      Returns a copy of this group of parameter values. The default implementation performs a shallow copy, but subclasses are encouraged to perform a deep copy.
      Specified by:
      clone in interface org.opengis.parameter.GeneralParameterValue
      Specified by:
      clone in interface org.opengis.parameter.ParameterValueGroup
      Overrides:
      clone in class Parameters
      Returns:
      a copy of this group of parameter values.
      See Also: