Java Doc for Guard.java in  » Development » OVal » net » sf » oval » guard » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Development » OVal » net.sf.oval.guard 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.sf.oval.Validator
      net.sf.oval.guard.Guard

Guard
public class Guard extends Validator (Code)
Extended version of the validator to realize programming by contract.
author:
   Sebastian Thomschke



Constructor Summary
public  Guard()
    
public  Guard(Collection<Configurer> configurers)
    
public  Guard(Configurer... configurers)
    

Method Summary
public  voidaddChecks(Constructor constructor, int parameterIndex, Check... checks)
    
public  voidaddChecks(Method method, Check... checks)
    
public  voidaddChecks(Method method, int parameterIndex, Check... checks)
    
public  voidaddChecks(Method method, PostCheck... checks)
    
public  voidaddChecks(Method method, PreCheck... checks)
    
public  booleanaddListener(ConstraintsViolatedListener listener)
    
public  booleanaddListener(ConstraintsViolatedListener listener, Class guardedClass)
    
public  booleanaddListener(ConstraintsViolatedListener listener, Object guardedObject)
    
protected  Map<PostCheck, Object>calculateMethodPostOldValues(Object validatedObject, Method method, Object[] args)
    
public  Check[]getChecks(Method method, int parameterIndex)
    
public  PostCheck[]getChecksPost(Method method)
    
public  PreCheck[]getChecksPre(Method method)
     Returns the registered pre condition checks for the given method.
public  ParameterNameResolvergetParameterNameResolver()
    
protected  voidguardConstructorPost(Object guardedObject, Constructor constructor, Object[] args)
     This method is provided for use by guard aspects.
protected  voidguardConstructorPre(Object guardedObject, Constructor constructor, Object[] args)
     This method is provided for use by guard aspects.
protected  ObjectguardMethod(Object guardedObject, Method method, Object[] args, Invocable invocable)
     This method is provided for use by guard aspects.
public  booleanhasListener(ConstraintsViolatedListener listener)
    
public  booleanhasListener(ConstraintsViolatedListener listener, Class guardedClass)
    
public  booleanhasListener(ConstraintsViolatedListener listener, Object guardedObject)
    
public  booleanisActivated()
    
public  booleanisInProbeMode(Object guardedObject)
     Determines if the probe mode is enabled for the given object in the current thread. In probe mode calls to methods of an object are not actually executed.
public  booleanisInvariantsEnabled()
     Determins if invariants are checked prior and after every call to a non-private method or constructor.
public  booleanisInvariantsEnabled(Class guardedClass)
     Determins if invariants are checked prior and after every call to a non-private method or constructor.
public  booleanisPostConditionsEnabled()
    
public  booleanisPreConditionsEnabled()
    
protected  voidnotifyListeners(Object guardedObject, ConstraintsViolatedException ex)
    
public  voidremoveChecks(Constructor constructor, int parameterIndex, Check... checks)
    
public  voidremoveChecks(Method method, int parameterIndex, Check... checks)
    
public  voidremoveChecks(Method method, PostCheck... checks)
    
public  voidremoveChecks(Method method, PreCheck... checks)
    
public  booleanremoveListener(ConstraintsViolatedListener listener)
    
public  booleanremoveListener(ConstraintsViolatedListener listener, Class guardedClass)
    
public  booleanremoveListener(ConstraintsViolatedListener listener, Object guardedObject)
    
public  voidsetActivated(boolean isActivated)
     If set to false OVal's programming by contract features are disabled and constraints are not checked automatically during runtime.
public  voidsetInProbeMode(Object guardedObject, boolean isInProbeMode)
     Enable or disable the probe mode for the given object in the current thread. In probe mode calls to methods of an object are not actually executed.
public  voidsetInvariantsEnabled(boolean isEnabled)
     Specifies if invariants are checked prior and after calls to non-private methods and constructors.
public  voidsetInvariantsEnabled(Class guardedClass, boolean isEnabled)
     Specifies if invariants are checked prior and after calls to non-private methods and constructors.
