IBM Rational Software Modeler
Release 6.0

com.ibm.xtools.ras.core.data
Interface IPropertyValidator


public interface IPropertyValidator

Interface to perform validation on properties in the data model.

See Also:
IDataModel.registerValidator(String, IPropertyValidator)

Method Summary
 IStatus validateProperty(String propertyName, Object propertyValue, IProgressMonitor progressMonitor)
          Custom validate the property identified by propertyName with respect to the given propertyValue
 

Method Detail

validateProperty

public IStatus validateProperty(String propertyName,
                                Object propertyValue,
                                IProgressMonitor progressMonitor)
Custom validate the property identified by propertyName with respect to the given propertyValue

Parameters:
propertyName - is the property to be validated.
propertyValue - is the value of the property that is being validated.
progressMonitor - to monitor the progres of the validate operation.
Returns:
IStatus the status object that holds the status code and any messages.

IBM Rational Software Modeler
Release 6.0


Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2004. All rights reserved.