Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

# MgClassDefinition Class Reference
[MgClassDefinition]

Defines a feature class belonging to a schema. More...

Inherits MgNamedSerializable.

List of all members.

## Public Member Functions
MgClassDefinition * | GetBaseClassDefinition ()
STRING | GetDefaultGeometryPropertyName ()
| Gets the name of the default geometry property in this class.
STRING | GetDescription ()
| Gets the feature class description.
MgPropertyDefinitionCollection * | GetIdentityProperties ()
| Gets a collection containing the set of data property definitions that can be used to uniquely identify instances of this class.
STRING | GetName ()
| Gets the name of the feature class.
MgPropertyDefinitionCollection * | GetProperties ()
| Gets a collection containing all the property definitions for this class including identity property definitions.
bool | IsAbstract ()
| Tests whether a class definition is abstract or not.
bool | IsComputed ()
| MgClassDefinition ()
| Constructs an MgClassDefinition object.
void | SetDefaultGeometryPropertyName (CREFSTRING name)
void | SetDescription (CREFSTRING description)
void | SetName (CREFSTRING name)
| Sets the name of the feature class.

## Detailed Description

Defines a feature class belonging to a schema.

Comments or suggestions? Send us feedback.