FDO .NET API Reference Feature Data Objects
Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

OSGeo::FDO::Commands::Schema::PhysicalElementMapping Class Reference

Inherits OSGeo::FDO::Common::Xml::XmlSaxHandler, and OSGeo::FDO::Commands::Schema::OSGeo::FDO::Commands::Schema::IPhysicalElementMapping.

Inherited by OSGeo::FDO::Commands::Schema::PhysicalClassMapping, OSGeo::FDO::Commands::Schema::PhysicalPropertyMapping, OSGeo::FDO::Commands::Schema::PhysicalSchemaMapping, and OSGeo::FDO::Xml::XmlElementMapping.

Inheritance diagram for OSGeo::FDO::Commands::Schema::PhysicalElementMapping:

[legend]
List of all members.

Detailed Description

PhysicalElementMapping is an abstract class that acts as a base class for all Physical Schema Mapping Override classes. FDO also provides a number of sub-classes for particular types of Provider-specific override classes:.


Public Member Functions

OSGeo::FDO::Common::Xml::IXmlSaxHandlerChoiceSubElementError (OSGeo::FDO::Common::Xml::XmlSaxContext *context, System::String *parentElement, OSGeo::FDO::Common::StringCollection *subElements)
 Error reporting function that are not yet part of the supported FDO API. Return a XmlSkipElementHandler, which can be used to skip over the element in error.
OSGeo::FDO::Common::Xml::IXmlSaxHandlerDuplicateSubElementError (OSGeo::FDO::Common::Xml::XmlSaxContext *context, System::String *parentElement, System::String *subElement, System::String *subElementName)
 Error reporting function that are not yet part of the supported FDO API. Return a XmlSkipElementHandler, which can be used to skip over the element in error.
__property System::Boolean get_CanSetName ()
__property System::String * get_Name ()
 Gets the fully qualified name of this element.
__property OSGeo::FDO::Commands::Schema::IPhysicalElementMappingget_Parent ()
 Gets the parent of this PhysicalElementMapping or null if this object has not been added to a parent object.
__property System::String * get_QualifiedName ()
 Gets the fully qualified name of this element.
__property OSGeo::FDO::Commands::Schema::PhysicalSchemaMappingget_SchemaMapping ()
 Gets the PhysicalSchemaMapping that this element is a part of. Returns null if this object has not been added to a feature schema.
System::Void InitFromXml (OSGeo::FDO::Common::Xml::XmlSaxContext *context, OSGeo::FDO::Common::Xml::XmlAttributeCollection *attributes)
 Initializes this Physical Element Mapping from its XML attributes. Called when the element is deserialized from XML. Can be extended to handle particular XML attributes for derived classes.
OSGeo::FDO::Common::Xml::IXmlSaxHandlerMultiSubElementError (OSGeo::FDO::Common::Xml::XmlSaxContext *context, System::String *parentElement, System::String *subElement)
 Error reporting function that are not yet part of the supported FDO API. Return a XmlSkipElementHandler, which can be used to skip over the element in error.
__property System::Void set_Name (System::String *name)
 Gets the name of this element.
OSGeo::FDO::Common::Xml::IXmlSaxHandlerSubElementError (OSGeo::FDO::Common::Xml::XmlSaxContext *context, System::String *parentElement, System::String *subElement)
 Error reporting function that are not yet part of the supported FDO API. Return a XmlSkipElementHandler, which can be used to skip over the element in error.
System::Void WriteXml (OSGeo::FDO::Common::Xml::XmlWriter *xmlWriter, OSGeo::FDO::Xml::XmlFlags *flags)
 Writes this Physical Mapping Element to XML. Called when the element is serialized to XML. Can be extended to handle particular XML attributes and sub-elements for derived classes.

Protected Member Functions

 PhysicalElementMapping (System::IntPtr unmanaged, System::Boolean autoDelete)
 
System::Void ReleaseUnmanagedObject ()
 DOXYGEN-IGNORE

Constructor & Destructor Documentation

OSGeo::FDO::Commands::Schema::PhysicalElementMapping::PhysicalElementMapping System::IntPtr  unmanaged,
System::Boolean  autoDelete
[protected]
 


Member Function Documentation

OSGeo ::FDO ::Common ::Xml ::IXmlSaxHandler* OSGeo::FDO::Commands::Schema::PhysicalElementMapping::ChoiceSubElementError OSGeo::FDO::Common::Xml::XmlSaxContext context,
System::String *  parentElement,
OSGeo::FDO::Common::StringCollection subElements
 

Error reporting function that are not yet part of the supported FDO API. Return a XmlSkipElementHandler, which can be used to skip over the element in error.

Parameters:
context Input context contain information about the current deserialization operation
parentElement Input the XML parent element
subElements Input the list of the XML sub elements