public  voidsetParameterNameResolver(ParameterNameResolver parameterNameResolver)
    
public  voidsetPostConditionsEnabled(boolean isEnabled)
    
public  voidsetPreConditionsEnabled(boolean isEnabled)
    
protected  List<ConstraintViolation>validateConstructorParameters(Object validatedObject, Constructor constructor, Object[] argsToValidate)
    
protected  voidvalidateInvariants(Object guardedObject, List<ConstraintViolation> violations)
    
protected  voidvalidateMethodParameters(Object validatedObject, Method method, Object[] args, List<ConstraintViolation> violations)
    
protected  voidvalidateMethodPost(Object validatedObject, Method method, Object[] args, Object returnValue, Map<PostCheck, Object> oldValues, List<ConstraintViolation> violations)
    
protected  voidvalidateMethodPre(Object validatedObject, Method method, Object[] args, List<ConstraintViolation> violations)
    
protected  voidvalidateMethodReturnValue(Object validatedObject, Method method, Object returnValue, List<ConstraintViolation> violations)
    


Constructor Detail
Guard
public Guard()(Code)
Constructs a new guard object and uses a new isntance of AnnotationsConfigurer



Guard
public Guard(Collection<Configurer> configurers)(Code)



Guard
public Guard(Configurer... configurers)(Code)




Method Detail
addChecks
public void addChecks(Constructor constructor, int parameterIndex, Check... checks) throws IllegalArgumentException, InvalidConfigurationException(Code)
Registers constraint checks for the given constructor parameter
Parameters:
  constructor -
Parameters:
  parameterIndex -
Parameters:
  checks -
throws:
  IllegalArgumentException - if constructor == null or checks == null or checks is empty
throws:
  InvalidConfigurationException - if the declaring class is not guarded or the parameterIndex is out of range



addChecks
public void addChecks(Method method, Check... checks) throws IllegalArgumentException, InvalidConfigurationException(Code)
Registers constraint checks for the given method's return value
Parameters:
  method -
Parameters:
  checks -
throws:
  IllegalArgumentException - if getter == null or checks == null or checks is empty
throws:
  InvalidConfigurationException - if method does not declare a return type (void), or the declaring class is not guarded



addChecks
public void addChecks(Method method, int parameterIndex, Check... checks) throws IllegalArgumentException, InvalidConfigurationException(Code)
Registers constraint checks for the given method parameter
Parameters:
  method -
Parameters:
  parameterIndex -
Parameters:
  checks -
throws:
  IllegalArgumentException - if method == null or checks == null or checks is empty
throws:
  InvalidConfigurationException - if the declaring class is not guarded or the parameterIndex is out of range



addChecks
public void addChecks(Method method, PostCheck... checks) throws IllegalArgumentException, InvalidConfigurationException(Code)
Registers post condition checks to a method's return value
Parameters:
  method -
Parameters:
  checks -
throws:
  IllegalArgumentException - if method == null or checks == null or checks is empty
throws:
  InvalidConfigurationException - if the declaring class is not guarded



addChecks
public void addChecks(Method method, PreCheck... checks) throws IllegalArgumentException, InvalidConfigurationException(Code)
Registers pre condition checks to a method's return value
Parameters:
  method -
Parameters:
  checks -
throws:
  IllegalArgumentException - if method == null or checks == null or checks is empty
throws:
  InvalidConfigurationException - if the declaring class is not guarded



addListener
public boolean addListener(ConstraintsViolatedListener listener) throws IllegalArgumentException(Code)
Registers the given listener for all thrown ConstraintViolationExceptions
Parameters:
  listener - the listener to register true if the listener was not yet registered
throws:
  IllegalArgumentException - if listener == null



addListener
public boolean addListener(ConstraintsViolatedListener listener, Class guardedClass) throws IllegalArgumentException(Code)
Registers the given listener for all thrown ConstraintViolationExceptions on objects of the given class
Parameters:
  listener - the listener to register
