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

A

addChild(TreeNode) - Method in class org.unitils.objectvalidation.utils.TreeNode
 
addChild(Class<?>) - Method in class org.unitils.objectvalidation.utils.TreeNode
 
addGenerators(Generator...) - Method in interface org.unitils.objectvalidation.ObjectCreator
 
addGenerators(Generator...) - Method in class org.unitils.objectvalidation.objectcreator.BaseObjectCreator
 
addGenerators(Generator...) - Method in class org.unitils.objectvalidation.objectcreator.generator.CompositeGenerator
 
afterInit() - Method in class org.unitils.objectvalidation.ValidationModule
 
andMessage(ValidationMessage) - Method in class org.unitils.objectvalidation.ValidationResult.ValidationResultBuilder
 
assertSetterIsComplient(Field, Object, Object) - Method in class org.unitils.objectvalidation.rules.GetterAndSetterComplientRule
 

B

BaseObjectCreator - Class in org.unitils.objectvalidation.objectcreator
A base class for the ObjectCreators with basic functions.
BaseObjectCreator() - Constructor for class org.unitils.objectvalidation.objectcreator.BaseObjectCreator
 
BaseObjectCreator(Generator[]) - Constructor for class org.unitils.objectvalidation.objectcreator.BaseObjectCreator
 
beforeTestMethod(Object, Method) - Method in class org.unitils.objectvalidation.ValidationModuleTestListener
 
build() - Method in class org.unitils.objectvalidation.ValidationResult.ValidationResultBuilder
 
BuilderGenerator - Class in org.unitils.objectvalidation.objectcreator.generator
 
BuilderGenerator(ObjectCreator) - Constructor for class org.unitils.objectvalidation.objectcreator.generator.BuilderGenerator
 
buildValidationResultForClass(Class<?>) - Static method in class org.unitils.objectvalidation.ValidationResult
 

C

checkArgument(boolean, Object) - Static method in class org.unitils.objectvalidation.utils.Utils
 
checkConsistency(Object) - Method in class org.unitils.objectvalidation.rules.HashCodeComplientRule
Checks that the hashCode is consistent with the same object.
checkForCreatingAnInstance(ObjectCreatorTypeWrapper) - Method in class org.unitils.objectvalidation.objectcreator.ObjectCreatorMockedFieldsImpl
 
checkingAllPossibilities() - Method in class org.unitils.objectvalidation.ObjectValidator.BuildValidator
 
checkingAllPossibilities() - Method in interface org.unitils.objectvalidation.ObjectValidator.ValidateEqualsAndHashCode
 
checkNotNull(T, Object) - Static method in class org.unitils.objectvalidation.utils.Utils
 
checkTwoEqualsObjectsProduceSameNumber(Object, Object) - Method in class org.unitils.objectvalidation.rules.HashCodeComplientRule
Objects that are equal using the equals method should return the same integer.
ClassIsFinalRule - Class in org.unitils.objectvalidation.rules
Rule to check that the class is final.
ClassIsFinalRule() - Constructor for class org.unitils.objectvalidation.rules.ClassIsFinalRule
 
ClassMustBeSerializableRule - Class in org.unitils.objectvalidation.rules
Rule to check that the class passed in parameter must implement Serializable.
ClassMustBeSerializableRule() - Constructor for class org.unitils.objectvalidation.rules.ClassMustBeSerializableRule
 
ClassPathHelperExtended - Class in org.unitils.objectvalidation.objectcreator.generator.helper
Extention for ClasspathHelper.
ClassPathHelperExtended() - Constructor for class org.unitils.objectvalidation.objectcreator.generator.helper.ClassPathHelperExtended
 
classToValidate(Class<?>) - Method in interface org.unitils.objectvalidation.ObjectValidator.AddClassToValidate
 
classToValidate(Class<?>) - Method in class org.unitils.objectvalidation.ObjectValidator.BuildValidator
 
classToValidate(Class<?>) - Method in class org.unitils.objectvalidation.ObjectValidator
 
CollectionGenerator - Class in org.unitils.objectvalidation.objectcreator.generator
This generator will take care of interfaces and the classes that have no custom generator.
CollectionGenerator(ObjectCreator) - Constructor for class org.unitils.objectvalidation.objectcreator.generator.CollectionGenerator
 
compareSubtypesSets(Set<?>, Set<?>) - Static method in class org.unitils.objectvalidation.objectcreator.generator.helper.GeneratorHelper
Returns only the in common classes of set1 and set2
CompositeGenerator - Class in org.unitils.objectvalidation.objectcreator.generator
 
CompositeGenerator(List<Generator>) - Constructor for class org.unitils.objectvalidation.objectcreator.generator.CompositeGenerator
 
