00001 #ifndef FDO_RDBMSOVPROPERTYMAPPINGDEFINITION_H
00002 #define FDO_RDBMSOVPROPERTYMAPPINGDEFINITION_H
00003 //
00004 //
00005 // Copyright (C) 2004-2006 Autodesk, Inc.
00006 //
00007 // This library is free software; you can redistribute it and/or
00008 // modify it under the terms of version 2.1 of the GNU Lesser
00009 // General Public License as published by the Free Software Foundation.
00010 //
00011 // This library is distributed in the hope that it will be useful,
00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00014 // Lesser General Public License for more details.
00015 //
00016 // You should have received a copy of the GNU Lesser General Public
00017 // License along with this library; if not, write to the Free Software
00018 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
00019 //
00020
00021 /// <library>
00022 /// FdoRdbms.lib
00023 /// </library>
00024
00025 #include <FdoCommon.h>
00026 #include <Fdo/Xml/Flags.h>
00027 #include <Fdo/Commands/Schema/PhysicalElementMapping.h>
00028 #include <Rdbms/Override/RdbmsOv.h>
00029
00030 ///<summary>
00031 ///Abstract class defining the physical schema overrides for object
00032 ///property table mappings.
00033 ///</summary>
00034 class FdoRdbmsOvPropertyMappingDefinition : public FdoPhysicalElementMapping
00035 {
00036 public:
00037
00038 //DOM-IGNORE-BEGIN
00039
00040 // The following functions are for internal use and are not part of the API.
00041
00042 // Sets the parent of this object.
00043 FDORDBMS_OV_API void SetParent(FdoPhysicalElementMapping* value);
00044
00045 // Initialize this element from its XML attributes
00046 FDORDBMS_OV_API virtual void InitFromXml(FdoXmlSaxContext* pContext, FdoXmlAttributeCollection* attrs);
00047
00048 // Serialize this property to XML.
00049 FDORDBMS_OV_API virtual void _writeXml(FdoXmlWriter* xmlWriter, const FdoXmlFlags* flags);
00050
00051 //DOM-IGNORE-END
00052
00053 protected:
00054 FDORDBMS_OV_API FdoRdbmsOvPropertyMappingDefinition();
00055 FDORDBMS_OV_API virtual ~FdoRdbmsOvPropertyMappingDefinition();
00056 };
00057
00058 ///<summary>
00059 ///FdoRdbmsOvPropertyMappingP is a FdoPtr on FdoRdbmsOvPropertyMappingDefinition,
00060 ///provided for convenience.
00061 ///</summary>
00062 typedef FdoPtr<FdoRdbmsOvPropertyMappingDefinition> FdoRdbmsOvPropertyMappingP;
00063
00064 #endif
00065