(file) Return to IndicationService.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / IndicationService

Diff for /pegasus/src/Pegasus/IndicationService/IndicationService.h between version 1.61 and 1.62

version 1.61, 2004/08/23 16:50:00 version 1.62, 2004/09/02 17:36:31
Line 195 
Line 195 
  
         This function is called by the _canCreate function, and is used to         This function is called by the _canCreate function, and is used to
         validate the  Filter and Handler properties in Subscription instances,         validate the  Filter and Handler properties in Subscription instances,
         the Name, CreationClassName, Query and Query Language properties in          the Name, Query and Query Language properties in
         Filter instances, the Name, CreationClassName, and Destination          Filter instances, the Name and Destination
         properties in CIMXML Handler instances, and the Name, CreationClassName,          properties in CIMXML Handler instances, and the Name,
         Trap Destination, and SNMP Version properties in SNMP Mapper instances.         Trap Destination, and SNMP Version properties in SNMP Mapper instances.
  
         @param   instance              instance to be validated         @param   instance              instance to be validated
Line 261 
Line 261 
         If the property exists, but its value is NULL, its value is set to         If the property exists, but its value is NULL, its value is set to
         the default value.         the default value.
         This function is called by the _canCreate function, and is used to         This function is called by the _canCreate function, and is used to
         validate the System Name and System Creation Class Name properties in          validate the Source Namespace property in Filter instances.
         Filter and Handler instances, and the Source Namespace property in  
         Filter instances.  
  
         Note: currently all properties validated by this function are of type         Note: currently all properties validated by this function are of type
         String.  To use this function in the future with properties of other         String.  To use this function in the future with properties of other
Line 283 
Line 281 
  
     /**     /**
         Validates the specified property in the instance.         Validates the specified property in the instance.
           If the property does not exist, it is added with the default value.
           If the property exists, but its value is NULL, its value is set to
           the default value.
           If the property exists and has a non-NULL value, its value is validated
           against the default (expected) value.  If the value is invalid, an
           exception is thrown.
           This function is called by the _canCreate function, and is used to
           validate the Creation Class Name, System Name and System Creation Class
           Name properties in Filter and Handler instances.
   
           Note: currently all properties validated by this function are of type
           String.  To use this function in the future with properties of other
           types, a type parameter would need to be added, and the default value
           would need to be passed as a CIMValue instead of a String.
   
           @param   instance              instance to be validated
           @param   propertyName          name of property to be validated
           @param   defaultValue          default value for property
   
           @return  the value of the property
        */
       String _initOrValidateStringProperty (
           CIMInstance & instance,
           const CIMName & propertyName,
           const String & defaultValue);
   
       /**
           Validates the specified property in the instance.
         If the property exists and its value is not NULL, but it is not of         If the property exists and its value is not NULL, but it is not of
         the correct type, an exception is thrown.         the correct type, an exception is thrown.
         This function is called by the _canCreate function.  It is used to         This function is called by the _canCreate function.  It is used to


Legend:
Removed from v.1.61  
changed lines
  Added in v.1.62

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2