| Package | Description |
|---|---|
| org.apache.bval | |
| org.apache.bval.model |
| Modifier and Type | Class and Description |
|---|---|
class |
DynamicMetaBean
Description: Dynamic
MetaBean subclass. |
| Modifier and Type | Field and Description |
|---|---|
protected ConcurrentMap<Class<?>,MetaBean> |
MetaBeanCache.cacheByClass
Cache keyed by class.
|
protected ConcurrentMap<String,MetaBean> |
MetaBeanCache.cacheById
Cache keyed by id.
|
| Modifier and Type | Method and Description |
|---|---|
MetaBean |
MetaBeanBuilder.buildForClass(Class<?> clazz)
Build a MetaBean for the specified class.
|
MetaBean |
MetaBeanBuilder.buildForId(String beanInfoId)
Build a
MetaBean for a given id. |
MetaBean |
MetaBeanManager.findForClass(Class<?> clazz)
Find the MetaBean for the specified class.
|
MetaBean |
MetaBeanFinder.findForClass(Class<?> clazz)
Find the MetaBean for the specified class.
|
MetaBean |
MetaBeanCache.findForClass(Class<?> clazz)
Find the MetaBean for the specified class.
|
MetaBean |
MetaBeanManager.findForId(String beanInfoId)
Find a MetaBean with a certain id.
|
MetaBean |
MetaBeanFinder.findForId(String beanInfoId)
Find a MetaBean with a certain id.
|
MetaBean |
MetaBeanCache.findForId(String beanInfoId)
Find a MetaBean with a certain id.
|
MetaBean |
BeanValidationContext.getMetaBean()
Get the model meta-bean.
|
MetaBean |
DynamicMetaBean.resolveMetaBean(Object bean)
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,MetaBean> |
MetaBeanBuilder.buildAll()
Build beans for all known ids.
|
Map<String,MetaBean> |
MetaBeanCache.findAll()
Return all cached MetaBeans by id.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MetaBeanFactory.buildMetaBean(MetaBean metaBean)
Initialize the specified
MetaBean. |
void |
IntrospectorMetaBeanFactory.buildMetaBean(MetaBean meta)
Initialize the specified
MetaBean. |
void |
MetaBeanCache.cache(MetaBean beanInfo)
Cache the specified MetaBean.
|
protected void |
MetaBeanManager.computeRelationships(MetaBean beanInfo)
Compute all known relationships for
beanInfo. must be called
AFTER cache.cache() to avoid endless loop |
void |
BeanValidationContext.moveUp(Object bean,
MetaBean aMetaBean)
Step out from a validation of associated objects.
|
void |
MetaBeanCache.removeFromCache(MetaBean beanInfo)
Remove a single MetaBean from the cache.
|
void |
BeanValidationContext.setBean(Object aBean,
MetaBean aMetaBean)
Set the current bean/metabean.
|
void |
BeanValidationContext.setMetaBean(MetaBean metaBean)
Set the model meta-bean.
|
T |
BeanValidator.validate(Object bean,
MetaBean metaBean)
Convenience API. validate a root object with all related objects
according to the metaBean.
|
| Constructor and Description |
|---|
MetaBeanCache(Map<String,MetaBean> beans)
Create a new MetaBeanCache instance.
|
| Modifier and Type | Field and Description |
|---|---|
protected MetaBean |
Meta.parentMetaBean |
| Modifier and Type | Method and Description |
|---|---|
MetaBean |
ValidationContext.getMetaBean()
Get the model meta-bean.
|
MetaBean |
MetaProperty.getMetaBean()
Get the metabean of the target bean (mainly for relationships).
|
MetaBean |
MetaParameter.getParentMetaBean() |
MetaBean |
Meta.getParentMetaBean() |
MetaBean |
MetaBean.resolveMetaBean(Object bean)
|
| Modifier and Type | Method and Description |
|---|---|
void |
ValidationContext.moveUp(Object bean,
MetaBean metaBean)
Step out from a validation of associated objects.
|
void |
ValidationContext.setBean(Object aBean,
MetaBean aMetaBean)
Set the current bean/metabean.
|
void |
ValidationContext.setMetaBean(MetaBean metaBean)
Set the model meta-bean.
|
void |
MetaProperty.setMetaBean(MetaBean metaBean)
Set the MetaBean of this
MetaProperty. |
| Constructor and Description |
|---|
MetaConstructor(MetaBean metabean,
Constructor<?> constructor) |
MetaMethod(MetaBean parent,
Method method) |
Copyright © 2010-2015 The Apache Software Foundation. All Rights Reserved.