- get(Object) - Method in class org.apache.bval.ConstructorAccess
-
- get(Object) - Method in class org.apache.bval.util.AccessStrategy
-
Get the value from the given instance.
- get(Object) - Method in class org.apache.bval.util.FieldAccess
-
Get the value from the given instance.
- get(Object) - Method in class org.apache.bval.util.IndexedAccess
-
Get the value from the given instance.
- get(Object) - Method in class org.apache.bval.util.KeyedAccess
-
Get the value from the given instance.
- get(Object) - Method in class org.apache.bval.util.MethodAccess
-
Get the value from the given instance.
- get(Object) - Method in class org.apache.bval.util.PropertyAccess
-
Get the value from the given instance.
- getAccess() - Method in class org.apache.bval.BeanValidationContext
-
Get the current access strategy.
- getAccess() - Method in interface org.apache.bval.model.ValidationContext
-
Get the current access strategy.
- getAnnotations() - Method in class org.apache.bval.model.MetaAnnotated
-
- getAnnotationValue(Annotation, String) - Static method in class org.apache.bval.util.reflection.Reflection
-
Get the named value from the specified
Annotation.
- getBean() - Method in class org.apache.bval.BeanValidationContext
-
Get the bean.
- getBean() - Method in interface org.apache.bval.model.ValidationContext
-
Get the bean.
- getBeanClass() - Method in class org.apache.bval.model.MetaBean
-
Get the beanClass.
- getBuilder() - Method in class org.apache.bval.MetaBeanManager
-
Get the builder used.
- getCache() - Method in class org.apache.bval.MetaBeanManager
-
Get the cache used.
- getClass(ClassLoader, String) - Static method in class org.apache.bval.util.reflection.Reflection
-
- getClassLoader(Class<?>) - Static method in class org.apache.bval.util.reflection.Reflection
-
- getConstructor(Constructor<?>) - Method in class org.apache.bval.model.MetaBean
-
- getConstructor() - Method in class org.apache.bval.model.MetaConstructor
-
- getDeclaredConstructor(Class<T>, Class<?>...) - Static method in class org.apache.bval.util.reflection.Reflection
-
Get the declared constructor from clazz.
- getDeclaredConstructors(Class<?>) - Static method in class org.apache.bval.util.reflection.Reflection
-
- getDeclaredField(Class<?>, String) - Static method in class org.apache.bval.util.reflection.Reflection
-
Get the declared field from clazz.
- getDeclaredFields(Class<?>) - Static method in class org.apache.bval.util.reflection.Reflection
-
- getDeclaredMethod(Class<?>, String, Class<?>...) - Static method in class org.apache.bval.util.reflection.Reflection
-
Get the declared method from clazz.
- getDeclaredMethods(Class<?>) - Static method in class org.apache.bval.util.reflection.Reflection
-
- getElementType() - Method in class org.apache.bval.ConstructorAccess
-
- getElementType() - Method in class org.apache.bval.util.AccessStrategy
-
- getElementType() - Method in class org.apache.bval.util.FieldAccess
-
- getElementType() - Method in class org.apache.bval.util.IndexedAccess
-
- getElementType() - Method in class org.apache.bval.util.KeyedAccess
-
- getElementType() - Method in class org.apache.bval.util.MethodAccess
-
- getElementType() - Method in class org.apache.bval.util.PropertyAccess
-
- getEnumConstants() - Method in class org.apache.bval.model.DynaTypeEnum
-
Get the emulated constants.
- getErrorsByOwner() - Method in class org.apache.bval.ValidationResults
-
Get the map of Errors by owner;
key = owner, value = map with:
key = propertyName, value = list of errors for this owner.propertyName
- getErrorsByReason() - Method in class org.apache.bval.ValidationResults
-
Get the map of Errors by reason;
key = reason, value = list of errors for this reason
- getFactories() - Method in class org.apache.bval.MetaBeanBuilder
-
- getFeature(String) - Method in class org.apache.bval.model.FeaturesCapable
-
Get the specified feature.
- getFeature(String, T) - Method in class org.apache.bval.model.FeaturesCapable
-
Get the specified feature, returning defaultValue if
undeclared.
- getFeatures() - Method in class org.apache.bval.model.FeaturesCapable
-
Get the (live) map of features.
- getFinder() - Static method in class org.apache.bval.MetaBeanManagerFactory
-
global meta bean finder.
- getId() - Method in class org.apache.bval.model.MetaBean
-
Get the id.
- getID() - Static method in class org.apache.bval.util.BValVersion
-
Get the fully-qualified project id.
- getIndex() - Method in class org.apache.bval.model.MetaParameter
-
- getJavaElementType(Type) - Static method in class org.apache.bval.util.IndexedAccess
-
Get the Java element type of a particular container type.
- getJavaElementType(Type) - Static method in class org.apache.bval.util.KeyedAccess
-
Get the Java element type of a particular container type.
- getJavaScriptValidations() - Method in class org.apache.bval.model.MetaProperty
-
Deprecated.
- getJavaType() - Method in class org.apache.bval.ConstructorAccess
-
- getJavaType() - Method in class org.apache.bval.util.AccessStrategy
-
Get the type of the property
- getJavaType() - Method in class org.apache.bval.util.FieldAccess
-
Get the type of the property
- getJavaType() - Method in class org.apache.bval.util.IndexedAccess
-
Get the type of the property
- getJavaType() - Method in class org.apache.bval.util.KeyedAccess
-
Get the type of the property
- getJavaType() - Method in class org.apache.bval.util.MethodAccess
-
Get the type of the property
- getJavaType() - Method in class org.apache.bval.util.PropertyAccess
-
Get the type of the property
- getListener() - Method in class org.apache.bval.BeanValidationContext
-
- getListener() - Method in interface org.apache.bval.model.ValidationContext
-
- getMeta() - Method in class org.apache.bval.BeanValidationContext
-
Depending on whether we have a metaProperty or not,
this returns the metaProperty or otherwise the metaBean.
- getMetaBean() - Method in class org.apache.bval.BeanValidationContext
-
Get the model meta-bean.
- getMetaBean() - Method in class org.apache.bval.model.MetaProperty
-
Get the metabean of the target bean (mainly for relationships).
- getMetaBean() - Method in interface org.apache.bval.model.ValidationContext
-
Get the model meta-bean.
- getMetaBeanFinder() - Method in class org.apache.bval.BeanValidator
-
Get the metabean finder associated with this validator.
- getMetaProperty() - Method in class org.apache.bval.BeanValidationContext
-
Get the model meta-property.
- getMetaProperty() - Method in interface org.apache.bval.model.ValidationContext
-
Get the model meta-property.
- getMethod(Method) - Method in class org.apache.bval.model.MetaBean
-
- getMethod() - Method in class org.apache.bval.model.MetaMethod
-
- getMethod() - Method in class org.apache.bval.model.MetaParameter
-
- getMethods() - Method in class org.apache.bval.model.MetaBean
-
- getName() - Method in class org.apache.bval.model.DynaTypeEnum
-
Get the name of the enum class.
- getName() - Method in class org.apache.bval.model.MetaBean
-
Get the name.
- getName() - Method in class org.apache.bval.model.MetaProperty
-
Get the name of this property.
- getName() - Static method in class org.apache.bval.util.BValVersion
-
Get the project name.
- getOwner() - Method in class org.apache.bval.model.ValidationListener.Error
-
Get the owner.
- getParameter(Integer) - Method in class org.apache.bval.model.MetaInvocable
-
- getParameters() - Method in class org.apache.bval.model.MetaInvocable
-
- getParentMetaBean() - Method in class org.apache.bval.model.Meta
-
- getParentMetaBean() - Method in class org.apache.bval.model.MetaParameter
-
- getProperties() - Method in class org.apache.bval.model.MetaBean
-
Get the properties.
- getProperty(String) - Method in class org.apache.bval.model.MetaBean
-
- getProperty(Object, String) - Static method in class org.apache.bval.util.PropertyAccess
-
Get a named property from bean.
- getProperty(String) - Static method in class org.apache.bval.util.reflection.Reflection
-
- getPropertyName() - Method in class org.apache.bval.BeanValidationContext
-
Convenience method to access metaProperty.name
- getPropertyName() - Method in class org.apache.bval.ConstructorAccess
-
Get a name representative of this property.
- getPropertyName() - Method in interface org.apache.bval.model.ValidationContext
-
Get the property name.
- getPropertyName() - Method in class org.apache.bval.model.ValidationListener.Error
-
Get the propertyName.
- getPropertyName() - Method in class org.apache.bval.util.AccessStrategy
-
Get a name representative of this property.
- getPropertyName() - Method in class org.apache.bval.util.FieldAccess
-
Get a name representative of this property.
- getPropertyName() - Method in class org.apache.bval.util.IndexedAccess
-
Get a name representative of this property.
- getPropertyName() - Method in class org.apache.bval.util.KeyedAccess
-
Get a name representative of this property.
- getPropertyName(Method) - Static method in class org.apache.bval.util.MethodAccess
-
Process bean properties getter by applying the JavaBean naming conventions.
- getPropertyName() - Method in class org.apache.bval.util.MethodAccess
-
Get a name representative of this property.
- getPropertyName() - Method in class org.apache.bval.util.PropertyAccess
-
Get a name representative of this property.
- getPropertyValue() - Method in class org.apache.bval.BeanValidationContext
-
Get the cached value or access it somehow (via field or method)
you should prefer getPropertyValue(AccessStrategy) instead of this method
- getPropertyValue(AccessStrategy) - Method in class org.apache.bval.BeanValidationContext
-
Get the value by using the given access strategy.
- getPropertyValue() - Method in interface org.apache.bval.model.ValidationContext
-
Get the property value.
- getPropertyValue(AccessStrategy) - Method in interface org.apache.bval.model.ValidationContext
-
Get the value by using the given access strategy.
- getPublicMethod(Class<?>, String, Class<?>...) - Static method in class org.apache.bval.util.reflection.Reflection
-
Get the specified
public Method from
clazz.
- getRawType() - Method in interface org.apache.bval.model.DynaType
-
Resolve the type indirection.
- getRawType() - Method in class org.apache.bval.model.DynaTypeEnum
-
Resolve the type indirection.
- getReason() - Method in class org.apache.bval.model.ValidationListener.Error
-
Get the reason.
- getRevision() - Static method in class org.apache.bval.util.BValVersion
-
Get the version control revision number.
- getType() - Method in class org.apache.bval.model.MetaProperty
-
Get the type of this property.
- getTypeClass() - Method in class org.apache.bval.model.MetaProperty
-
Resolve the type of this property to a class.
- getValidations() - Method in class org.apache.bval.model.FeaturesCapable
-
- getVersion() - Static method in class org.apache.bval.util.BValVersion
-
Get the project version number.
- main(String[]) - Static method in class org.apache.bval.util.BValVersion
-
- MAIN_KEY - Static variable in interface org.apache.bval.model.Features.Bean
-
INFO: String, name of the Property, that is the Primary Key
- MAJOR_RELEASE - Static variable in class org.apache.bval.util.BValVersion
-
Major release number
- MANDATORY - Static variable in interface org.apache.bval.model.Features.Property
-
VALIDATION: Boolean, mandatory field?
- MAX_LENGTH - Static variable in interface org.apache.bval.model.Features.Property
-
VALIDATION: Integer, max. number of chars/digits / max. cardinality of a to-many relationship
- MAX_VALUE - Static variable in interface org.apache.bval.model.Features.Property
-
VALIDATION: Comparable (e.g. a subclass of Number), max value
- Meta - Class in org.apache.bval.model
-
- Meta() - Constructor for class org.apache.bval.model.Meta
-
- MetaAnnotated - Class in org.apache.bval.model
-
- MetaAnnotated() - Constructor for class org.apache.bval.model.MetaAnnotated
-
- MetaBean - Class in org.apache.bval.model
-
Description: the meta description of a bean or class. the class/bean itself can have a map of features and an array
of metaproperties.
- MetaBean() - Constructor for class org.apache.bval.model.MetaBean
-
- MetaBean.ConstructorComparator - Class in org.apache.bval.model
-
- MetaBean.ConstructorComparator(Class<?>) - Constructor for class org.apache.bval.model.MetaBean.ConstructorComparator
-
- MetaBean.FieldComparator - Class in org.apache.bval.model
-
- MetaBean.FieldComparator(Class<?>) - Constructor for class org.apache.bval.model.MetaBean.FieldComparator
-
- MetaBean.MethodComparator - Class in org.apache.bval.model
-
- MetaBean.MethodComparator(Class<?>) - Constructor for class org.apache.bval.model.MetaBean.MethodComparator
-
- MetaBeanBuilder - Class in org.apache.bval
-
Description: internal implementation class to construct metabeans with
factories
- MetaBeanBuilder() - Constructor for class org.apache.bval.MetaBeanBuilder
-
Create a new MetaBeanBuilder instance.
- MetaBeanBuilder(MetaBeanFactory[]) - Constructor for class org.apache.bval.MetaBeanBuilder
-
Create a new MetaBeanBuilder instance.
- MetaBeanCache - Class in org.apache.bval
-
Description: a cache to hold metabeans by id and by class.
- MetaBeanCache() - Constructor for class org.apache.bval.MetaBeanCache
-
Create a new MetaBeanCache instance.
- MetaBeanCache(Map<String, MetaBean>) - Constructor for class org.apache.bval.MetaBeanCache
-
Create a new MetaBeanCache instance.
- MetaBeanFactory - Interface in org.apache.bval
-
Description: interface for abstraction how to initialize a MetaBean
with information from somewhere
- MetaBeanFinder - Interface in org.apache.bval
-
Description: Interface to find BeanInfos
- MetaBeanManager - Class in org.apache.bval
-
Description: Default implementation for the interface to find, register and
create MetaBeans.
- MetaBeanManager() - Constructor for class org.apache.bval.MetaBeanManager
-
Create a new MetaBeanManager instance.
- MetaBeanManager(MetaBeanBuilder) - Constructor for class org.apache.bval.MetaBeanManager
-
Create a new MetaBeanManager instance.
- MetaBeanManagerFactory - Class in org.apache.bval
-
Description: API class to hold a singleton of a
MetaBeanManager
that implements the finder and registry interfaces for MetaBeans
- MetaBeanManagerFactory() - Constructor for class org.apache.bval.MetaBeanManagerFactory
-
- MetaConstructor - Class in org.apache.bval.model
-
- MetaConstructor(MetaBean, Constructor<?>) - Constructor for class org.apache.bval.model.MetaConstructor
-
- MetaInvocable - Class in org.apache.bval.model
-
- MetaInvocable() - Constructor for class org.apache.bval.model.MetaInvocable
-
- MetaMethod - Class in org.apache.bval.model
-
- MetaMethod(MetaBean, Method) - Constructor for class org.apache.bval.model.MetaMethod
-
- MetaParameter - Class in org.apache.bval.model
-
- MetaParameter(MetaInvocable, Integer) - Constructor for class org.apache.bval.model.MetaParameter
-
- MetaProperty - Class in org.apache.bval.model
-
Description: the meta description of a property of a bean.
- MetaProperty() - Constructor for class org.apache.bval.model.MetaProperty
-
Create a new MetaProperty instance.
- MethodAccess - Class in org.apache.bval.util
-
Description: invoke a zero-argument method (getter)
- MethodAccess(Method) - Constructor for class org.apache.bval.util.MethodAccess
-
Create a new MethodAccess instance.
- MethodAccess(String, Method) - Constructor for class org.apache.bval.util.MethodAccess
-
Create a new MethodAccess instance.
- MIN_LENGTH - Static variable in interface org.apache.bval.model.Features.Property
-
VALIDATION: Integer, min. number of chars/digits / min. cardinality of a to-many relationship
- MIN_VALUE - Static variable in interface org.apache.bval.model.Features.Property
-
VALIDATION: Comparable (e.g. a subclass of Number), min value
- MINOR_RELEASE - Static variable in class org.apache.bval.util.BValVersion
-
Minor release number
- moveDown(MetaProperty, AccessStrategy) - Method in class org.apache.bval.BeanValidationContext
-
Step deeper into association at 'prop'
- moveDown(String) - Method in class org.apache.bval.BeanValidationContext
-
- moveDown(MetaProperty, AccessStrategy) - Method in interface org.apache.bval.model.ValidationContext
-
Step deeper into association at 'prop'
- moveDown(String) - Method in interface org.apache.bval.model.ValidationContext
-
- moveUp(Object, MetaBean) - Method in class org.apache.bval.BeanValidationContext
-
Step out from a validation of associated objects.
- moveUp(Object, MetaBean) - Method in interface org.apache.bval.model.ValidationContext
-
Step out from a validation of associated objects.
- setAccessible(AccessibleObject, boolean) - Static method in class org.apache.bval.util.reflection.Reflection
-
Set the accessibility of o to accessible.
- setBean(Object, MetaBean) - Method in class org.apache.bval.BeanValidationContext
-
Set the current bean/metabean.
- setBean(Object) - Method in class org.apache.bval.BeanValidationContext
-
Set the bean.
- setBean(Object) - Method in interface org.apache.bval.model.ValidationContext
-
Set the bean.
- setBean(Object, MetaBean) - Method in interface org.apache.bval.model.ValidationContext
-
Set the current bean/metabean.
- setBeanClass(Class<?>) - Method in class org.apache.bval.model.MetaBean
-
Set the beanClass.
- setCurrentIndex(Integer) - Method in class org.apache.bval.BeanValidationContext
-
Set the index of the object currently validated into the context.
- setCurrentIndex(Integer) - Method in interface org.apache.bval.model.ValidationContext
-
Set the index of the object currently validated into the context.
- setCurrentKey(Object) - Method in class org.apache.bval.BeanValidationContext
-
set the key of the object in a map currently validated into the context.
- setCurrentKey(Object) - Method in interface org.apache.bval.model.ValidationContext
-
set the key of the object in a map currently validated into the context.
- setEnumNames(String[]) - Method in class org.apache.bval.model.DynaTypeEnum
-
Set the enumeration value names.
- setFactories(MetaBeanFactory[]) - Method in class org.apache.bval.MetaBeanBuilder
-
- setFixed(boolean) - Method in class org.apache.bval.BeanValidationContext
-
Potentially declare the current property value as being "fixed."
- setFixedValue(Object) - Method in class org.apache.bval.BeanValidationContext
-
Set the property value, fixed.
- setId(String) - Method in class org.apache.bval.model.MetaBean
-
Set the id.
- setListener(T) - Method in class org.apache.bval.BeanValidationContext
-
Set the listener.
- setManager(MetaBeanManager) - Static method in class org.apache.bval.MetaBeanManagerFactory
-
set global meta bean manager, that is responsible
for finding, caching, xml registry and enrichment algorithm.
- setMandatory(boolean) - Method in class org.apache.bval.model.MetaProperty
-
Set this property as being mandatory (or not).
- setMetaBean(MetaBean) - Method in class org.apache.bval.BeanValidationContext
-
Set the model meta-bean.
- setMetaBean(MetaBean) - Method in class org.apache.bval.model.MetaProperty
-
- setMetaBean(MetaBean) - Method in interface org.apache.bval.model.ValidationContext
-
Set the model meta-bean.
- setMetaProperty(MetaProperty) - Method in class org.apache.bval.BeanValidationContext
-
Set the current meta-property.
- setMetaProperty(MetaProperty) - Method in interface org.apache.bval.model.ValidationContext
-
Set the current meta-property.
- setName(String) - Method in class org.apache.bval.model.MetaBean
-
Set the name.
- setName(String) - Method in class org.apache.bval.model.MetaProperty
-
Set the name of this property.
- setProperties(MetaProperty[]) - Method in class org.apache.bval.model.MetaBean
-
Set the properties.
- setPropertyValue(Object) - Method in class org.apache.bval.BeanValidationContext
-
Set the current property value.
- setTreatMapsLikeBeans(boolean) - Method in class org.apache.bval.BeanValidator
-
- setType(Type) - Method in class org.apache.bval.model.MetaProperty
-
Set the type of this property.
- setValidations(Validation[]) - Method in class org.apache.bval.model.FeaturesCapable
-
- validate(Object) - Method in class org.apache.bval.BeanValidator
-
Convenience API. validate a root object with all related objects with its
default metaBean definition.
- validate(Object, MetaBean) - Method in class org.apache.bval.BeanValidator
-
Convenience API. validate a root object with all related objects
according to the metaBean.
- validate(ValidationContext<T>) - Method in interface org.apache.bval.model.Validation
-
Perform a single validation routine.
- validate() - Method in interface org.apache.bval.util.ValidationHelper.ValidateCallback
-
- Validate - Annotation Type in org.apache.bval
-
Description: Annotate an element (parameter) to be validated.
- validateArrayInContext(ValidationContext<VL>, ValidationHelper.ValidateCallback) - Static method in class org.apache.bval.util.ValidationHelper
-
Iterates the values of an array, setting the current context
appropriately and validating each value.
- validateBean(ValidationContext<VL>) - Static method in class org.apache.bval.util.ValidationHelper
-
Validate a single bean only, no related beans will be validated.
- validateBeanInContext(ValidationContext<VL>, ValidationHelper.ValidateCallback) - Static method in class org.apache.bval.util.ValidationHelper
-
Validates a single object.
- validateBeanNet(ValidationContext<VL>) - Method in class org.apache.bval.BeanValidator
-
internal validate a bean (=not a collection of beans) and
its related beans
- validateCall(Method, Object[]) - Method in class org.apache.bval.BeanValidator
-
Validate the method parameters based on @Validate annotations.
- validateContext(ValidationContext<?>, ValidationHelper.ValidateCallback, boolean) - Static method in class org.apache.bval.util.ValidationHelper
-
validate a complex 'bean' with related beans according to
validation rules in 'metaBean'
- validatedObjects - Variable in class org.apache.bval.BeanValidationContext
-
set of objects already validated to avoid endless loops.
- validateIterableInContext(ValidationContext<VL>, ValidationHelper.ValidateCallback) - Static method in class org.apache.bval.util.ValidationHelper
-
Iterates the values of an
Iterable object, setting the current
context appropriately and validating each value.
- validateMapInContext(ValidationContext<VL>, ValidationHelper.ValidateCallback) - Static method in class org.apache.bval.util.ValidationHelper
-
Iterates the values of a
Map, setting the current context
appropriately and validating each value.
- validateProperty(Object, MetaProperty) - Method in class org.apache.bval.BeanValidator
-
Convenience API. validate a single property.
- validateProperty(ValidationContext<VL>) - Static method in class org.apache.bval.util.ValidationHelper
-
Validate a single property only.
- validateRelatedBean(ValidationContext<VL>, MetaProperty) - Method in class org.apache.bval.BeanValidator
-
Validate a property of a graph.
- Validation - Interface in org.apache.bval.model
-
Description: Interface for a single validation
- ValidationContext<T extends ValidationListener> - Interface in org.apache.bval.model
-
Description: Interface of the context that holds all state information
during the validation process
- ValidationHelper - Class in org.apache.bval.util
-
Stateless helper methods used by the validators.
- ValidationHelper() - Constructor for class org.apache.bval.util.ValidationHelper
-
- ValidationHelper.ValidateCallback - Interface in org.apache.bval.util
-
- ValidationListener - Interface in org.apache.bval.model
-
Description: The interface to collect errors found during validation
- ValidationListener.Error - Class in org.apache.bval.model
-
An object holding a single validation constraint violation
found during the validation process.
- ValidationListener.Error(String, Object, String) - Constructor for class org.apache.bval.model.ValidationListener.Error
-
Create a new Error instance.
- ValidationResults - Class in org.apache.bval
-
Description: Implements a contains to hold and transport validation results
- ValidationResults() - Constructor for class org.apache.bval.ValidationResults
-
- VERSION_NUMBER - Static variable in class org.apache.bval.util.BValVersion
-
Version number