java.lang.Object
edu.university.ecs.lab.common.models.ir.Flow
All Implemented Interfaces:
JsonSerializable

public class Flow extends Object implements JsonSerializable
Represents a flow from controller level down to DAO.
  • Field Details

    • model

      private Microservice model
    • controller

      private JClass controller
    • controllerMethod

      private Endpoint controllerMethod
    • serviceMethodCall

      private MethodCall serviceMethodCall
    • controllerServiceField

      private Field controllerServiceField
    • service

      private JClass service
    • serviceMethod

      private Method serviceMethod
    • repositoryMethodCall

      private MethodCall repositoryMethodCall
    • serviceRepositoryField

      private Field serviceRepositoryField
    • repository

      private JClass repository
    • repositoryMethod

      private Method repositoryMethod
  • Constructor Details

    • Flow

      public Flow()
  • Method Details

    • toJsonObject

      public com.google.gson.JsonObject toJsonObject()
      Create JSON object from flow object
      Specified by:
      toJsonObject in interface JsonSerializable
      Returns:
      a JsonObject representing this
    • toSmallJsonObject

      public com.google.gson.JsonObject toSmallJsonObject()
      Create JSON object from flow object with only names
      Returns:
      flow JSON object