Skip to main content

IModel.GetDerivedToRelationsOf method

Namespace: NextDesign.Core

Description

If the specified model is an element derived from this model, get all the derived associations. For example, if there is a {element B} derived from this model, you can get the derivation relationship by specifying {element B} 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 specification object is acquired from the request 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