systemcomposer.allocation.Allocation
ソース要素とターゲット要素の間の割り当て
説明
Allocation オブジェクトは、ソース要素とターゲット要素の間の割り当てを定義します。
関連するオブジェクトには以下があります。
作成
既定のシナリオ Scenario 1 の 4 つの要素について、allocate 関数を使用して要素間の割り当てを 2 つ作成します。
defaultScenario = allocSet.getScenario("Scenario 1");
defaultScenario.allocate(sourceElement1,sourceElement2);
defaultScenario.allocate(sourceElement3,sourceElement4);プロパティ
オブジェクト関数
applyStereotype | モデル要素にステレオタイプを適用 |
getStereotypes | Get stereotypes applied on model element |
changeStereotype | Change currently applied stereotype to new stereotype in its stereotype hierarchy |
removeStereotype | Remove stereotype from model element |
setProperty | Set property value corresponding to stereotype applied to element |
getProperty | Get property value corresponding to stereotype applied to element |
getPropertyValue | Get value of architecture property |
getEvaluatedPropertyValue | Get evaluated value of property from element |
getStereotypeProperties | Get stereotype property names on element |
hasStereotype | Find if element has stereotype applied |
hasProperty | Find if element has property |
destroy | Remove model element |
例
詳細
バージョン履歴
R2020b で導入
参考
ツール
ブロック
オブジェクト
関数
systemcomposer.allocation.createAllocationSet|systemcomposer.allocation.load|systemcomposer.allocation.open|systemcomposer.allocation.editor|close|systemcomposer.allocation.AllocationSet.closeAll|systemcomposer.allocation.AllocationSet.find|save|rebindSourceModel|rebindTargetModel|synchronizeChanges|createScenario|deleteScenario|getScenario|allocate|deallocate|getAllocation|getAllocatedFrom|getAllocatedTo|destroy

