Class OperationBuilder
java.lang.Object
org.somox.analyzer.simplemodelanalyzer.builder.AbstractBuilder
org.somox.analyzer.simplemodelanalyzer.builder.OperationBuilder
Builder for operations, parameters, message types, and data types. Keeps the
source code decorator updated.
-
Field Summary
Fields inherited from class org.somox.analyzer.simplemodelanalyzer.builder.AbstractBuilder
analysisResult, astModel, somoxConfiguration
-
Constructor Summary
ConstructorDescriptionOperationBuilder
(Root gastModel, SoMoXConfiguration somoxConfiguration, AnalysisResult analysisResult) -
Method Summary
Modifier and TypeMethodDescriptionvoid
createOperations
(tools.mdsd.jamopp.model.java.classifiers.ConcreteClassifier implementationClass, tools.mdsd.jamopp.model.java.classifiers.ConcreteClassifier interfaceClass, org.palladiosimulator.pcm.repository.OperationInterface interf) org.palladiosimulator.pcm.repository.DataType
getType
(tools.mdsd.jamopp.model.java.types.Type gastType, org.palladiosimulator.pcm.repository.Repository repository, tools.mdsd.jamopp.model.java.arrays.ArrayTypeable arrayTypeable) Data type creation or look up for existing data types.org.palladiosimulator.pcm.repository.DataType
returnDefaultDataType
(tools.mdsd.jamopp.model.java.commons.Commentable type, org.palladiosimulator.pcm.repository.Repository repository)
-
Constructor Details
-
OperationBuilder
public OperationBuilder(Root gastModel, SoMoXConfiguration somoxConfiguration, AnalysisResult analysisResult)
-
-
Method Details
-
createOperations
public void createOperations(tools.mdsd.jamopp.model.java.classifiers.ConcreteClassifier implementationClass, tools.mdsd.jamopp.model.java.classifiers.ConcreteClassifier interfaceClass, org.palladiosimulator.pcm.repository.OperationInterface interf) -
getType
public org.palladiosimulator.pcm.repository.DataType getType(tools.mdsd.jamopp.model.java.types.Type gastType, org.palladiosimulator.pcm.repository.Repository repository, tools.mdsd.jamopp.model.java.arrays.ArrayTypeable arrayTypeable) Data type creation or look up for existing data types.- Parameters:
typeName
- type name to createrepository
- repository containing all present typesarrayDimensions
- array dimensions for the type- Returns:
- a new data type for non-existing ones; the existing instance else
-
returnDefaultDataType
public org.palladiosimulator.pcm.repository.DataType returnDefaultDataType(tools.mdsd.jamopp.model.java.commons.Commentable type, org.palladiosimulator.pcm.repository.Repository repository)
-