OSGeo ::FDO ::Common ::Xml ::IXmlSaxHandler* OSGeo::FDO::Commands::Schema::PhysicalElementMapping::DuplicateSubElementError OSGeo::FDO::Common::Xml::XmlSaxContext context,
System::String *  parentElement,
System::String *  subElement,
System::String *  subElementName
 

Error reporting function that are not yet part of the supported FDO API. Return a XmlSkipElementHandler, which can be used to skip over the element in error.

Parameters:
context Input context contain information about the current deserialization operation
parentElement Input the XML parent element
subElement Input the XML sub element
subElementName Input the XML sub element name

__property System::Boolean OSGeo::FDO::Commands::Schema::PhysicalElementMapping::get_CanSetName  ) 
 

Returns:
Returns true if the name of the object can be changed.

__property System::String* OSGeo::FDO::Commands::Schema::PhysicalElementMapping::get_Name  ) 
 

Gets the fully qualified name of this element.

Returns:
The Default implementation simply returns the element name

__property OSGeo ::FDO ::Commands ::Schema ::IPhysicalElementMapping* OSGeo::FDO::Commands::Schema::PhysicalElementMapping::get_Parent  ) 
 

Gets the parent of this PhysicalElementMapping or null if this object has not been added to a parent object.

Returns:
Returns the PhysicalElementMapping of the parent

__property System::String* OSGeo::FDO::Commands::Schema::PhysicalElementMapping::get_QualifiedName  ) 
 

Gets the fully qualified name of this element.

Returns:
Returns the qualified name of this element

__property OSGeo ::FDO ::Commands ::Schema ::PhysicalSchemaMapping* OSGeo::FDO::Commands::Schema::PhysicalElementMapping::get_SchemaMapping  ) 
 

Gets the PhysicalSchemaMapping that this element is a part of. Returns null if this object has not been added to a feature schema.

Returns:
Returns the PhysicalSchemaMapping this object is a part of

System::Void OSGeo::FDO::Commands::Schema::PhysicalElementMapping::InitFromXml OSGeo::FDO::Common::Xml::XmlSaxContext context,
OSGeo::FDO::Common::Xml::XmlAttributeCollection attributes
 

Initializes this Physical Element Mapping from its XML attributes. Called when the element is deserialized from XML. Can be extended to handle particular XML attributes for derived classes.

Parameters:
context Input context contain information about the current deserialization operation
attributes Input the XML attributes.
Returns:
Returns nothing

Reimplemented in OSGeo::FDO::Commands::Schema::PhysicalClassMapping, and OSGeo::FDO::Commands::Schema::PhysicalPropertyMapping.

OSGeo ::FDO ::Common ::Xml ::IXmlSaxHandler* OSGeo::FDO::Commands::Schema::PhysicalElementMapping::MultiSubElementError OSGeo::FDO::Common::Xml::XmlSaxContext context,
System::String *  parentElement,
System::String *  subElement
 

Error reporting function that are not yet part of the supported FDO API. Return a XmlSkipElementHandler, which can be used to skip over the element in error.

Parameters:
context Input context contain information about the current deserialization operation
parentElement Input the XML parent element
subElement Input the XML sub element

System::Void OSGeo::FDO::Commands::Schema::PhysicalElementMapping::ReleaseUnmanagedObject  )  [protected, virtual]
 

DOXYGEN-IGNORE

Reimplemented from OSGeo::FDO::Common::Xml::XmlSaxHandler.

__property System::Void OSGeo::FDO::Commands::Schema::PhysicalElementMapping::set_Name System::String *  name  ) 
 

Gets the name of this element.

Returns:
Returns the name of this element.

OSGeo ::FDO ::Common ::Xml ::IXmlSaxHandler* OSGeo::FDO::Commands::Schema::PhysicalElementMapping::SubElementError OSGeo::FDO::Common::Xml::XmlSaxContext context,
System::String *  parentElement,
System::String *  subElement
 

Error reporting function that are not yet part of the supported FDO API. Return a XmlSkipElementHandler, which can be used to skip over the element in error.

Parameters:
context Input context contain information about the current deserialization operation
parentElement Input the XML parent element
subElement Input the XML sub element

System::Void OSGeo::FDO::Commands::Schema::PhysicalElementMapping::WriteXml OSGeo::FDO::Common::Xml::XmlWriter xmlWriter,
OSGeo::FDO::Xml::XmlFlags flags
 

Writes this Physical Mapping Element to XML. Called when the element is serialized to XML. Can be extended to handle particular XML attributes and sub-elements for derived classes.

Parameters:
xmlWriter Input write the element to this XML writer
flags Input flags that control the writing of the element.
Returns:
Returns nothing

Reimplemented in OSGeo::FDO::Commands::Schema::PhysicalClassMapping, and OSGeo::FDO::Commands::Schema::PhysicalPropertyMapping.


Comments or suggestions? Send us feedback.