Parameters:
  guardedClass - guarded class or interface true if the listener was not yet registered
throws:
  IllegalArgumentException - if listener == null or guardedClass == null



addListener
public boolean addListener(ConstraintsViolatedListener listener, Object guardedObject)(Code)
Registers the given listener for all thrown ConstraintViolationExceptions on objects of the given object
Parameters:
  listener - the listener to register
Parameters:
  guardedObject - true if the listener was not yet registered
throws:
  IllegalArgumentException - if listener == null or guardedObject == null



calculateMethodPostOldValues
protected Map<PostCheck, Object> calculateMethodPostOldValues(Object validatedObject, Method method, Object[] args) throws ValidationFailedException(Code)
Evaluates the old expression null if no violation, otherwise a list
throws:
  ValidationFailedException -



getChecks
public Check[] getChecks(Method method, int parameterIndex) throws InvalidConfigurationException(Code)
Returns the registers constraint pre condition checks for the given method parameter
Parameters:
  method -
Parameters:
  parameterIndex -
throws:
  IllegalArgumentException - if method == null



getChecksPost
public PostCheck[] getChecksPost(Method method) throws IllegalArgumentException(Code)
Returns the registered post condition checks for the given method
Parameters:
  method -
throws:
  IllegalArgumentException - if method == null



getChecksPre
public PreCheck[] getChecksPre(Method method) throws IllegalArgumentException(Code)
Returns the registered pre condition checks for the given method.
Parameters:
  method -
throws:
  IllegalArgumentException - if method == null



getParameterNameResolver
public ParameterNameResolver getParameterNameResolver()(Code)
the parameterNameResolver



guardConstructorPost
protected void guardConstructorPost(Object guardedObject, Constructor constructor, Object[] args) throws ConstraintsViolatedException, ValidationFailedException(Code)
This method is provided for use by guard aspects.
throws:
  ConstraintsViolatedException -
throws:
  ValidationFailedException -



guardConstructorPre
protected void guardConstructorPre(Object guardedObject, Constructor constructor, Object[] args) throws ConstraintsViolatedException, ValidationFailedException(Code)
This method is provided for use by guard aspects.
throws:
  ConstraintsViolatedException - if anything precondition is not satisfied
throws:
  ValidationFailedException -



guardMethod
protected Object guardMethod(Object guardedObject, Method method, Object[] args, Invocable invocable) throws ConstraintsViolatedException, ValidationFailedException(Code)
This method is provided for use by guard aspects.
Parameters:
  guardedObject -
Parameters:
  method -
Parameters:
  args -
Parameters:
  invocable - The method return value or null if the guarded object is in probe mode.
throws:
  ConstraintsViolatedException - if an constriant violation occures and the validated object is not in probe mode.



hasListener
public boolean hasListener(ConstraintsViolatedListener listener) throws IllegalArgumentException(Code)

Parameters:
  listener - true if the listener is registered
throws:
  IllegalArgumentException - if listener == null



hasListener
public boolean hasListener(ConstraintsViolatedListener listener, Class guardedClass) throws IllegalArgumentException(Code)

Parameters:
  listener -
Parameters:
  guardedClass - guarded class or interface true if the listener is registered
throws:
  IllegalArgumentException - if listener == null or guardedClass == null



hasListener
public boolean hasListener(ConstraintsViolatedListener listener, Object guardedObject) throws IllegalArgumentException(Code)

Parameters:
  listener -
Parameters:
  guardedObject - true if the listener is registered
throws:
  IllegalArgumentException - if listener == null or guardedObject == null



isActivated
public boolean isActivated()(Code)
the isEnabled



isInProbeMode
public boolean isInProbeMode(Object guardedObject)(Code)
Determines if the probe mode is enabled for the given object in the current thread. In probe mode calls to methods of an object are not actually executed. OVal only validates method pre-conditions and notifies ConstraintViolationListeners but does not throw ConstraintViolationExceptions. Methods with return values will return null.
Parameters:
  guardedObject - true if exceptions are suppressed



