FDO API Reference Feature Data Objects

ClassDefinition Class Reference

List of all members.

Detailed Description

FdoClassDefinition is an abstract class that derives from FdoSchemaElement. FdoClassDefinition is a base class for all concrete class types (e.g., FdoClass, FdoFeatureClass) in the Schema package.


Public Member Functions

 ClassDefinition (System::IntPtr unmanaged, System::Boolean autoDelete)
__property NAMESPACE_OSGEO_FDO_SCHEMA::ClassDefinition * get_BaseClass ()
 Gets the base FdoClassDefinition this class is derived from.
__property NAMESPACE_OSGEO_FDO_SCHEMA::ReadOnlyDataPropertyDefinitionCollection * get_BaseIdentityProperties ()
 Returns an FdoReadOnlyDataPropertyDefinitionCollection containing the identity properties for the base class.
__property NAMESPACE_OSGEO_FDO_SCHEMA::ClassCapabilities * get_Capabilities ()
 Gets the class-specific capabilities for this class.
__property NAMESPACE_OSGEO_FDO_SCHEMA::ClassType get_ClassType ()
 This is an abstract operation that must be implemented by derived classes to return the concrete class type.
__property NAMESPACE_OSGEO_FDO_SCHEMA::DataPropertyDefinitionCollection * get_IdentityProperties ()
 Returns an FdoDataPropertyDefinitionCollection containing references to the data properties that can be used to uniquely identify instances of the class. The contained properties must already be defined in either the properties or baseProperties collection. If GetBaseClass() returns non null then this collection must be empty.
__property System::Boolean get_IsAbstract ()
 Gets the abstraction state of the FdoClassDefinition. Classes marked as abstract cannot be created via FDO commands and cannot be used as properties of another class.
__property System::Boolean get_IsComputed ()
 Gets the computed state of the FdoClassDefinition. Computed classes cannot be made persistent or added to FDO schema. The computed classes are used as a transient classes that can be returned by a feature or data reader. They describe the result of a select expression, select function and select distinct.
__property NAMESPACE_OSGEO_FDO_SCHEMA::PropertyDefinitionCollection * get_Properties ()
 Returns an FdoPropertyCollection containing the FdoDataProperties, FdoClassProperties, and FdoGeometricProperties defined for this class.
__property System::String * get_QualifiedName ()
 Gets the fully qualified name of this class.
__property NAMESPACE_OSGEO_FDO_SCHEMA::UniqueConstraintCollection * get_UniqueConstraints ()
 Gets a FdoUniqueConstraintCollection containing all unique constraints applied to properties of this class. The contained properties must already be defined in either the properties or baseProperties collections.
NAMESPACE_OSGEO_FDO_SCHEMA::ReadOnlyPropertyDefinitionCollection * GetBaseProperties ()
 Returns an FdoReadOnlyPropertyDefinitionCollection containing the properties defined by base classes or by the concrete class type, itself. This collection is only populated when the FdoClassDefinition is returned by the DescribeSchema command.
__property System::Void set_BaseClass (NAMESPACE_OSGEO_FDO_SCHEMA::ClassDefinition *value)
 Sets the base FdoClassDefinition this class is derived from.
__property System::Void set_Capabilities (NAMESPACE_OSGEO_FDO_SCHEMA::ClassCapabilities *value)
 Sets the class-specific capabilities for this class. This function must only be called by an FDO Provider. It would be typically called by the DescribeSchema command implementation.
__property System::Void set_IsAbstract (System::Boolean value)
 Sets the abstraction state of the FdoClassDefinition. Classes marked as abstract cannot be created via FDO commands and cannot be used as properties of another class.
__property System::Void set_IsComputed (System::Boolean value)
 Sets the computed state of the FdoClassDefinition. This is an internal method that can only be called by providers. Application should not use this method.
System::Void SetBaseProperties (NAMESPACE_OSGEO_FDO_SCHEMA::PropertyDefinitionCollection *value)
 Sets the base properties of this class. All elements of the input collection must also be properties of the class.

Comments or suggestions? Send us feedback.