systemcomposer.interface.FunctionElement
Description
A FunctionElement object describes the attributes of a function
in a client-server interface systemcomposer.interface.ServiceInterface.
Creation
Create a function element using the addElement function.
element = addElement(serviceInterface,"f0")Properties
Object Functions
setName | Set name for value type, function argument, interface, or element |
setFunctionPrototype | Set prototype for function element |
getFunctionArgument | Get function argument on function element |
setAsynchronous | Set function element as asynchronous |
destroy | Remove model element |
applyStereotype | Apply stereotype to architecture model element |
getStereotypes | Get stereotypes applied on element of architecture model |
changeStereotype | Change currently applied stereotype to new stereotype in its stereotype hierarchy |
removeStereotype | Remove stereotype from model element |
hasStereotype | Find if element has stereotype applied |
hasProperty | Find if element has property |
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 |
getStereotypeProperties | Get stereotype property names on element |
getEvaluatedPropertyValue | Get evaluated value of property from element |
Examples
More About
Version History
Introduced in R2022a
See Also
Functions
addInterface|moveInterface|addPhysicalInterface|removeInterface|createInterface|setName|setInterface|getInterface|getInterfaceNames|addElement|removeElement|getElement|setName|setType|createOwnedType|getSourceElement|getDestinationElement|systemcomposer.createDictionary|systemcomposer.openDictionary|saveToDictionary|isOpen|getFileName|linkDictionary|unlinkDictionary|addReference|removeReference|makeOwnedInterfaceShared|addValueType|createInterface|setName|setDataType|setDimensions|setUnits|setComplexity|setMinimum|setMaximum|setDescription|addServiceInterface|setFunctionPrototype|getFunctionArgument|setAsynchronous|systemcomposer.getSelectedInterfaces|IsAdapterComponent
Objects
systemcomposer.ValueType|systemcomposer.interface.DataInterface|systemcomposer.interface.DataElement|systemcomposer.interface.PhysicalDomain|systemcomposer.interface.PhysicalInterface|systemcomposer.interface.PhysicalElement|systemcomposer.interface.Dictionary|systemcomposer.interface.ServiceInterface|systemcomposer.interface.FunctionArgument|addServiceInterface|setFunctionPrototype|getFunctionArgument|setAsynchronous