isInvariantsEnabled
public boolean isInvariantsEnabled()(Code)
Determins if invariants are checked prior and after every call to a non-private method or constructor. the isInvariantChecksActivated



isInvariantsEnabled
public boolean isInvariantsEnabled(Class guardedClass)(Code)
Determins if invariants are checked prior and after every call to a non-private method or constructor.
Parameters:
  guardedClass - the guarded class the isInvariantChecksActivated



isPostConditionsEnabled
public boolean isPostConditionsEnabled()(Code)
the isPostChecksActivated



isPreConditionsEnabled
public boolean isPreConditionsEnabled()(Code)
the isPreChecksActivated



notifyListeners
protected void notifyListeners(Object guardedObject, ConstraintsViolatedException ex)(Code)
notifies all registered validation listener about the occured constraint violation exception



removeChecks
public void removeChecks(Constructor constructor, int parameterIndex, Check... checks) throws InvalidConfigurationException(Code)
Removes constraint checks for the given constructor parameter
Parameters:
  constructor -
Parameters:
  parameterIndex -
Parameters:
  checks -
throws:
  InvalidConfigurationException - if the declaring class is not guarded or the parameterIndex is out of range



removeChecks
public void removeChecks(Method method, int parameterIndex, Check... checks) throws InvalidConfigurationException(Code)
Removes constraint checks for the given method parameter
Parameters:
  method -
Parameters:
  parameterIndex -
Parameters:
  checks -
throws:
  IllegalArgumentException - if constructor == null or checks == null or checks is empty
throws:
  InvalidConfigurationException - if the parameterIndex is out of range



removeChecks
public void removeChecks(Method method, PostCheck... checks) throws InvalidConfigurationException(Code)
Registers post condition checks to a method's return value
Parameters:
  method -
Parameters:
  checks -
throws:
  IllegalArgumentException - if method == null or checks == null or checks is empty
throws:
  InvalidConfigurationException - if the declaring class is not guarded



removeChecks
public void removeChecks(Method method, PreCheck... checks) throws InvalidConfigurationException(Code)
Registers pre condition checks to a method's return value
Parameters:
  method -
Parameters:
  checks -
throws:
  IllegalArgumentException - if method == null or checks == null or checks is empty
throws:
  InvalidConfigurationException - if the declaring class is not guarded



removeListener
public boolean removeListener(ConstraintsViolatedListener listener) throws IllegalArgumentException(Code)
Removes the given listener
Parameters:
  listener - true if the listener was registered
throws:
  IllegalArgumentException - if listener == null



removeListener
public boolean removeListener(ConstraintsViolatedListener listener, Class guardedClass) throws IllegalArgumentException(Code)
Removes the given listener
Parameters:
  listener -
Parameters:
  guardedClass - guarded class or interface true if the listener was registered
throws:
  IllegalArgumentException - if listener == null or guardedClass == null



removeListener
public boolean removeListener(ConstraintsViolatedListener listener, Object guardedObject) throws IllegalArgumentException(Code)
Removes the given listener
Parameters:
  listener -
Parameters:
  guardedObject - true if the listener was registered
throws:
  IllegalArgumentException - if listener == null or guardedObject == null



setActivated
public void setActivated(boolean isActivated)(Code)
If set to false OVal's programming by contract features are disabled and constraints are not checked automatically during runtime.
Parameters:
  isActivated - the isActivated to set



setInProbeMode
public void setInProbeMode(Object guardedObject, boolean isInProbeMode) throws IllegalArgumentException(Code)
Enable or disable the probe mode for the given object in the current thread. In probe mode calls to methods of an object are not actually executed. OVal only validates method pre-conditions and notifies ConstraintViolationListeners but does not throw ConstraintViolationExceptions. Methods with return values will return null.
Parameters:
  guardedObject -
Parameters:
  isInProbeMode -
throws:
  IllegalArgumentException - if guardedObject == null



