public final class DynamicMetaBean extends MetaBean
MetaBean
subclass.MetaBean.ConstructorComparator, MetaBean.FieldComparator, MetaBean.MethodComparator
DOMAIN, EXECUTABLES, MAIN_KEY, PROPERTIES, UNIQUE_KEY
Constructor and Description |
---|
DynamicMetaBean(MetaBeanFinder finder)
Create a new DynamicMetaBean instance.
|
Modifier and Type | Method and Description |
---|---|
MetaBean |
resolveMetaBean(Object bean)
|
addConstructor, addMethod, copyInto, getBeanClass, getConstructor, getId, getMethod, getMethods, getName, getProperties, getProperty, hasRelationships, putProperty, setBeanClass, setId, setName, setProperties, toString
addValidation, copy, createFeaturesMap, getFeature, getFeature, getFeatures, getValidations, hasValidation, initFeature, 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
bean
- instancethis
or null
Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.