Skip to main content

IModel.GetDerivedFromRelationsOf method

Namespace: NextDesign.Core

Description

If this model is an element derived from the specified model, get all its derivation associations. For example, if this model is an element derived from {element A}, you can get the derivation relationship by specifying {element A} as an argument.

It can be used for processing such as:

  • When there is a derivation relationship between the request object and the specification object, the relationship to the request object is acquired from the specification object side.

This method evaluates IContextOption.PlModelAccessMode.

If no such association exists, it returns an empty collection.

argument

NameTypeDescription
oppositeIModelOpposite model
null cannot be specified.

Return value

  • IRelationshipCollection

Exception

NameException ClassDescription
Invalid argumentExtensionArgumentExceptionWhen null is specified for opposite