A B C D E F G H I J K M N O P R S T U V 

A

AccessStrategy - Class in org.apache.bval.util
Description: abstract class to encapsulate different strategies to get the value of a Property.
AccessStrategy() - Constructor for class org.apache.bval.util.AccessStrategy
 
addAnnotation(Annotation) - Method in class org.apache.bval.model.MetaAnnotated
 
addConstructor(Constructor<?>, MetaConstructor) - Method in class org.apache.bval.model.MetaBean
 
addError(String, ValidationContext<T>) - Method in interface org.apache.bval.model.ValidationListener
Simple API to add an error reason during validation.
addError(ValidationListener.Error, ValidationContext<T>) - Method in interface org.apache.bval.model.ValidationListener
Alternative method to add a fully initialized ValidationListener.Error object.
addError(String, ValidationContext<T>) - Method in class org.apache.bval.ValidationResults
API to add an error to the validation results.
addError(ValidationListener.Error, ValidationContext<T>) - Method in class org.apache.bval.ValidationResults
API to add an error to the validation results.
addError(String, Object, String) - Method in class org.apache.bval.ValidationResults
Old API to add an error to the validation results when no context is available.
addMethod(Method, MetaMethod) - Method in class org.apache.bval.model.MetaBean
 
addParameter(int, MetaParameter) - Method in class org.apache.bval.model.MetaInvocable
 
addToOwnerBucket(ValidationListener.Error) - Method in class org.apache.bval.ValidationResults
Add an Error to the property-keyed map of Errors maintained for this Error's owner.
addToReasonBucket(ValidationListener.Error) - Method in class org.apache.bval.ValidationResults
Add an Error to the set of Errors shared by a particular "reason."
addValidation(Validation) - Method in class org.apache.bval.model.FeaturesCapable
Add a validation to this FeaturesCapable.

B

BeanValidationContext<T extends ValidationListener> - Class in org.apache.bval
Description: Context during validation to help the Validation and the BeanValidator do their jobs.
BeanValidationContext(T) - Constructor for class org.apache.bval.BeanValidationContext
Create a new BeanValidationContext instance.
BeanValidationContext(T, Map) - Constructor for class org.apache.bval.BeanValidationContext
Create a new BeanValidationContext instance.
BeanValidator<T extends ValidationListener> - Class in org.apache.bval
Description: Top-Level API-class to validate objects or object-trees.
BeanValidator() - Constructor for class org.apache.bval.BeanValidator
Create a new BeanValidator instance.
BeanValidator(MetaBeanFinder) - Constructor for class org.apache.bval.BeanValidator
Create a new BeanValidator instance.
buildAll() - Method in class org.apache.bval.MetaBeanBuilder
Build beans for all known ids.
builder - Variable in class org.apache.bval.MetaBeanManager
MetaBean builder
buildForClass(Class<?>) - Method in class org.apache.bval.MetaBeanBuilder
Build a MetaBean for the specified class.
buildForId(String) - Method in class org.apache.bval.MetaBeanBuilder
Build a MetaBean for a given id.
buildMetaBean(MetaBean) - Method in class org.apache.bval.IntrospectorMetaBeanFactory
Initialize the specified MetaBean.
buildMetaBean(MetaBean) - Method in interface org.apache.bval.MetaBeanFactory
Initialize the specified MetaBean.
buildMetaProperty(PropertyDescriptor) - Method in class org.apache.bval.IntrospectorMetaBeanFactory
Deprecated.
buildMetaProperty(PropertyDescriptor, MetaProperty) - Method in class org.apache.bval.IntrospectorMetaBeanFactory
Create a MetaProperty from the specified PropertyDescriptor.
BValVersion - Class in org.apache.bval.util
This class contains version information for BVal.
BValVersion() - Constructor for class org.apache.bval.util.BValVersion
 

C