CompositeGenerator() - Constructor for class org.unitils.objectvalidation.objectcreator.generator.CompositeGenerator
 
constructorNotEmpty(Constructor<?>) - Method in class org.unitils.objectvalidation.objectcreator.ObjectCreatorMockedFieldsImpl
This method checks if this constructor is the default constructor.
createDefaultCloner() - Static method in class org.unitils.objectvalidation.cloner.ObjectClonerFactory
 
createDefaultObjectCreator() - Static method in class org.unitils.objectvalidation.objectcreator.ObjectCreatorFactory
 
createEnum(Class<?>) - Method in class org.unitils.objectvalidation.objectcreator.generator.EnumGenerator
 
createMockObject(Class<?>) - Method in class org.unitils.objectvalidation.objectcreator.generator.MocksGenerator
This method creates a mock of type clzz.
createMocksObjectCreator() - Static method in class org.unitils.objectvalidation.objectcreator.ObjectCreatorFactory
 
createNodes(Type) - Static method in class org.unitils.objectvalidation.objectcreator.generator.helper.GeneratorHelper
 
createObject(Type) - Method in class org.unitils.objectvalidation.objectcreator.ObjectCreatorMockedFieldsImpl
 
createObject(List<TreeNode>) - Method in class org.unitils.objectvalidation.objectcreator.ObjectCreatorMockedFieldsImpl
 
createObjectCreator(Generator...) - Static method in class org.unitils.objectvalidation.objectcreator.ObjectCreatorFactory
 
createObjectCreator() - Static method in class org.unitils.objectvalidation.objectcreator.ObjectCreatorFactory
 
createObjectOfTypeVariableImpl(TypeVariableImpl<?>) - Method in class org.unitils.objectvalidation.objectcreator.generator.TypeVariableImplGenerator
 
createParameterizedType(ParameterizedType, List<Object>, List<Class<?>>) - Method in class org.unitils.objectvalidation.objectcreator.generator.ParameterizedTypeGenerator
This method generates an object of type ParameterizedType.
createRandomObject(Type) - Method in interface org.unitils.objectvalidation.ObjectCreator
 
createRandomObject(TreeNode) - Method in interface org.unitils.objectvalidation.ObjectCreator
 
createRandomObject(Type) - Method in class org.unitils.objectvalidation.objectcreator.ObjectCreatorMockedFieldsImpl
 
createRandomObject(TreeNode) - Method in class org.unitils.objectvalidation.objectcreator.ObjectCreatorMockedFieldsImpl
 
createRandomObjects(Set<Class<?>>) - Method in class org.unitils.objectvalidation.objectcreator.generator.helper.GeneratorHelper
This method creates a random object of a random class found with WildCardTypeGenerator.getClassesOfSubtypes(sun.reflect.generics.reflectiveObjects.WildcardTypeImpl, java.util.Set) or WildCardTypeGenerator.getClassesOfSuperType(sun.reflect.generics.reflectiveObjects.WildcardTypeImpl, java.util.Set).
createTreenode(Type) - Static method in class org.unitils.objectvalidation.objectcreator.generator.helper.GeneratorHelper
 
createTreenode(Field) - Static method in class org.unitils.objectvalidation.objectcreator.generator.helper.GeneratorHelper
 
createTreeNodeFor(Type) - Static method in class org.unitils.objectvalidation.utils.TreeNodeCreator
 
createTreenodes(Field) - Static method in class org.unitils.objectvalidation.objectcreator.generator.helper.GeneratorHelper
 

D

deepClone(T) - Method in class org.unitils.objectvalidation.cloner.ObjectClonerImpl
 
deepClone(T) - Method in class org.unitils.objectvalidation.cloner.UnitilsObjectClonerImpl
 
deepClone(T) - Method in interface org.unitils.objectvalidation.ObjectCloner
 
DefaultGenerator - Class in org.unitils.objectvalidation.objectcreator.generator
The DefaultGenerator is a composite Generator with a pre defiend set of generators.
DefaultGenerator(ObjectCreator) - Constructor for class org.unitils.objectvalidation.objectcreator.generator.DefaultGenerator
 

E

EnumGenerator - Class in org.unitils.objectvalidation.objectcreator.generator
Generates an random enum from the right class.
EnumGenerator() - Constructor for class org.unitils.objectvalidation.objectcreator.generator.EnumGenerator
 
equals(Object) - Method in class org.unitils.objectvalidation.reflect.TypeWrapper
 
EqualsComplientRule - Class in org.unitils.objectvalidation.rules
Verifies the seven equality rules defined by Sun : 1.
EqualsComplientRule(ObjectCreator, ObjectCloner) - Constructor for class org.unitils.objectvalidation.rules.EqualsComplientRule
 
