systemcomposer.interface.ServiceInterface
Description
A ServiceInterface
object describes the structure and
attributes of a client-server interface.
Creation
Create a service interface using the addServiceInterface
function.
interface = addServiceInterface(model.InterfaceDictionary,"newServiceInterface")
Properties
Object Functions
moveInterface | Move interface to another data dictionary |
addElement | Add element |
getElement | Get object for element |
removeElement | Remove element |
setName | Set name for value type, function argument, interface, or element |
setDescription | Set description for value type or interface |
applyStereotype | Apply stereotype to architecture model element |
getStereotypes | Get stereotypes applied on element of architecture model |
getStereotypeProperties | Get stereotype property names on element |
removeStereotype | Remove stereotype from model 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 |
setProperty | Set property value corresponding to stereotype applied to element |
hasStereotype | Find if element has stereotype applied |
hasProperty | Find if element has property |
destroy | Remove model 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
Objects
systemcomposer.ValueType
|systemcomposer.interface.DataInterface
|systemcomposer.interface.DataElement
|systemcomposer.interface.PhysicalDomain
|systemcomposer.interface.PhysicalInterface
|systemcomposer.interface.PhysicalElement
|systemcomposer.interface.Dictionary
|systemcomposer.interface.FunctionArgument
|systemcomposer.interface.FunctionElement
|addServiceInterface
|setFunctionPrototype
|getFunctionArgument
|setAsynchronous