cache(MetaBean) - Method in class org.apache.bval.MetaBeanCache
Cache the specified MetaBean.
cache - Variable in class org.apache.bval.MetaBeanManager
MetaBean cache
cacheByClass - Variable in class org.apache.bval.MetaBeanCache
Cache keyed by class.
cacheById - Variable in class org.apache.bval.MetaBeanCache
Cache keyed by id.
clear() - Method in class org.apache.bval.MetaBeanCache
Clear the cache.
clone() - Method in class org.apache.bval.model.MetaProperty
collectValidated() - Method in class org.apache.bval.BeanValidationContext
Avoid recursion by recording the current state of this context as having been validated.
collectValidated() - Method in interface org.apache.bval.model.ValidationContext
Avoid recursion by recording the current state of this context as having been validated.
compare(Constructor<?>, Constructor<?>) - Method in class org.apache.bval.model.MetaBean.ConstructorComparator
 
compare(String, String) - Method in class org.apache.bval.model.MetaBean.FieldComparator
 
compare(Method, Method) - Method in class org.apache.bval.model.MetaBean.MethodComparator
 
complete - Variable in class org.apache.bval.MetaBeanManager
Complete flag
computeRelatedMetaBean(MetaProperty, String) - Method in class org.apache.bval.MetaBeanManager
Compute a single related MetaBean.
computeRelationships(MetaBean) - Method in class org.apache.bval.MetaBeanManager
Compute all known relationships for beanInfo. must be called AFTER cache.cache() to avoid endless loop
ConstructorAccess - Class in org.apache.bval
 
ConstructorAccess(Constructor<?>) - Constructor for class org.apache.bval.ConstructorAccess
 
copy() - Method in class org.apache.bval.model.FeaturesCapable
Create a deep copy (copy receiver and copy properties).
copyInto(FeaturesCapable) - Method in class org.apache.bval.model.FeaturesCapable
Copy this FeaturesCapable into another FeaturesCapable instance.
copyInto(FeaturesCapable) - Method in class org.apache.bval.model.MetaBean
Copy this FeaturesCapable into another FeaturesCapable instance.
createContext() - Method in class org.apache.bval.BeanValidator
factory method - overwrite in subclasses
createError(String, Object, String) - Method in class org.apache.bval.ValidationResults
Create an Error object.
createFeaturesMap() - Method in class org.apache.bval.model.FeaturesCapable
Create a features map for this FeaturesCapable object.
createResults() - Method in class org.apache.bval.BeanValidator
factory method - overwrite in subclasses

D

DEFAULT_EMAIL_PATTERN - Static variable in class org.apache.bval.routines.EMailValidationUtils
 
DEFAULT_VALUE - Static variable in interface org.apache.bval.model.Features.Property
INFO: String-representation of a default value
DENIED - Static variable in interface org.apache.bval.model.Features.Property
SECURITY, INFO: Boolean, Field accessible?
determineMetaBean(Validate, Object, ValidationContext<VL>) - Method in class org.apache.bval.BeanValidator
Determine the metabean for the given object.
DOMAIN - Static variable in interface org.apache.bval.model.Features.Bean
INFO: category/domain to which the metaBean belongs to
DynamicMetaBean - Class in org.apache.bval
Description: Dynamic MetaBean subclass.
DynamicMetaBean(MetaBeanFinder) - Constructor for class org.apache.bval.DynamicMetaBean
Create a new DynamicMetaBean instance.
DynaType - Interface in org.apache.bval.model
Description: implementation of a dynamic type. can be used inside a MetaProperty for instance-based types
DynaTypeEnum - Class in org.apache.bval.model
Description: ("artificial" enum with custom values).
DynaTypeEnum(Class<?>) - Constructor for class org.apache.bval.model.DynaTypeEnum
Create a new DynaTypeEnum instance.
DynaTypeEnum(Class<?>, String...) - Constructor for class org.apache.bval.model.DynaTypeEnum
Create a new DynaTypeEnum instance.
DynaTypeEnum.Value - Class in org.apache.bval.model
Represents a single "enum" instance (= the value).

E

EMailValidationUtils - Class in org.apache.bval.routines
Description: holds the regexp to validate an email address
User: roman.stumm
Date: 17.06.2010
Time: 10:40:59
EMailValidationUtils() - Constructor for class org.apache.bval.routines.EMailValidationUtils
 
ENUM - Static variable in interface org.apache.bval.model.Features.Property
INFO: possible Enum values
equals(Object) - Method in class org.apache.bval.ConstructorAccess
 