EqualsHashCodeValidator - Class in org.unitils.objectvalidation
Validate the equals and hashCode method.
EqualsHashCodeValidator(ObjectCreator, ObjectCloner) - Constructor for class org.unitils.objectvalidation.EqualsHashCodeValidator
 

F

findOneAndOnlyFieldForAnnotation(Class<? extends Object>, Class<? extends Annotation>, Class<T>) - Static method in class org.unitils.objectvalidation.utils.Utils
Will look in the test class to find a field of type 'fieldType' annotated with 'annotation'
forProject(ClassLoader) - Static method in class org.unitils.objectvalidation.objectcreator.generator.helper.ClassPathHelperExtended
this method checks in the unitils.properties if there is a property ClassPathHelperExtended.PROPKEY_PACKAGEPOJOS.

G

generateJavaDefaultClass(Class<?>) - Method in class org.unitils.objectvalidation.objectcreator.generator.PrimitiveGenerator
 
generateObject(Class<?>, List<Object>, List<Class<?>>, List<TreeNode>) - Method in class org.unitils.objectvalidation.objectcreator.generator.BuilderGenerator
 
generateObject(Class<?>, List<Object>, List<Class<?>>, List<TreeNode>) - Method in class org.unitils.objectvalidation.objectcreator.generator.CollectionGenerator
 
generateObject(Class<?>, List<Object>, List<Class<?>>, List<TreeNode>) - Method in class org.unitils.objectvalidation.objectcreator.generator.CompositeGenerator
 
generateObject(Class<?>, List<Object>, List<Class<?>>, List<TreeNode>) - Method in class org.unitils.objectvalidation.objectcreator.generator.EnumGenerator
 
generateObject(Class<?>, List<Object>, List<Class<?>>, List<TreeNode>) - Method in interface org.unitils.objectvalidation.objectcreator.generator.Generator
 
generateObject(Class<?>, List<Object>, List<Class<?>>, List<TreeNode>) - Method in class org.unitils.objectvalidation.objectcreator.generator.LastResortGenerator
 
generateObject(Class<?>, List<Object>, List<Class<?>>, List<TreeNode>) - Method in class org.unitils.objectvalidation.objectcreator.generator.MocksGenerator
 
generateObject(Class<?>, List<Object>, List<Class<?>>, List<TreeNode>) - Method in class org.unitils.objectvalidation.objectcreator.generator.ParameterizedTypeGenerator
 
generateObject(Class<?>, List<Object>, List<Class<?>>, List<TreeNode>) - Method in class org.unitils.objectvalidation.objectcreator.generator.PrimitiveGenerator
 
generateObject(Class<?>, List<Object>, List<Class<?>>, List<TreeNode>) - Method in class org.unitils.objectvalidation.objectcreator.generator.TypeVariableImplGenerator
 
generateObject(Class<?>, List<Object>, List<Class<?>>, List<TreeNode>) - Method in class org.unitils.objectvalidation.objectcreator.generator.WildCardTypeGenerator
 
generateObjectFromWildCard(WildcardTypeImpl) - Method in class org.unitils.objectvalidation.objectcreator.generator.WildCardTypeGenerator
 
generateSubTypesObject(Class<?>) - Static method in class org.unitils.objectvalidation.objectcreator.generator.helper.GeneratorHelper
Generate the exact object or a subtype from a specific class.
generateSubTypesObjectInstance(Class<?>) - Method in class org.unitils.objectvalidation.objectcreator.generator.helper.GeneratorHelper
 
Generator - Interface in org.unitils.objectvalidation.objectcreator.generator
A generator represents an object factory for the purpose of testing it against rules.
GeneratorHelper - Class in org.unitils.objectvalidation.objectcreator.generator.helper
This class generates supertypes or subtypes from a specific class.
getChilds() - Method in class org.unitils.objectvalidation.utils.TreeNode
 
getClassesOfSubtypes(Class<?>, Set<?>) - Static method in class org.unitils.objectvalidation.objectcreator.generator.helper.GeneratorHelper
Get the subtypes of a Class
getClassesOfSubtypes(WildcardTypeImpl, Set<?>) - Method in class org.unitils.objectvalidation.objectcreator.generator.WildCardTypeGenerator
Get the subtypes of a class (based on a wildcard).
getClassesOfSubtypesInstance(Class<?>, Set<?>) - Method in class org.unitils.objectvalidation.objectcreator.generator.helper.GeneratorHelper
 
