Class InterfacePortBuilderHelper
java.lang.Object
org.somox.analyzer.simplemodelanalyzer.builder.util.InterfacePortBuilderHelper
Query functionality useful when creating interface ports.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Iterable<EndpointInformation>
collectInformationOnNonBoundInterfaces
(ComponentImplementingClassesLink componentLink, org.palladiosimulator.pcm.core.composition.ComposedStructure outerComponentToCheck, boolean isProvided) Collects information on interfaces which are not bound in connectors (in the required case) and all interfaces in the provided case.static org.palladiosimulator.pcm.repository.Role
getInterfacePort
(ComponentImplementingClassesLink subComponentLink, InterfaceSourceCodeLink interfaceLinkSub, boolean searchProvidedRoles) Search matching Role.
Condition: The linked subcomponent must provide/require the given linked interface
-
Constructor Details
-
InterfacePortBuilderHelper
public InterfacePortBuilderHelper()
-
-
Method Details
-
collectInformationOnNonBoundInterfaces
public static Iterable<EndpointInformation> collectInformationOnNonBoundInterfaces(ComponentImplementingClassesLink componentLink, org.palladiosimulator.pcm.core.composition.ComposedStructure outerComponentToCheck, boolean isProvided) Collects information on interfaces which are not bound in connectors (in the required case) and all interfaces in the provided case.- Parameters:
componentLink
- fitting to the component argument.outerComponentToCheck
- Component to look up non-connected interfaces for.isProvided
- Check for provided or required interfaces.- Returns:
-
getInterfacePort
public static org.palladiosimulator.pcm.repository.Role getInterfacePort(ComponentImplementingClassesLink subComponentLink, InterfaceSourceCodeLink interfaceLinkSub, boolean searchProvidedRoles) Search matching Role.
Condition: The linked subcomponent must provide/require the given linked interface- Parameters:
subComponentLink
-interfaceLinkSub
-searchProvidedRoles
- switch provided / required search- Returns:
-