Skip to main content

IModel.GetDerivedToRelationsOf Method

Namespace: NextDesign.Core

Description

If the specified model is an element derived from this model, all derived relations are obtained.
For example, if there is{element B} derived from this model, you can obtain its derived relations by specifying{element B} as an argument.

This can be used for the following processing.

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

This method evaluates IContextOption.PlModelAccessMode.

If there is no corresponding relationship, it returns an empty collection.

Arguments

NameTypeDescription
oppositeIModelOther model
null cannot be specified.

Return value

  • IRelationshipCollection

Exceptions

NameException classDescription
Invalid argumentExtensionArgumentExceptionIf null is specified for opposite