Ruddi™ UDDI Client API
1.0

inspireit.uddi.util.validators
Class TModelInstanceInfoValidator

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

public class TModelInstanceInfoValidator
extends java.lang.Object

TModelInstanceInfo 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  TModelInstanceInfo tModelInstanceInfo
          The TModelInstanceInfo to validate.
 
Constructor Summary
protected TModelInstanceInfoValidator()
          TModelInstanceInfoValidator default constructor.
protected TModelInstanceInfoValidator(TModelInstanceInfo tModelInstanceInfo, boolean throwOnFirst)
          TModelInstanceInfo constructor.
 
Method Summary
 void validate()
          Validates a TModelInstanceInfo.
 void validateDescription(Description description)
          Validates a Description.
 void validateInstanceDetails(InstanceDetails instanceDetails)
           
 void validateTModelKey(TModelKey tModelKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tModelInstanceInfo

protected TModelInstanceInfo tModelInstanceInfo
The TModelInstanceInfo 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

TModelInstanceInfoValidator

protected TModelInstanceInfoValidator()
TModelInstanceInfoValidator default constructor.


TModelInstanceInfoValidator

protected TModelInstanceInfoValidator(TModelInstanceInfo tModelInstanceInfo,
                                      boolean throwOnFirst)
TModelInstanceInfo constructor.

Parameters:
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 TModelInstanceInfoException
Validates a TModelInstanceInfo.

Throws:
TModelInstanceInfoException - if a TModelInstanceInfo anomaly has been detected

validateTModelKey

public void validateTModelKey(TModelKey tModelKey)
                       throws TModelInstanceInfoException
TModelInstanceInfoException

validateDescription

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

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

validateInstanceDetails

public void validateInstanceDetails(InstanceDetails instanceDetails)
                             throws TModelInstanceInfoException
TModelInstanceInfoException

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.