// Copyright 2007, 2008 The Apache Software Foundation
// 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.
for a particular bean class. Also provides support to the model by generating validation information for individual fields.
BeanModels are the basis for the
annotation. The labels for the properties are derived from the property names, but if the component's message catalog has keys of the form
propertyName-label, then those will be used instead.
Models are mutable, so they are not cached, a fresh instance is created each time.
beanClassclass of object to be edited
filterReadOnlyPropertiesif true, then properties that are read-only will be skipped (leaving only read-write properties, appropriate for
, etc.). If false, then both read-only and read-write properties will be included (appropriate for
messagesUsed to find explicit overrides of