IRelationship interface
Namespace: NextDesign.Core
Description
An access object to related information.
Affiliation area
Name | Description |
---|---|
Model | APIs to access the model. |
Inherit Base
Name | Description |
---|---|
IModel | Provides access to NextDesign design model information. |
Property
Name | Description |
---|---|
IsDerivation | Derivation relation Note) Derivation relation and relation end object Derivation relation is defined as relation from derivation destination to derivation source will be So, note that the Source object in the derivation association represents the destination and the Target object represents the origin. |
IsEmbedded | Is owned related |
IsReference | Is Reference Related |
IsTwoWay | Is a two-way association |
Source | Relationship source side association end object |
SourceField | The association end field for the origin. This field will be the field of the destination object. |
SourceIndex | index in the association end field for the origin |
Target | Relationship destination association end object |
TargetField | Association end field for the association. This field will be the field of the origin object. |
TargetIndex | Index in the relationship end field to the relationship destination If the relationship is unidirectional, the index value is not saved, so reloading the project may change the index value . |
Method
Name | Description |
---|---|
Relate | Replaces the relation end of this relation with the specified model. This method does not check path constraints and multiplicity constraints. |
UnRelate | Unrelate by this relation and delete this relation. Do nothing if this method is called on an association that has already been deleted. Note that this method cannot be performed on owned associations. |
Related item
Name | Description |
---|---|
Edit model | Edit various model information of NextDesign through API. |