Package org.unitils.objectvalidation.rules

Class Summary
ClassIsFinalRule Rule to check that the class is final.
ClassMustBeSerializableRule Rule to check that the class passed in parameter must implement Serializable.
EqualsComplientRule Verifies the seven equality rules defined by Sun : 1.
GetterAndSetterComplientRule Rule to validate that every field is accessible with a getter and a setter.
HashCodeComplientRule Assert the compliancy of an object hashCode() method.
NonMutatingToStringRule This class checks if the toString() method of a cloned object stays the same or not.
NoPublicFieldsRule This rule ensures that no fields declared with public visibility.
OnlyStaticMethodsRule Rule to check that there is only static methods declared in the class.
PrivateConstructorRule Rule to check that no public constructors are available on the tested class.
PublicEmptyConstructorRule Rules to verify that the provided class has a default empty constructor.
ToStringHasToBeOverridenRule Rule to check that the toString method is well overriden in the tested class.
ToStringMustContainsEveryFieldRule Rule to check that the toString method returns a string with every field named in it.
 



Copyright © 2013-2015. All Rights Reserved.