Class ComponentAndTypeNaming
java.lang.Object
org.somox.analyzer.simplemodelanalyzer.builder.ComponentAndTypeNaming
Component, package, interface, and port naming facility.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateComponentInstanceName
(org.palladiosimulator.pcm.repository.RepositoryComponent repositoryComponent) createCompositeComponentName
(Collection<ComponentImplementingClassesLink> innerComponents) Short namecreateCompositeComponentName
(Collection<ComponentImplementingClassesLink> innerComponents, boolean shorten) createInterfaceName
(tools.mdsd.jamopp.model.java.types.Type interfaceClass) Interface name created for a real GAST interface class.createInterfaceNameForClass
(tools.mdsd.jamopp.model.java.types.Type interfaceClass) Interface name created for a usual class which is not marked as an interface.void
createProvidedDelegationConnectorName
(org.palladiosimulator.pcm.core.composition.ProvidedDelegationConnector delegationConnector) createProvidedPortName
(org.palladiosimulator.pcm.repository.Interface provInterface, org.palladiosimulator.pcm.repository.RepositoryComponent component) Creates the name for a provided interfacecreateProvidedSystemPortName
(org.palladiosimulator.pcm.repository.Interface provInterface, org.palladiosimulator.pcm.repository.RepositoryComponent component) void
createRequiredDelegationConnectorName
(org.palladiosimulator.pcm.core.composition.RequiredDelegationConnector delegationConnector) createRequiredPortName
(org.palladiosimulator.pcm.repository.Interface reqInterface, org.palladiosimulator.pcm.repository.RepositoryComponent component) Creates the name for a required interfacecreateRequiredSystemPortName
(org.palladiosimulator.pcm.repository.Interface reqInterface, org.palladiosimulator.pcm.repository.RepositoryComponent component) createSimpleComponentName
(int i, List<ComponentImplementingClassesLink> currentList) createSimpleComponentName
(int i, tools.mdsd.jamopp.model.java.types.Type astClass) Deprecated.createSimpleComponentName
(List<tools.mdsd.jamopp.model.java.classifiers.ConcreteClassifier> astClasses, boolean shorten) Creates a primitive component namecreateSimpleComponentName
(tools.mdsd.jamopp.model.java.types.Type astClass)
-
Constructor Details
-
ComponentAndTypeNaming
public ComponentAndTypeNaming()
-
-
Method Details
-
createSimpleComponentName
@Deprecated public String createSimpleComponentName(int i, tools.mdsd.jamopp.model.java.types.Type astClass) Deprecated. -
createSimpleComponentName
public String createSimpleComponentName(List<tools.mdsd.jamopp.model.java.classifiers.ConcreteClassifier> astClasses, boolean shorten) Creates a primitive component name- Parameters:
gastClasses
- : inner classes of the componentshorten
- true: a short name- Returns:
-
createSimpleComponentName
-
createSimpleComponentName
-
createCompositeComponentName
public String createCompositeComponentName(Collection<ComponentImplementingClassesLink> innerComponents) Short name- Parameters:
innerComponents
-- Returns:
-
createCompositeComponentName
public String createCompositeComponentName(Collection<ComponentImplementingClassesLink> innerComponents, boolean shorten) -
createComponentInstanceName
public String createComponentInstanceName(org.palladiosimulator.pcm.repository.RepositoryComponent repositoryComponent) -
createProvidedPortName
public String createProvidedPortName(org.palladiosimulator.pcm.repository.Interface provInterface, org.palladiosimulator.pcm.repository.RepositoryComponent component) Creates the name for a provided interface- Parameters:
provInterface
-component
-- Returns:
-
createProvidedSystemPortName
public String createProvidedSystemPortName(org.palladiosimulator.pcm.repository.Interface provInterface, org.palladiosimulator.pcm.repository.RepositoryComponent component) -
createRequiredPortName
public String createRequiredPortName(org.palladiosimulator.pcm.repository.Interface reqInterface, org.palladiosimulator.pcm.repository.RepositoryComponent component) Creates the name for a required interface- Parameters:
reqInterface
-component
-- Returns:
-
createRequiredSystemPortName
public String createRequiredSystemPortName(org.palladiosimulator.pcm.repository.Interface reqInterface, org.palladiosimulator.pcm.repository.RepositoryComponent component) -
createInterfaceName
Interface name created for a real GAST interface class.- Parameters:
interfaceClass
-- Returns:
-
createInterfaceNameForClass
Interface name created for a usual class which is not marked as an interface.- Parameters:
interfaceClass
-- Returns:
-
createProvidedDelegationConnectorName
public void createProvidedDelegationConnectorName(org.palladiosimulator.pcm.core.composition.ProvidedDelegationConnector delegationConnector) -
createRequiredDelegationConnectorName
public void createRequiredDelegationConnectorName(org.palladiosimulator.pcm.core.composition.RequiredDelegationConnector delegationConnector)
-