setInvariantsEnabled
public void setInvariantsEnabled(boolean isEnabled)(Code)
Specifies if invariants are checked prior and after calls to non-private methods and constructors.
Parameters:
  isEnabled - the isInvariantsEnabled to set



setInvariantsEnabled
public void setInvariantsEnabled(Class guardedClass, boolean isEnabled)(Code)
Specifies if invariants are checked prior and after calls to non-private methods and constructors.
Parameters:
  guardedClass - the guarded class to turn on/off the invariant checking
Parameters:
  isEnabled - the isEnabled to set



setParameterNameResolver
public void setParameterNameResolver(ParameterNameResolver parameterNameResolver) throws IllegalArgumentException(Code)

Parameters:
  parameterNameResolver - the parameterNameResolver to set, cannot be null
throws:
  IllegalArgumentException - if parameterNameResolver == null



setPostConditionsEnabled
public void setPostConditionsEnabled(boolean isEnabled)(Code)

Parameters:
  isEnabled - the isEnabled to set



setPreConditionsEnabled
public void setPreConditionsEnabled(boolean isEnabled)(Code)

Parameters:
  isEnabled - the isEnabled to set



validateConstructorParameters
protected List<ConstraintViolation> validateConstructorParameters(Object validatedObject, Constructor constructor, Object[] argsToValidate) throws ValidationFailedException(Code)
Validates the give arguments against the defined constructor parameter constraints.
null if no violation, otherwise a list
throws:
  ValidationFailedException -



validateInvariants
protected void validateInvariants(Object guardedObject, List<ConstraintViolation> violations) throws IllegalArgumentException, ValidationFailedException(Code)



validateMethodParameters
protected void validateMethodParameters(Object validatedObject, Method method, Object[] args, List<ConstraintViolation> violations) throws ValidationFailedException(Code)
Validates the pre conditions for a method call.

throws:
  ValidationFailedException -



validateMethodPost
protected void validateMethodPost(Object validatedObject, Method method, Object[] args, Object returnValue, Map<PostCheck, Object> oldValues, List<ConstraintViolation> violations) throws ValidationFailedException(Code)
Validates the post conditions for a method call.

throws:
  ValidationFailedException -



validateMethodPre
protected void validateMethodPre(Object validatedObject, Method method, Object[] args, List<ConstraintViolation> violations) throws ValidationFailedException(Code)
Validates the @Pre conditions for a method call.

throws:
  ValidationFailedException -



validateMethodReturnValue
protected void validateMethodReturnValue(Object validatedObject, Method method, Object returnValue, List<ConstraintViolation> violations) throws ValidationFailedException(Code)
Validates the return value checks for a method call.

throws:
  ValidationFailedException -



Fields inherited from net.sf.oval.Validator
protected Map<String, ExpressionLanguage> expressionLanguages(Code)(Java Doc)
protected ParameterNameResolver parameterNameResolver(Code)(Java Doc)

