Class OperationBuilder

java.lang.Object
org.somox.analyzer.simplemodelanalyzer.builder.AbstractBuilder
org.somox.analyzer.simplemodelanalyzer.builder.OperationBuilder

public class OperationBuilder extends AbstractBuilder
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

    Constructors
    Constructor
    Description
    OperationBuilder(Root gastModel, SoMoXConfiguration somoxConfiguration, AnalysisResult analysisResult)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • 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 create
      repository - repository containing all present types
      arrayDimensions - 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)