Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
A read-only Model that converts the object of the given property model into something else (e.g. extract a value).
<> The type of the property model
<> The target type of the conversion
The PropertyModel being converted
Construct with a wrapped (IModel) or unwrapped (non-IModel) object and a property expression that works on the
modelObject The model object, which may or may not implement IModel
expression the expression accessing the property
Converts the extracted property object into something else.
object the object to be transformed
- the transformed object
protected abstract C convert(T object);
Returns the underlying property model.
- the property model