Ruddi™ UDDI Client API
1.0

inspireit.uddi.util.validators
Class TModelValidator

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

public abstract class TModelValidator
extends java.lang.Object

TModel validator.

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

Field Summary
protected  boolean throwOnFirst
          Whether the exception should be thrown from the first anomaly or when all checkings have been performed.
protected  TModel tModel
          The TModel to validate.
 
Constructor Summary
protected TModelValidator()
          TModelValidator default constructor.
protected TModelValidator(TModel tModel, boolean throwOnFirst)
          TModelValidator constructor.
 
Method Summary
 void validate()
          Validates a TModel.
 void validateAuthorizedName(AuthorizedName authorizedName)
          Validates the AuthorizedName.
 void validateCategoryBag(CategoryBag categoryBag)
          Validates a CategoryBag.
 void validateDescription(Description description)
          Validates a Description.
 void validateIdentifierBag(IdentifierBag identifierBag)
          Validates an IdentifierBag.
 void validateName(Name name)
          Validates the Name.
 void validateOperator(Operator operator)
          Validates the Operator.
 void validateOverviewDoc(OverviewDoc overviewDoc)
          Validates an OverviewDoc.
 void validateTModelKey(TModelKey tModelKey)
          Validates the TModelKey.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tModel

protected TModel tModel
The TModel 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

TModelValidator

protected TModelValidator()
TModelValidator default constructor.


TModelValidator

protected TModelValidator(TModel tModel,
                          boolean throwOnFirst)
TModelValidator constructor.

Parameters:
tModel - The TModel 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 TModelException
Validates a TModel.

Throws:
TModelException - if a TModel anomaly has been detected

validateTModelKey

public void validateTModelKey(TModelKey tModelKey)
                       throws TModelException
Validates the TModelKey.

Parameters:
tModelKey - The TModelKey to validate.
Throws:
TModelException - if a TModelKey anomaly has been detected

validateAuthorizedName

public void validateAuthorizedName(AuthorizedName authorizedName)
                            throws TModelException
Validates the AuthorizedName.

Parameters:
authorizedName - The AuthorizedName to validate.
Throws:
TModelException - if an AuthorizedName anomaly has been detected

validateOperator

public void validateOperator(Operator operator)
                      throws TModelException
Validates the Operator.

Parameters:
operator - The Operator to validate.
Throws:
TModelException - if an Operator anomaly has been detected

validateName

public void validateName(Name name)
                  throws TModelException
Validates the Name.

Parameters:
name - The Name to validate.
Throws:
TModelException - if an Operator anomaly has been detected

validateDescription

public void validateDescription(Description description)
                         throws TModelException
Validates a Description.

Parameters:
description - The Description to validate.
Throws:
TModelException - if a Description anomaly has been detected

validateOverviewDoc

public void validateOverviewDoc(OverviewDoc overviewDoc)
                         throws TModelException
Validates an OverviewDoc.

Parameters:
overviewDoc - The OverviewDoc to validate.
Throws:
TModelException - if an OverviewDoc anomaly has been detected

validateIdentifierBag

public void validateIdentifierBag(IdentifierBag identifierBag)
                           throws TModelException
Validates an IdentifierBag.

Parameters:
identifierBag - The IdentifierBag to validate.
Throws:
TModelException - if an OverviewDoc anomaly has been detected

validateCategoryBag

public void validateCategoryBag(CategoryBag categoryBag)
                         throws TModelException
Validates a CategoryBag.

Parameters:
categoryBag - The CategoryBag to validate.
Throws:
TModelException - if an OverviewDoc anomaly has been detected

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.