getClassesOfSuperType(Class<?>, Set<Class<?>>) - Static method in class org.unitils.objectvalidation.objectcreator.generator.helper.GeneratorHelper
Get all the supertypes from a Class
getClassesOfSuperType(WildcardTypeImpl, Set<Class<?>>) - Method in class org.unitils.objectvalidation.objectcreator.generator.WildCardTypeGenerator
An WildcardTypeImpl can have multiple lowerbounds (super).
getClassesOfSuperTypeInstance(Class<?>, Set<Class<?>>) - Method in class org.unitils.objectvalidation.objectcreator.generator.helper.GeneratorHelper
 
getClassOfType() - Method in class org.unitils.objectvalidation.utils.ObjectCreatorTypeWrapper
 
getConstructor(Class<?>) - Method in class org.unitils.objectvalidation.objectcreator.ObjectCreatorMockedFieldsImpl
This method gets the first constructor that isn't generated by the compiler.
getEqualsHashCodeValidator() - Method in interface org.unitils.objectvalidation.ObjectValidationRulesCollection
 
getEqualsHashCodeValidator() - Method in class org.unitils.objectvalidation.rulescollection.SunBeanRules
 
getEqualsHashCodeValidator() - Method in class org.unitils.objectvalidation.rulescollection.SunBeanRulesWithMocks
 
getEqualsHashCodeValidator() - Method in class org.unitils.objectvalidation.rulescollection.UtilityClassRules
 
getGenerator() - Method in class org.unitils.objectvalidation.objectcreator.BaseObjectCreator
 
getGenerator() - Method in interface org.unitils.objectvalidation.ObjectCreator
 
getGeneratorOfType(Class<T>) - Method in class org.unitils.objectvalidation.objectcreator.BaseObjectCreator
 
getGeneratorOfType(Class<T>, List<Generator>) - Method in class org.unitils.objectvalidation.objectcreator.BaseObjectCreator
 
getGeneratorOfType(Class<T>) - Method in interface org.unitils.objectvalidation.ObjectCreator
 
getGenerators() - Method in class org.unitils.objectvalidation.objectcreator.BaseObjectCreator
 
getGenerators() - Method in class org.unitils.objectvalidation.objectcreator.generator.CompositeGenerator
 
getGenerators() - Method in interface org.unitils.objectvalidation.ObjectCreator
 
getGenericSubtype() - Method in class org.unitils.objectvalidation.utils.TreeNode
 
getInstance() - Static method in class org.unitils.objectvalidation.objectcreator.generator.helper.GeneratorHelper
 
getName() - Method in class org.unitils.objectvalidation.reflect.TypeWrapper
 
getParent() - Method in class org.unitils.objectvalidation.utils.TreeNode
 
getRules() - Method in interface org.unitils.objectvalidation.ObjectValidationRulesCollection
 
getRules() - Method in class org.unitils.objectvalidation.rulescollection.SunBeanRules
 
getRules() - Method in class org.unitils.objectvalidation.rulescollection.SunBeanRulesWithMocks
 
getRules() - Method in class org.unitils.objectvalidation.rulescollection.UtilityClassRules
 
getSetWithClassesThatOverridesASpecificMethod(Set<Class<? extends Object>>, String, Class<?>...) - Static method in class org.unitils.objectvalidation.objectcreator.generator.helper.GeneratorHelper
Goes through all the objects in a set and removes all the classes that doesn't override a specific method.
getSingleGenericClass() - Method in class org.unitils.objectvalidation.reflect.TypeWrapper
 
getSingleGenericType() - Method in class org.unitils.objectvalidation.reflect.TypeWrapper
 
GetterAndSetterComplientRule - Class in org.unitils.objectvalidation.rules
Rule to validate that every field is accessible with a getter and a setter.
GetterAndSetterComplientRule(ObjectCreator, ObjectCloner) - Constructor for class org.unitils.objectvalidation.rules.GetterAndSetterComplientRule
 
getTestListener() - Method in class org.unitils.objectvalidation.ValidationModule
 
getType() - Method in class org.unitils.objectvalidation.utils.TreeNode
 
getTypeForKeyOfMap() - Method in class org.unitils.objectvalidation.utils.ObjectCreatorTypeWrapper
 
getTypeForValueOfMap() - Method in class org.unitils.objectvalidation.utils.ObjectCreatorTypeWrapper
 
getTypeOfArray() - Method in class org.unitils.objectvalidation.utils.ObjectCreatorTypeWrapper
 
getTypeOfSingleParameterCollection() - Method in class org.unitils.objectvalidation.utils.ObjectCreatorTypeWrapper
 
getUnitilsConfiguration() - Static method in class org.unitils.objectvalidation.objectcreator.ObjectCreatorFactory
 
getValue() - Method in class org.unitils.objectvalidation.utils.TreeNode
 
getWrappedType() - Method in class org.unitils.objectvalidation.reflect.TypeWrapper
 

H

