public final class DynamicMetaBean extends MetaBean
MetaBean
subclass.features, validations
DOMAIN, MAIN_KEY, UNIQUE_KEY
Constructor and Description |
---|
DynamicMetaBean(MetaBeanFinder finder)
Create a new DynamicMetaBean instance.
|
Modifier and Type | Method and Description |
---|---|
MetaBean |
resolveMetaBean(Object bean)
|
copyInto, getBeanClass, getId, getName, getProperties, getProperty, hasProperties, hasRelationships, putProperty, setBeanClass, setId, setName, setProperties, toString
addValidation, copy, createFeaturesMap, getFeature, getFeature, getFeatures, getValidations, hasValidation, optimizeRead, putFeature, setValidations
public DynamicMetaBean(MetaBeanFinder finder)
finder
- public MetaBean resolveMetaBean(Object bean)
If this MetaBean
is compatible with bean
, return this
, else null
.
Compatibility is satisfied in one of the following ways:
bean
is nullbean
is an instance of our beanClass
bean
is our beanClass
itselfresolveMetaBean
in class MetaBean
this
or null
Copyright © 2010–2015 The Apache Software Foundation. All rights reserved.