Changes between Initial Version and Version 1 of FDORfc5


Ignore:
Timestamp:
07/11/07 13:44:53 (17 years ago)
Author:
barbarazoladek
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FDORfc5

    v1 v1  
     1
     2----
     3= FDO RFC # - FdoClassDefinition - Add GetIsViewBased(), SetIsViewBased()=
     4
     5This page contains a request for comments document (RFC) for the FDO Open Source project. 
     6More FDO RFCs can be found on the [wiki:FDORfcs RFCs] page.
     7
     8== Status ==
     9 
     10||RFC Template Version||(1.0)||
     11||Submission Date||Jul 11, 2007||
     12||Last Modified||Barbara Zoladek [[Timestamp]]||
     13||Author||Barbara Zoladek||
     14||RFC Status||draft||
     15||Implementation Status ||under development||
     16||Proposed Milestone||3.3||
     17||Assigned PSC guide(s)||Greg Boone||
     18||'''Voting History'''||TBD||
     19||||Mateusz||
     20||||Frank||
     21||||Orest||
     22||||Greg ||
     23 
     24== Overview ==
     25
     26The purpose of this RFC is to add to FdoClassDefinition the methods for setting and getting a flag indicating if the class definition is based on a view.
     27
     28== Motivation ==
     29
     30The top level requirements is to distinguish table and view based classes. However, there is no difference in functionality or behaviour between table and view based classes, for the schema designers it is important to know a type of the underlying datastore object.
     31
     32== Proposed Solution ==
     33{{{
     34class FdoClassDefinition : public FdoSchemaElement
     35{
     36...
     37private:
     38...
     39   FdoBoolean   m_isViewBased;
     40
     41public:
     42    /// \brief
     43    /// Gets the value of mIsViewBased. It is true if a class is based on view; otherwise is false.
     44    ///
     45    /// \return
     46    /// Returns bool
     47    ///
     48        FDO_API bool GetIsViewBased();
     49
     50    /// \brief
     51    /// Sets the value of mIsViewBased. It is true if a class is based on view; otherwise is false.
     52    ///
     53    /// \return
     54    /// Returns nothing
     55    ///
     56        FDO_API void SetIsViewBased( bool value );
     57}
     58}}}
     59
     60
     61== Implications ==
     62
     63This change will not cause any side-effects, nor will cause any compatibility problems.
     64== Test Plan ==
     65
     66FDO test will be expanded for testing these methods.
     67
     68== Funding/Resources ==
     69
     70Autodesk to provide resources / funding to update FDO core.