equals(Object) - Method in class org.apache.bval.util.FieldAccess
equals(Object) - Method in class org.apache.bval.util.MethodAccess
equals(Object) - Method in class org.apache.bval.util.PropertyAccess
EXECUTABLES - Static variable in interface org.apache.bval.model.Features.Bean
 

F

Features - Interface in org.apache.bval.model
Description: Contains key of common feature keys used by standard validators etc.
Features.Bean - Interface in org.apache.bval.model
Features of MetaBean
Features.Property - Interface in org.apache.bval.model
Features of MetaProperty
FeaturesCapable - Class in org.apache.bval.model
Description: abstract superclass of meta objects that support a map of features.
FeaturesCapable() - Constructor for class org.apache.bval.model.FeaturesCapable
Create a new FeaturesCapable instance.
FieldAccess - Class in org.apache.bval.util
Description: direct field access strategy.
FieldAccess(Field) - Constructor for class org.apache.bval.util.FieldAccess
Create a new FieldAccess instance.
findAll() - Method in class org.apache.bval.MetaBeanCache
Return all cached MetaBeans by id.
findForClass(Class<?>) - Method in class org.apache.bval.MetaBeanCache
Find the MetaBean for the specified class.
findForClass(Class<?>) - Method in interface org.apache.bval.MetaBeanFinder
Find the MetaBean for the specified class.
findForClass(Class<?>) - Method in class org.apache.bval.MetaBeanManager
Find the MetaBean for the specified class.
findForId(String) - Method in class org.apache.bval.MetaBeanCache
Find a MetaBean with a certain id.
findForId(String) - Method in interface org.apache.bval.MetaBeanFinder
Find a MetaBean with a certain id.
findForId(String) - Method in class org.apache.bval.MetaBeanManager
Find a MetaBean with a certain id.
findLocalClass(String) - Method in class org.apache.bval.MetaBeanBuilder
Find the named class.

G

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
Get the named Class from the specified ClassLoader.
getClassLoader(Class<?>) - Static method in class org.apache.bval.util.reflection.Reflection
Get a usable ClassLoader: that of clazz if Thread.getContextClassLoader() returns null.
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
Convenient point for Privilizing Class.getDeclaredConstructors().
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
Convenient point for Privilizing Class.getDeclaredFields().
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
Convenient point for Privilizing Class.getDeclaredMethods().
getElementType() - Method in class org.apache.bval.ConstructorAccess
 
getElementType() - Method in class org.apache.bval.util.AccessStrategy
Get the Java program ElementType used by this AccessStrategy to determine property values.
getElementType() - Method in class org.apache.bval.util.FieldAccess
Get the Java program ElementType used by this AccessStrategy to determine property values.
getElementType() - Method in class org.apache.bval.util.IndexedAccess
Get the Java program ElementType used by this AccessStrategy to determine property values.
getElementType() - Method in class org.apache.bval.util.KeyedAccess
Get the Java program ElementType used by this AccessStrategy to determine property values.
getElementType() - Method in class org.apache.bval.util.MethodAccess
Get the Java program ElementType used by this AccessStrategy to determine property values.
getElementType() - Method in class org.apache.bval.util.PropertyAccess
Get the Java program ElementType used by this AccessStrategy to determine property values.
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
Get the configured set of MetaBeanFactory objects.
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
Get the specified MetaProperty.
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
Convenient point for Privilizing System.getProperty(String).
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
Get any validations set for this FeaturesCapable.
getVersion() - Static method in class org.apache.bval.util.BValVersion
Get the project version number.

H

hasError(Object, String) - Method in class org.apache.bval.ValidationResults
Learn whether bean has any errors keyed to property propertyName.
hasErrorForReason(String) - Method in class org.apache.bval.ValidationResults
Learn whether there is an Error keyed to a specified reason description.
hashCode() - Method in class org.apache.bval.ConstructorAccess
 