Methods inherited from net.sf.oval.Validator
public void addChecks(Class clazz, Check... checks) throws IllegalArgumentException(Code)(Java Doc)
protected void addChecks(ClassChecks cc, ClassConfiguration classConfig) throws OValException(Code)(Java Doc)
public void addChecks(Field field, Check... checks) throws IllegalArgumentException(Code)(Java Doc)
public void addChecks(Method invariantMethod, Check... checks) throws IllegalArgumentException, InvalidConfigurationException(Code)(Java Doc)
public void addConstraintSet(ConstraintSet constraintSet, boolean overwrite) throws ConstraintSetAlreadyDefinedException, IllegalArgumentException(Code)(Java Doc)
public void addExpressionLanguage(String languageId, ExpressionLanguage expressionLanguage) throws IllegalArgumentException(Code)(Java Doc)
public void assertValid(Object validatedObject) throws IllegalArgumentException, ValidationFailedException, ConstraintsViolatedException(Code)(Java Doc)
public void assertValidFieldValue(Object validatedObject, Field validatedField, Object fieldValueToValidate) throws IllegalArgumentException, ValidationFailedException, ConstraintsViolatedException(Code)(Java Doc)
protected void checkConstraint(List<ConstraintViolation> violations, Check check, Object validatedObject, Object valueToValidate, OValContext context) throws OValException(Code)(Java Doc)
protected void checkConstraintAssertConstraintSet(List<ConstraintViolation> violations, AssertConstraintSetCheck check, Object validatedObject, Object valueToValidate, OValContext context) throws OValException(Code)(Java Doc)
protected void checkConstraintAssertFieldConstraints(List<ConstraintViolation> violations, AssertFieldConstraintsCheck check, Object validatedObject, Object valueToValidate, OValContext context) throws OValException(Code)(Java Doc)
protected void checkConstraintAssertValid(List<ConstraintViolation> violations, AssertValidCheck check, Object validatedObject, Object valueToValidate, OValContext context) throws OValException(Code)(Java Doc)
public synchronized void disableAllProfiles()(Code)(Java Doc)
public void disableProfile(String profile)(Code)(Java Doc)
public synchronized void enableAllProfiles()(Code)(Java Doc)
public void enableProfile(String profile)(Code)(Java Doc)
public Check[] getChecks(Class clazz) throws IllegalArgumentException(Code)(Java Doc)
public Check[] getChecks(Field field) throws IllegalArgumentException(Code)(Java Doc)
public Check[] getChecks(Method method) throws IllegalArgumentException(Code)(Java Doc)
protected ClassChecks getClassChecks(Class clazz) throws IllegalArgumentException, OValException(Code)(Java Doc)
public static CollectionFactory getCollectionFactory()(Code)(Java Doc)
public List<Configurer> getConfigurers()(Code)(Java Doc)
public ConstraintSet getConstraintSet(String constraintSetId) throws OValException(Code)(Java Doc)
public ExceptionTranslator getExceptionTranslator()(Code)(Java Doc)
public ExpressionLanguage getExpressionLanguage(String languageId) throws IllegalArgumentException, ExpressionLanguageNotAvailableException(Code)(Java Doc)
public static LoggerFactory getLoggerFactory()(Code)(Java Doc)
public static MessageResolver getMessageResolver()(Code)(Java Doc)
protected boolean isAnyProfileEnabled(String[] profileIds)(Code)(Java Doc)
protected boolean isCurrentlyValidated(Object object)(Code)(Java Doc)
public boolean isProfileEnabled(String profileId)(Code)(Java Doc)
public void reconfigureChecks()(Code)(Java Doc)
public void removeChecks(Class clazz, Check... checks) throws IllegalArgumentException(Code)(Java Doc)
public void removeChecks(Field field, Check... checks) throws IllegalArgumentException(Code)(Java Doc)
public void removeChecks(Method getter, Check... checks) throws IllegalArgumentException(Code)(Java Doc)
public ConstraintSet removeConstraintSet(String id) throws IllegalArgumentException(Code)(Java Doc)
protected String renderMessage(OValContext context, Object value, String messageKey, Map<String, String> messageValues)(Code)(Java Doc)
public static void setCollectionFactory(CollectionFactory factory) throws IllegalArgumentException(Code)(Java Doc)
public void setExceptionTranslator(ExceptionTranslator exceptionTranslator)(Code)(Java Doc)
public static void setLoggerFactory(LoggerFactory loggerFactory)(Code)(Java Doc)
public static void setMessageResolver(MessageResolver messageResolver) throws IllegalArgumentException(Code)(Java Doc)
protected RuntimeException translateException(OValException ex)(Code)(Java Doc)
public List<ConstraintViolation> validate(Object validatedObject) throws IllegalArgumentException, ValidationFailedException(Code)(Java Doc)
public List<ConstraintViolation> validateFieldValue(Object validatedObject, Field validatedField, Object fieldValueToValidate) throws IllegalArgumentException, ValidationFailedException(Code)(Java Doc)
protected void validateInvariants(Object validatedObject, List<ConstraintViolation> violations) throws IllegalArgumentException, ValidationFailedException(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.