hashCode() - Method in class org.unitils.objectvalidation.reflect.TypeWrapper
 
HashCodeComplientRule - Class in org.unitils.objectvalidation.rules
Assert the compliancy of an object hashCode() method.
HashCodeComplientRule(ObjectCreator, ObjectCloner) - Constructor for class org.unitils.objectvalidation.rules.HashCodeComplientRule
 
hasRawType(Type) - Method in class org.unitils.objectvalidation.reflect.TypeWrapper
 

I

ignoringFields(String...) - Method in class org.unitils.objectvalidation.ObjectValidator.BuildValidator
 
ignoringFields(String...) - Method in interface org.unitils.objectvalidation.ObjectValidator.ChooseFieldsInEquals
 
init(Properties) - Method in class org.unitils.objectvalidation.ValidationModule
 
instantiate(Class<?>) - Static method in class org.unitils.objectvalidation.utils.Utils
 
isArray() - Method in class org.unitils.objectvalidation.utils.ObjectCreatorTypeWrapper
 
isAssignable(Type, Type) - Method in class org.unitils.objectvalidation.reflect.TypeWrapper
Checks whether the given fromType is assignable to the given toType, also taking into account possible auto-boxing.
isAssignableClass(Class<?>, Class<?>) - Method in class org.unitils.objectvalidation.reflect.TypeWrapper
 
isAssignableFrom(Type) - Method in class org.unitils.objectvalidation.reflect.TypeWrapper
 
isAssignableParameterizedType(ParameterizedType, ParameterizedType) - Method in class org.unitils.objectvalidation.reflect.TypeWrapper
 
isAssignableTo(Type) - Method in class org.unitils.objectvalidation.reflect.TypeWrapper
 
isAssignableWildcardType(WildcardType, Type) - Method in class org.unitils.objectvalidation.reflect.TypeWrapper
 
isBoolean() - Method in class org.unitils.objectvalidation.utils.ObjectCreatorTypeWrapper
 
isClassType() - Method in class org.unitils.objectvalidation.reflect.TypeWrapper
 
isCollection(ObjectCreatorTypeWrapper) - Method in class org.unitils.objectvalidation.objectcreator.generator.ParameterizedTypeGenerator
This method checks if the type is a collection or not.
isConstant(Field) - Method in class org.unitils.objectvalidation.objectcreator.ObjectCreatorMockedFieldsImpl
 
isDefaultConstructor(Constructor<?>) - Method in class org.unitils.objectvalidation.objectcreator.ObjectCreatorMockedFieldsImpl
Returns true if this is the default constructor.
isEnum() - Method in class org.unitils.objectvalidation.utils.ObjectCreatorTypeWrapper
 
isException() - Method in class org.unitils.objectvalidation.utils.ObjectCreatorTypeWrapper
 
isFinal() - Method in class org.unitils.objectvalidation.reflect.TypeWrapper
 
isInterface() - Method in class org.unitils.objectvalidation.utils.ObjectCreatorTypeWrapper
 
isList() - Method in class org.unitils.objectvalidation.utils.ObjectCreatorTypeWrapper
 
isMap() - Method in class org.unitils.objectvalidation.utils.ObjectCreatorTypeWrapper
 
isNumber() - Method in class org.unitils.objectvalidation.utils.ObjectCreatorTypeWrapper
 
isOfType(Type) - Method in class org.unitils.objectvalidation.reflect.TypeWrapper
 
isParameterizedType() - Method in class org.unitils.objectvalidation.reflect.TypeWrapper
 
isPrimitive(ObjectCreatorTypeWrapper) - Method in class org.unitils.objectvalidation.objectcreator.ObjectCreatorMockedFieldsImpl
This method checks if the wrapper is a primitive.
isPrimitive() - Method in class org.unitils.objectvalidation.reflect.TypeWrapper
 
isSet() - Method in class org.unitils.objectvalidation.utils.ObjectCreatorTypeWrapper
 
isSQLDate() - Method in class org.unitils.objectvalidation.utils.ObjectCreatorTypeWrapper
 
isString() - Method in class org.unitils.objectvalidation.utils.ObjectCreatorTypeWrapper
 
isUtilDate() - Method in class org.unitils.objectvalidation.utils.ObjectCreatorTypeWrapper
 

L

LastResortGenerator - Class in org.unitils.objectvalidation.objectcreator.generator
This generator will take care of interfaces and the classes that have no custom generator.
LastResortGenerator() - Constructor for class org.unitils.objectvalidation.objectcreator.generator.LastResortGenerator
 

M

MocksGenerator - Class in org.unitils.objectvalidation.objectcreator.generator
This class generates a mock object of a specific Class and should be the final option.
MocksGenerator() - Constructor for class org.unitils.objectvalidation.objectcreator.generator.MocksGenerator
 

