PropertyDef Class

Meta Data Services Programming

Meta Data Services Programming

PropertyDef Class

When you define a class for an information model, you specify the interfaces that the class implements. For each of those interfaces, you specify the members (properties, methods, and collections) that are attached to the interface.

In order to attach a property to an interface, a property definition must exist for the property. The characteristics of the property (its name, dispatch identifier, data type, and various storage details) are stored in the property definition. Property definitions are instances of the PropertyDef class.

To attach a new property to an interface, use the InterfaceDef class.

When to Use

Use the PropertyDef class to access or modify the characteristics of a property definition, or to determine the interface definition to which a particular property is attached.

Interfaces
Interface Description
IAnnotationalProps Gets and sets annotational properties
IInterfaceMember Relates a member to an interface
IInterfaceMember2 Creates simple, derived members as instances of the Alias class, and creates semantically rich derived members as instances of the CollectionDef class
INamedObject Retrieves or sets the class name
IPropertyDef Retains property characteristics
IPropertyDef2 Contains an optional relationship to a single EnumerationDef object
IRepositoryDispatch Provides enhanced dispatch support
IRepositoryItem Manages repository objects and relationships
IRepositoryObject Retrieves repository object identifiers
IRepositoryObjectStorage Creates and loads repository objects
IVersionAdminInfo2 Retains properties inherited from IVersionAdminInfo and sets or retrieves version comments
IViewPropertyDef Defines the column name of a property in a view

See Also

InterfaceDef Class

PropertyDef Object

RTIM Classes