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:
-
Method Summary
Modifier and TypeMethodDescriptionIdentifies the component model in which the parameter is defined.The default binding prefix for the parameter, usually "prop".getName()
The name of the parameter.boolean
If true, then no check is needed.boolean
isCached()
boolean
If true, the parameter is required.
-
Method Details
-
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
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
Identifies the component model in which the parameter is defined.- Returns:
- component model defining the parameter
- Since:
- 5.3
-