N

NonMutatingToStringRule - Class in org.unitils.objectvalidation.rules
This class checks if the toString() method of a cloned object stays the same or not.
NonMutatingToStringRule(ObjectCreator, ObjectCloner) - Constructor for class org.unitils.objectvalidation.rules.NonMutatingToStringRule
 
NoPublicFieldsRule - Class in org.unitils.objectvalidation.rules
This rule ensures that no fields declared with public visibility.
NoPublicFieldsRule() - Constructor for class org.unitils.objectvalidation.rules.NoPublicFieldsRule
 

O

ObjectCloner - Interface in org.unitils.objectvalidation
The responsability of the ObjectCloner is to make a perfect copy of an object.
objectCloner - Variable in class org.unitils.objectvalidation.rulescollection.SunBeanRules
 
objectCloner - Variable in class org.unitils.objectvalidation.rulescollection.SunBeanRulesWithMocks
 
ObjectClonerFactory - Class in org.unitils.objectvalidation.cloner
Factory to create ObjectCloner used to clone the objects used in the Rule.
ObjectClonerImpl - Class in org.unitils.objectvalidation.cloner
Deeply clones an object.
ObjectClonerImpl() - Constructor for class org.unitils.objectvalidation.cloner.ObjectClonerImpl
 
ObjectCreator - Interface in org.unitils.objectvalidation
The responsability of ObjectCreator is to create object of the type provided.
objectCreator - Variable in class org.unitils.objectvalidation.rulescollection.SunBeanRules
 
objectCreator - Variable in class org.unitils.objectvalidation.rulescollection.SunBeanRulesWithMocks
 
ObjectCreatorFactory - Class in org.unitils.objectvalidation.objectcreator
Creates ObjectCreator used to create objects for the Rule.
ObjectCreatorMockedFieldsImpl - Class in org.unitils.objectvalidation.objectcreator
 
ObjectCreatorMockedFieldsImpl() - Constructor for class org.unitils.objectvalidation.objectcreator.ObjectCreatorMockedFieldsImpl
 
ObjectCreatorMockedFieldsImpl(Generator...) - Constructor for class org.unitils.objectvalidation.objectcreator.ObjectCreatorMockedFieldsImpl
 
ObjectCreatorTypeWrapper - Class in org.unitils.objectvalidation.utils
 
ObjectCreatorTypeWrapper(Type) - Constructor for class org.unitils.objectvalidation.utils.ObjectCreatorTypeWrapper
 
ObjectValidationRules - Annotation Type in org.unitils.objectvalidation
Annotation to be used in the context of the validation module.
ObjectValidationRulesCollection - Interface in org.unitils.objectvalidation
The interface for a collection of rules.
ObjectValidator - Class in org.unitils.objectvalidation
Object constructed by ValidationModule with the rules in the unitils properties file or the rules defined in the ObjectValidationRules annotation.
ObjectValidator(List<Rule>, List<EqualsHashCodeValidator>) - Constructor for class org.unitils.objectvalidation.ObjectValidator
 
ObjectValidator.AddClassToValidate - Interface in org.unitils.objectvalidation
 
ObjectValidator.BuildValidator - Class in org.unitils.objectvalidation
 
ObjectValidator.ChooseFieldsInEquals - Interface in org.unitils.objectvalidation
 
ObjectValidator.ValidateEqualsAndHashCode - Interface in org.unitils.objectvalidation
 
OnlyStaticMethodsRule - Class in org.unitils.objectvalidation.rules
Rule to check that there is only static methods declared in the class.
OnlyStaticMethodsRule() - Constructor for class org.unitils.objectvalidation.rules.OnlyStaticMethodsRule
 
org.unitils.objectvalidation - package org.unitils.objectvalidation
 
org.unitils.objectvalidation.cloner - package org.unitils.objectvalidation.cloner
 
org.unitils.objectvalidation.objectcreator - package org.unitils.objectvalidation.objectcreator
 
org.unitils.objectvalidation.objectcreator.generator - package org.unitils.objectvalidation.objectcreator.generator
 
org.unitils.objectvalidation.objectcreator.generator.helper - package org.unitils.objectvalidation.objectcreator.generator.helper
 
org.unitils.objectvalidation.reflect - package org.unitils.objectvalidation.reflect
 
org.unitils.objectvalidation.rules - package org.unitils.objectvalidation.rules
 
org.unitils.objectvalidation.rulescollection - package org.unitils.objectvalidation.rulescollection
 
org.unitils.objectvalidation.utils - package org.unitils.objectvalidation.utils
 

P

