Package org.apache.tapestry5.model

# Interface ParameterModel

All Known Implementing Classes:
  `ParameterModelImpl`

public interface ParameterModel
Model for a formal parameter of a component.

See Also:
  - `Parameter`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ComponentModel`
  `getComponentModel()`
  Identifies the component model in which the parameter is defined.
  `String`
  `getDefaultBindingPrefix()`
  The default binding prefix for the parameter, usually "prop".
  `String`
  `getName()`
  The name of the parameter.
  `boolean`
  `isAllowNull()`
  If true, then no check is needed.
  `boolean`
  `isCached()`
  `boolean`
  `isRequired()`
  If true, the parameter is required.

- ## Method Details

  - ### getName

    String getName()
    The name of the parameter.

  - ### isRequired

    boolean isRequired()
    If true, the parameter is required.

  - ### isAllowNull

    boolean isAllowNull()
    If true, then no check is needed. If false, then the bound value must not be null.

  - ### getDefaultBindingPrefix

    String getDefaultBindingPrefix()
    The default binding prefix for the parameter, usually "prop".

  - ### isCached

    boolean isCached()
    Returns:
      true if the bound-value is cached in the component during rendering.
    Since:
      5.2.0.0

  - ### getComponentModel

    ComponentModel getComponentModel()
    Identifies the component model in which the parameter is defined.
    Returns:
      component model defining the parameter
    Since:
      5.3