hashCode() - Method in class org.apache.bval.util.FieldAccess
hashCode() - Method in class org.apache.bval.util.MethodAccess
hashCode() - Method in class org.apache.bval.util.PropertyAccess
hasRelationships() - Method in class org.apache.bval.model.MetaBean
Learn whether any known property is a relationship.
hasValidation(Validation) - Method in class org.apache.bval.model.FeaturesCapable
Search for an equivalent validation among those configured.
HIDDEN - Static variable in interface org.apache.bval.model.Features.Property
INFO: Boolean, Field visible?

I

IndexedAccess - Class in org.apache.bval.util
AccessStrategy to get an indexed member of an Iterable or array object.
IndexedAccess(Type, Integer) - Constructor for class org.apache.bval.util.IndexedAccess
Create a new IndexedAccessStrategy instance.
initFeature(String, T) - Method in class org.apache.bval.model.FeaturesCapable
 
initialize() - Method in class org.apache.bval.ValidationResults
initialize the error-buckets now when needed and not on instance creation to save memory garbage.
IntrospectorMetaBeanFactory - Class in org.apache.bval
Description: use information from java.beans.Introspector in MetaBeans.
IntrospectorMetaBeanFactory() - Constructor for class org.apache.bval.IntrospectorMetaBeanFactory
 
isAssignableFrom(Class<?>) - Method in class org.apache.bval.model.DynaTypeEnum
Learn whether the wrapped class is assignable from cls.
isEmpty() - Method in class org.apache.bval.ValidationResults
Learn whether these results are empty/error-free.
isEnum() - Method in class org.apache.bval.model.DynaTypeEnum
Learn whether the referred class is, in fact, an enum class.
isFixed() - Method in class org.apache.bval.BeanValidationContext
Learn whether the current property value is "fixed."
isKnown() - Method in class org.apache.bval.util.PropertyAccess
Learn whether this PropertyAccess references a known property.
isMandatory() - Method in class org.apache.bval.model.MetaProperty
Learn whether this property is considered mandatory.
isRelationship() - Method in class org.apache.bval.model.MetaProperty
Learn whether this property is considered a relationship.
isTreatMapsLikeBeans() - Method in class org.apache.bval.BeanValidator
 
isValid(Object) - Static method in class org.apache.bval.routines.EMailValidationUtils
Learn whether a given object is a valid email address.
isValid(Object, Pattern) - Static method in class org.apache.bval.routines.EMailValidationUtils
Learn whether a particular value matches a given pattern per Matcher.matches().
isValidated(Object) - Method in class org.apache.bval.BeanValidationContext
Learn whether a particular object has been validated.

J

JAVASCRIPT_VALIDATION_FUNCTIONS - Static variable in interface org.apache.bval.model.Features.Property
Deprecated.

K

KeyedAccess - Class in org.apache.bval.util
AccessStrategy to get a keyed value from a Map.
KeyedAccess(Type, Object) - Constructor for class org.apache.bval.util.KeyedAccess
Create a new KeyedAccess instance.

M

main(String[]) - Static method in class org.apache.bval.util.BValVersion
Main method of this class that prints the BValVersion.toString() to System.out.
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.

N

name() - Method in class org.apache.bval.model.DynaTypeEnum.Value
used by freemarker-template "bean-infos-json.ftl"
newInstance(Class<T>) - Static method in class org.apache.bval.util.reflection.Reflection
Construct a new instance of cls using its default constructor.

O

org.apache.bval - package org.apache.bval
 
org.apache.bval.model - package org.apache.bval.model
 
org.apache.bval.routines - package org.apache.bval.routines
 
org.apache.bval.util - package org.apache.bval.util
 
org.apache.bval.util.reflection - package org.apache.bval.util.reflection
 

P

parentMetaBean - Variable in class org.apache.bval.model.Meta
 
PATCH_RELEASE - Static variable in class org.apache.bval.util.BValVersion
Patch/point release number
PREFERRED - Static variable in interface org.apache.bval.model.Features.Property
INFO: Boolean
PROJECT_ID - Static variable in class org.apache.bval.util.BValVersion
Unique id of the current project/version/revision
PROJECT_NAME - Static variable in class org.apache.bval.util.BValVersion
Project name
PROPERTIES - Static variable in interface org.apache.bval.model.Features.Bean
 
