- virtual const ModelAPI_Validator* validator(
- const std::string& theFeatureID, const std::string& theAttrID) const = 0;
+ virtual void validators(const std::string& theFeatureID, const std::string& theAttrID,
+ std::list<ModelAPI_Validator*>& theValidators,
+ std::list<std::list<std::string> >& theArguments) const = 0;
+
+ /// Returns registered validator by its Id
+ virtual const ModelAPI_Validator* validator(const std::string& theID) const = 0;