RelationshipDef Class

Meta Data Services Programming

Meta Data Services Programming

RelationshipDef Class

When you define an information model in a repository, you define classes of objects, types of relationships that can exist between objects, and various properties that are attached to these object classes and relationship types. The relationship types that you define in your tool information model are represented by instances of the RelationshipDef class.

When to Use

Use the RelationshipDef class to access the properties of a relationship definition (also referred to as a relationship type).

To insert a new relationship type into an information model, use the ReposTypeLib class.

Interfaces
Interface Description
IAnnotationalProps Gets and sets annotational properties
IClassDef Manages class definitions
IClassDef2 Manipulates the ScriptsUsedByClass collection
INamedObject Retrieves or sets the class name
IRepositoryDispatch Provides enhanced dispatch support
IRepositoryItem Manages repository objects and relationships
IRepositoryObject Retrieves repository object identifiers
IRepositoryObjectStorage Creates and loads repository objects
IReposTypeInfo Contains the collection of definition objects that are associated with an information model's repository type library
IVersionAdminInfo2 Retains properties inherited from IVersionAdminInfo and sets or retrieves version comments
IViewRelationshipDef Defines a junction table view of a relationship class

See Also

RelationshipDef Object

ReposTypeLib Class

RTIM Classes