ParameterizedTypeGenerator - Class in org.unitils.objectvalidation.objectcreator.generator
Create objects of type ParameterizedType.
ParameterizedTypeGenerator(ObjectCreator) - Constructor for class org.unitils.objectvalidation.objectcreator.generator.ParameterizedTypeGenerator
 
pickAndCreateAnObjectFromASet(Set<Class<?>>) - Static method in class org.unitils.objectvalidation.objectcreator.generator.helper.GeneratorHelper
This method creates a random object from a Set of classes.
pickAndCreateAnObjectFromASetInstance(Set<Class<?>>) - Method in class org.unitils.objectvalidation.objectcreator.generator.helper.GeneratorHelper
 
PrimitiveGenerator - Class in org.unitils.objectvalidation.objectcreator.generator
The primitive generator is capable of generating java primitive types and there counterparts.
PrimitiveGenerator() - Constructor for class org.unitils.objectvalidation.objectcreator.generator.PrimitiveGenerator
 
PrivateConstructorRule - Class in org.unitils.objectvalidation.rules
Rule to check that no public constructors are available on the tested class.
PrivateConstructorRule() - Constructor for class org.unitils.objectvalidation.rules.PrivateConstructorRule
 
PROPKEY_PACKAGEPOJOS - Static variable in class org.unitils.objectvalidation.objectcreator.generator.helper.ClassPathHelperExtended
 
PublicEmptyConstructorRule - Class in org.unitils.objectvalidation.rules
Rules to verify that the provided class has a default empty constructor.
PublicEmptyConstructorRule() - Constructor for class org.unitils.objectvalidation.rules.PublicEmptyConstructorRule
 

R

Rule - Interface in org.unitils.objectvalidation
Rules are to verify that a specific object is in phase with the way of thinking of a project.

S

setGenericSubtype(List<TreeNode>) - Method in class org.unitils.objectvalidation.utils.TreeNode
 
setParent(TreeNode) - Method in class org.unitils.objectvalidation.utils.TreeNode
 
setType(Type) - Method in class org.unitils.objectvalidation.utils.TreeNode
 
shouldCreateThisObject(Class<?>, List<TreeNode>) - Method in class org.unitils.objectvalidation.objectcreator.generator.TypeVariableImplGenerator
 
SunBeanRules - Class in org.unitils.objectvalidation.rulescollection
A set of default rules for the class validation.
SunBeanRules() - Constructor for class org.unitils.objectvalidation.rulescollection.SunBeanRules
 
SunBeanRulesWithMocks - Class in org.unitils.objectvalidation.rulescollection
A set of default rules for the class validation.
SunBeanRulesWithMocks() - Constructor for class org.unitils.objectvalidation.rulescollection.SunBeanRulesWithMocks
 

T

toEqualsHashCodeValidator(Class<?>) - Static method in class org.unitils.objectvalidation.utils.Utils
 
toRulesCollection(String) - Static method in class org.unitils.objectvalidation.utils.Utils
 
toRulesCollection(Class<?>) - Static method in class org.unitils.objectvalidation.utils.Utils
 
toString() - Method in class org.unitils.objectvalidation.reflect.TypeWrapper
 
toString() - Method in class org.unitils.objectvalidation.utils.TreeNode
 
toString(TreeNode, StringBuilder, String) - Method in class org.unitils.objectvalidation.utils.TreeNode
 
toString() - Method in class org.unitils.objectvalidation.ValidationMessage
 
toString() - Method in class org.unitils.objectvalidation.ValidationResult
 
ToStringHasToBeOverridenRule - Class in org.unitils.objectvalidation.rules
Rule to check that the toString method is well overriden in the tested class.
ToStringHasToBeOverridenRule() - Constructor for class org.unitils.objectvalidation.rules.ToStringHasToBeOverridenRule
 
ToStringMustContainsEveryFieldRule - Class in org.unitils.objectvalidation.rules
Rule to check that the toString method returns a string with every field named in it.
ToStringMustContainsEveryFieldRule(ObjectCreator) - Constructor for class org.unitils.objectvalidation.rules.ToStringMustContainsEveryFieldRule
 
TreeNode - Class in org.unitils.objectvalidation.utils
Represents the hierarchy of a specific class, with his parent node and his child nodes.
TreeNode(Class<?>) - Constructor for class org.unitils.objectvalidation.utils.TreeNode
 
TreeNodeCreator - Class in org.unitils.objectvalidation.utils
Utility to visit a class hierarchy and return its tree node of classes.
TypeVariableImplGenerator - Class in org.unitils.objectvalidation.objectcreator.generator
Generate objects of type TypeVariableImpl.
TypeVariableImplGenerator(ObjectCreator) - Constructor for class org.unitils.objectvalidation.objectcreator.generator.TypeVariableImplGenerator
 
