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
Name | Type | Description |
---|---|---|
opposite | IModel | Opposite model null cannot be specified. |
Return value
- IRelationshipCollection
Exception
Name | Exception Class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | When null is specified for opposite |