org.eclipse.datatools.connectivity.oda.design.ui.designsession
Interface DataSourceDesignSession.IDesignNameValidator
- All Superinterfaces: 
- org.eclipse.datatools.connectivity.oda.design.internal.designsession.DataSourceDesignSessionBase.IDesignNameValidatorBase
- Enclosing class:
- DataSourceDesignSession
- public static interface DataSourceDesignSession.IDesignNameValidator 
- extends org.eclipse.datatools.connectivity.oda.design.internal.designsession.DataSourceDesignSessionBase.IDesignNameValidatorBase
The public interface for call-back to an ODA design name validator
 provided by an ODA consumer application
 to validate the name of a data source design defined in the
 ODA connection profile selection page.
- Since:
- 3.0.4
| Method Summary | 
|  boolean | isValid(java.lang.String designName)Validates whether the specified data source designName 
 is valid in the context of the validator provider.
 | 
 
isValid
boolean isValid(java.lang.String designName)
                throws OdaException
- Validates whether the specified data source designName 
 is valid in the context of the validator provider.
 
- 
- Specified by:
- isValidin interface- org.eclipse.datatools.connectivity.oda.design.internal.designsession.DataSourceDesignSessionBase.IDesignNameValidatorBase
 
- 
- Parameters:
- designName- data source design name defined by an user
- Returns:
- Returns true if designName is valid. Otherwise throws an
 OdaException with the appropriate error message for display
 on the UI page.  If the method simply returns false and does
 not throw an exception the page will display a generic error message.
- Throws:
- OdaException