Package adql.db

## Class FunctionDef.FunctionParam

- java.lang.Object
- - adql.db.FunctionDef.FunctionParam

- Enclosing class:
    FunctionDef

      public static final class FunctionDef.FunctionParam
      extends java.lang.Object

  Definition of a function parameter.

  This definition is composed of two items: the name and the type of the parameter.

  Since:
    1.3
  Version:
    1.4 (07/2015)
  Author:
    Grégory Mantelet (ARI)

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `java.lang.String` | `name` | Parameter name.
    `DBType` | `type` | Parameter type.

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `FunctionParam​(java.lang.String paramName, DBType paramType)` | Create a function parameter.

  - ### Method Summary

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### name

          public final java.lang.String name

      Parameter name. Ensured not null

    - #### type

          public final DBType type

      Parameter type. Ensured not null

  - ### Constructor Detail

    - #### FunctionParam

          public FunctionParam​(java.lang.String paramName,
                               DBType paramType)

      Create a function parameter.
      Parameters:
        `paramName` - Name of the parameter to create. MUST NOT be NULL
        `paramType` - Type of the parameter to create. If NULL, an `UNKNOWN` type will be created and set instead.