Ruddi™ UDDI Client API
1.0

inspireit.uddi.util.validators
Class BusinessServicesValidator

java.lang.Object
  |
  +--inspireit.uddi.util.validators.BusinessServicesValidator

public class BusinessServicesValidator
extends java.lang.Object

BusinessServices validator.

Author:
Bertrand Fontaine, INSPIRE IT $Revision: 1.2 $

Field Summary
protected  BusinessServices businessServices
          The BusinessServices to validate.
protected  boolean throwOnFirst
          Whether the exception should be thrown from the first anomaly or when all checkings have been performed.
 
Constructor Summary
protected BusinessServicesValidator()
          BusinessServicesValidator default constructor.
protected BusinessServicesValidator(BusinessServices businessServices, boolean throwOnFirst)
          BusinessServicesValidator constructor.
 
Method Summary
 void validate()
          Validates a BusinessServices.
 void validateBusinessService(BusinessService businessService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

businessServices

protected BusinessServices businessServices
The BusinessServices to validate.


throwOnFirst

protected boolean throwOnFirst
Whether the exception should be thrown from the first anomaly or when all checkings have been performed.

Constructor Detail

BusinessServicesValidator

protected BusinessServicesValidator()
BusinessServicesValidator default constructor.


BusinessServicesValidator

protected BusinessServicesValidator(BusinessServices businessServices,
                                    boolean throwOnFirst)
BusinessServicesValidator constructor.

Parameters:
businessServices - The BusinessServices to validate.
throwOnFirst - Whether the exception should be thrown from the first anomaly or when all checkings have been performed
Method Detail

validate

public void validate()
              throws BusinessServicesException
Validates a BusinessServices.

Throws:
BusinessServicesException - if a BusinessServices anomaly has been detected

validateBusinessService

public void validateBusinessService(BusinessService businessService)
                             throws BusinessServicesException
BusinessServicesException

Ruddi™ UDDI Client API
1.0

Download now! | Submit a bug or feature
(c) 2003 INSPIRE IT
Bld Brand Whitlock 109
1200 Brussels, Belgium
All Rights Reserved.