Changes between Version 3 and Version 4 of MapGuideRfc70
- Timestamp:
- 06/25/09 22:58:06 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MapGuideRfc70
v3 v4 34 34 === Schema, Class and Property Definition === 35 35 36 ApplySchema need not only support adding, modifying but also support deleting schema elements. So we need a method to mark the schema element for deletion. The method Delete() will be added to classes MgFeatureSchema, MgClassDefinition,MgPropertyDefinition for it.36 ApplySchema need not only support adding, modifying but also support deleting schema elements. So we need a method to mark the schema element for deletion. The method Delete() will be added to classes !MgFeatureSchema, !MgClassDefinition, !MgPropertyDefinition for it. 37 37 38 38 {{{ … … 46 46 /// \brief 47 47 /// Marks the schema for deletion. 48 ///48 /// 49 49 /// \return 50 50 /// Returns nothing. … … 60 60 /// \brief 61 61 /// Marks the class for deletion. 62 ///62 /// 63 63 /// \return 64 64 /// Returns nothing. … … 75 75 /// \brief 76 76 /// Marks the property for deletion. 77 ///77 /// 78 78 /// \return 79 79 /// Returns nothing. … … 91 91 PUBLISHED_API: 92 92 /// \brief 93 /// Creates or updates a feature schema within the DataStore.94 ///93 /// Creates or updates a feature schema within the DataStore. 94 /// 95 95 /// \param resource (MgResourceIdentifier) 96 96 /// A resource identifier referring to a feature source. … … 102 102 /// 103 103 virtual void ApplySchema( 104 MgResourceIdentifier* resource,105 MgFeatureSchema* schema) = 0;104 MgResourceIdentifier* resource, 105 MgFeatureSchema* schema) = 0; 106 106 }; 107 107 }}} … … 113 113 == Test Plan == 114 114 115 Add unit tests for method MgFeatureService:: ApplySchema into the existing Feature Service unit tests.115 Add unit tests for method MgFeatureService::!ApplySchema into the existing Feature Service unit tests. 116 116 117 117 == Funding/Resources ==