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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ComponentModel
getComponentModel()
Identifies the component model in which the parameter is defined.java.lang.String
getDefaultBindingPrefix()
The default binding prefix for the parameter, usually "prop".java.lang.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 Detail
-
getName
java.lang.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
java.lang.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
-
-