Class ParameterModelImpl
java.lang.Object
org.apache.tapestry5.internal.model.ParameterModelImpl
- All Implemented Interfaces:
ParameterModel
-
Constructor Summary
ConstructorsConstructorDescriptionParameterModelImpl(ComponentModel componentModel, String name, boolean required, boolean allowNull, String defaultBindingPrefix, boolean cached) -
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.booleanIf true, then no check is needed.booleanisCached()booleanIf true, the parameter is required.
-
Constructor Details
-
ParameterModelImpl
public ParameterModelImpl(ComponentModel componentModel, String name, boolean required, boolean allowNull, String defaultBindingPrefix, boolean cached)
-
-
Method Details
-
getName
Description copied from interface:ParameterModelThe name of the parameter.- Specified by:
getNamein interfaceParameterModel
-
isRequired
Description copied from interface:ParameterModelIf true, the parameter is required.- Specified by:
isRequiredin interfaceParameterModel
-
getDefaultBindingPrefix
Description copied from interface:ParameterModelThe default binding prefix for the parameter, usually "prop".- Specified by:
getDefaultBindingPrefixin interfaceParameterModel
-
isAllowNull
Description copied from interface:ParameterModelIf true, then no check is needed. If false, then the bound value must not be null.- Specified by:
isAllowNullin interfaceParameterModel
-
isCached
- Specified by:
isCachedin interfaceParameterModel- Returns:
- true if the bound-value is cached in the component during rendering.
-
getComponentModel
Description copied from interface:ParameterModelIdentifies the component model in which the parameter is defined.- Specified by:
getComponentModelin interfaceParameterModel- Returns:
- component model defining the parameter
-