PropertyAccess - Class in org.apache.bval.util
Description: Undefined dynamic strategy (FIELD or METHOD access) Uses PropertyUtils or tries to determine field to access the value
PropertyAccess(Class<?>, String) - Constructor for class org.apache.bval.util.PropertyAccess
Create a new PropertyAccess instance.
putFeature(String, T) - Method in class org.apache.bval.model.FeaturesCapable
Convenience method to set a particular feature value.
putProperty(String, MetaProperty) - Method in class org.apache.bval.model.MetaBean
bidirectional - set the relationship between a MetaProperty and its parentMetaBean

R

READONLY - Static variable in interface org.apache.bval.model.Features.Property
SECURITY, INFO: Boolean, is value or relationship unmodifiable
REF_BEAN_ID - Static variable in interface org.apache.bval.model.Features.Property
INFO: relationship's target metaBean.id *
REF_BEAN_TYPE - Static variable in interface org.apache.bval.model.Features.Property
INFO: Class
Relationship's target metaBean.beanClass.
REF_CASCADE - Static variable in interface org.apache.bval.model.Features.Property
INFO: AccessStrategy[]
an array of accessStrategies how validation should cascade into relationship target beans
null when validation should NOT cascade into relationship target beans

Default: {PropertyAccess(metaProperty.name)}, when MetaProperty.metaBean is !

Reflection - Class in org.apache.bval.util.reflection
Security-agnostic "blueprint" class for reflection-related operations.
Reflection() - Constructor for class org.apache.bval.util.reflection.Reflection
 
REG_EXP - Static variable in interface org.apache.bval.model.Features.Property
VALIDATION: String, regular expression to validate the format of input data
RELEASE_STATUS - Static variable in class org.apache.bval.util.BValVersion
Release status
removeFromCache(MetaBean) - Method in class org.apache.bval.MetaBeanCache
Remove a single MetaBean from the cache.
resetValidated() - Method in class org.apache.bval.BeanValidationContext
Clear map of validated objects (invoke when you want to 'reuse' the context for different validations)
resolveMetaBean(Object) - Method in class org.apache.bval.DynamicMetaBean
If this MetaBean is compatible with bean, return this, else null.
resolveMetaBean(Object) - Method in class org.apache.bval.model.MetaBean
If this MetaBean is compatible with bean, return this, else null.
REVISION_NUMBER - Static variable in class org.apache.bval.util.BValVersion
Version control revision number

S

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
Set the array of MetaBeanFactory instances with which to enrich MetaBeans.
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
Set the MetaBean of this 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
Set the validations for this FeaturesCapable.

T

TIME_LAG - Static variable in interface org.apache.bval.model.Features.Property
VALIDATION: String, Constraint for time-information of a Date-field: org.apache.bval.xml.XMLMetaValue#TIMELAG_Past or org.apache.bval.xml.XMLMetaValue#TIMELAG_Future
toString() - Method in class org.apache.bval.BeanValidationContext
toString() - Method in class org.apache.bval.ConstructorAccess
toString() - Method in class org.apache.bval.model.MetaBean
toString() - Method in class org.apache.bval.model.MetaProperty
toString() - Method in class org.apache.bval.model.ValidationListener.Error
toString() - Method in class org.apache.bval.util.BValVersion
toString() - Method in class org.apache.bval.util.FieldAccess
toString() - Method in class org.apache.bval.util.MethodAccess
toString() - Method in class org.apache.bval.util.PropertyAccess
toString() - Method in class org.apache.bval.ValidationResults

U

UNIQUE_KEY - Static variable in interface org.apache.bval.model.Features.Bean
 
UNIQUE_KEY - Static variable in interface org.apache.bval.model.Features.Property
INFO: Boolean, TRUE if Property is a Unique Key
unknownValue() - Method in class org.apache.bval.BeanValidationContext
Drop cached value, marking the internal cachedValue as UNKNOWN.

V

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
Interface implemented by the call-back object passed to ValidationHelper.validateContext(ValidationContext, ValidateCallback, boolean) .
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
A B C D E F G H I J K M N O P R S T U V 

Copyright © 2010-2015 The Apache Software Foundation. All Rights Reserved.