TypeWrapper - Class in org.unitils.objectvalidation.reflect
 
TypeWrapper(Type) - Constructor for class org.unitils.objectvalidation.reflect.TypeWrapper
 

U

UnitilsObjectClonerImpl - Class in org.unitils.objectvalidation.cloner
Deeply clones an object.
UnitilsObjectClonerImpl() - Constructor for class org.unitils.objectvalidation.cloner.UnitilsObjectClonerImpl
 
UtilityClassRules - Class in org.unitils.objectvalidation.rulescollection
Collection of rules for an utility class.
UtilityClassRules() - Constructor for class org.unitils.objectvalidation.rulescollection.UtilityClassRules
 
Utils - Class in org.unitils.objectvalidation.utils
Utility methods for the validation module.

V

validate() - Method in interface org.unitils.objectvalidation.ObjectValidator.AddClassToValidate
 
validate() - Method in class org.unitils.objectvalidation.ObjectValidator.BuildValidator
 
validate(Class<?>) - Method in interface org.unitils.objectvalidation.Rule
Will run the validations on the java class passed in parameter.
validate(Class<?>) - Method in class org.unitils.objectvalidation.rules.ClassIsFinalRule
 
validate(Class<?>) - Method in class org.unitils.objectvalidation.rules.ClassMustBeSerializableRule
 
validate(Class<?>) - Method in class org.unitils.objectvalidation.rules.EqualsComplientRule
 
validate(Class<?>) - Method in class org.unitils.objectvalidation.rules.GetterAndSetterComplientRule
 
validate(Class<?>) - Method in class org.unitils.objectvalidation.rules.HashCodeComplientRule
 
validate(Class<?>) - Method in class org.unitils.objectvalidation.rules.NonMutatingToStringRule
 
validate(Class<?>) - Method in class org.unitils.objectvalidation.rules.NoPublicFieldsRule
 
validate(Class<?>) - Method in class org.unitils.objectvalidation.rules.OnlyStaticMethodsRule
 
validate(Class<?>) - Method in class org.unitils.objectvalidation.rules.PrivateConstructorRule
 
validate(Class<?>) - Method in class org.unitils.objectvalidation.rules.PublicEmptyConstructorRule
 
validate(Class<?>) - Method in class org.unitils.objectvalidation.rules.ToStringHasToBeOverridenRule
 
validate(Class<?>) - Method in class org.unitils.objectvalidation.rules.ToStringMustContainsEveryFieldRule
 
ValidationMessage - Class in org.unitils.objectvalidation
A description of error that happened on a class when validated.
ValidationModule - Class in org.unitils.objectvalidation
Module to validate class against rules, it could be one of the rules defined in the org.unitils.objectvalidation.rules package but could be also user implemented rules for other purpose.
ValidationModule() - Constructor for class org.unitils.objectvalidation.ValidationModule
 
ValidationModuleTestListener - Class in org.unitils.objectvalidation
Contains the logic to load the validation logic from the test and run it.
ValidationModuleTestListener(ObjectValidationRulesCollection) - Constructor for class org.unitils.objectvalidation.ValidationModuleTestListener
 
ValidationResult - Class in org.unitils.objectvalidation
Object collecting the result of every validation that happened on a specific class.
ValidationResult.ValidationResultBuilder - Class in org.unitils.objectvalidation
 
ValidationResult.ValidationResultBuilder(Class<?>) - Constructor for class org.unitils.objectvalidation.ValidationResult.ValidationResultBuilder
 

W

WildCardTypeGenerator - Class in org.unitils.objectvalidation.objectcreator.generator
Generates objects of type WildcardTypeImpl.
WildCardTypeGenerator(ObjectCreator) - Constructor for class org.unitils.objectvalidation.objectcreator.generator.WildCardTypeGenerator
 
withAllFields() - Method in class org.unitils.objectvalidation.ObjectValidator.BuildValidator
 
withAllFields() - Method in interface org.unitils.objectvalidation.ObjectValidator.ChooseFieldsInEquals
 
withFieldNames(String...) - Method in class org.unitils.objectvalidation.ObjectValidator.BuildValidator
 
withFieldNames(String...) - Method in interface org.unitils.objectvalidation.ObjectValidator.ChooseFieldsInEquals
 
withoutCheckingAllPossibilities() - Method in class org.unitils.objectvalidation.ObjectValidator.BuildValidator
 
withoutCheckingAllPossibilities() - Method in interface org.unitils.objectvalidation.ObjectValidator.ValidateEqualsAndHashCode
 
wrappedType - Variable in class org.unitils.objectvalidation.reflect.TypeWrapper
 

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

Copyright © 2013-2015. All Rights Reserved.