Ruddi™ UDDI Client API
1.0

inspireit.uddi.util.validators
Class BusinessServiceValidator

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

public class BusinessServiceValidator
extends java.lang.Object

BusinessService validator.

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

Field Summary
protected  BusinessService businessService
          The BusinessService 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 BusinessServiceValidator()
          BusinessServiceValidator default constructor.
protected BusinessServiceValidator(BusinessService businessService, boolean throwOnFirst)
          BusinessServiceValidator constructor.
 
Method Summary
 void validate()
          Validates a BusinessService.
 void validateBindingTemplates(BindingTemplates bindingTemplates)
           
 void validateBusinessKey(BusinessKey businessKey)
           
 void validateCategoryBag(CategoryBag categoryBag)
           
 void validateDescription(Description description)
           
 void validateName(Name name)
           
 void validateServiceKey(ServiceKey serviceKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

businessService

protected BusinessService businessService
The BusinessService 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

BusinessServiceValidator

protected BusinessServiceValidator()
BusinessServiceValidator default constructor.


BusinessServiceValidator

protected BusinessServiceValidator(BusinessService businessService,
                                   boolean throwOnFirst)
BusinessServiceValidator constructor.

Parameters:
businessService - The BusinessService 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 BusinessServiceException
Validates a BusinessService.

Throws:
BusinessServiceException - if a BusinessService anomaly has been detected

validateBusinessKey

public void validateBusinessKey(BusinessKey businessKey)
                         throws BusinessServiceException
BusinessServiceException

validateServiceKey

public void validateServiceKey(ServiceKey serviceKey)
                        throws BusinessServiceException
BusinessServiceException

validateName

public void validateName(Name name)
                  throws BusinessServiceException
BusinessServiceException

validateDescription

public void validateDescription(Description description)
                         throws BusinessServiceException
BusinessServiceException

validateBindingTemplates

public void validateBindingTemplates(BindingTemplates bindingTemplates)
                              throws BusinessServiceException
BusinessServiceException

validateCategoryBag

public void validateCategoryBag(CategoryBag categoryBag)
                         throws BusinessServiceException
BusinessServiceException

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.