Class BipolarReasonerResponse

java.lang.Object
org.tweetyproject.web.services.Response
org.tweetyproject.web.services.bipolar.BipolarReasonerResponse

public class BipolarReasonerResponse extends Response
The BipolarReasonerResponse class extends the Response class and represents a response containing information related to a bipolar argumentation reasoner result.
  • Constructor Details

    • BipolarReasonerResponse

      public BipolarReasonerResponse()
      Default constructor for BipolarReasonerResponse.
    • BipolarReasonerResponse

      public BipolarReasonerResponse(String reply, String email, int nr_of_arguments, List<List<Integer>> attacks, List<List<Integer>> supports, String semantics, String solver, String answer, double time, String unit_time, String status)
      Creates a bipolar reasoner response.
      Parameters:
      reply - the reply message
      email - the email associated with the response
      nr_of_arguments - the number of arguments
      attacks - the attacks information
      supports - the supports information
      semantics - the semantics specified
      solver - the solver specified
      answer - the answer provided
      time - the time taken for the operation
      unit_time - the unit time specified
      status - the status of the response
  • Method Details

    • getReply

      public String getReply()
      Gets the reply message in the bipolar reasoner response.
      Returns:
      The reply message in the bipolar reasoner response.
    • setReply

      public void setReply(String reply)
      Sets the reply message in the bipolar reasoner response.
      Parameters:
      reply - The reply message in the bipolar reasoner response.
    • getEmail

      public String getEmail()
      Gets the email associated with the bipolar reasoner response.
      Returns:
      The email associated with the bipolar reasoner response.
    • setEmail

      public void setEmail(String email)
      Sets the email associated with the bipolar reasoner response.
      Parameters:
      email - The email associated with the bipolar reasoner response.
    • getNr_of_arguments

      public int getNr_of_arguments()
      Gets the number of arguments in the bipolar reasoner response.
      Returns:
      The number of arguments in the bipolar reasoner response.
    • setNr_of_arguments

      public void setNr_of_arguments(int nr_of_arguments)
      Sets the number of arguments in the bipolar reasoner response.
      Parameters:
      nr_of_arguments - The number of arguments in the bipolar reasoner response.
    • getAttacks

      public List<List<Integer>> getAttacks()
      Gets the attacks information in the bipolar reasoner response.
      Returns:
      The attacks information in the bipolar reasoner response.
    • setAttacks

      public void setAttacks(List<List<Integer>> attacks)
      Sets the attacks information in the bipolar reasoner response.
      Parameters:
      attacks - The attacks information in the bipolar reasoner response.
    • getSupports

      public List<List<Integer>> getSupports()
      Gets the supports information in the bipolar reasoner response.
      Returns:
      The supports information in the bipolar reasoner response.
    • setSupports

      public void setSupports(List<List<Integer>> supports)
      Sets the supports information in the bipolar reasoner response.
      Parameters:
      supports - The supports information in the bipolar reasoner response.
    • getSemantics

      public String getSemantics()
      Gets the semantics specified in the bipolar reasoner response.
      Returns:
      The semantics specified in the bipolar reasoner response.
    • setSemantics

      public void setSemantics(String semantics)
      Sets the semantics specified in the bipolar reasoner response.
      Parameters:
      semantics - The semantics specified in the bipolar reasoner response.
    • getSolver

      public String getSolver()
      Gets the solver specified in the bipolar reasoner response.
      Returns:
      The solver specified in the bipolar reasoner response.
    • setSolver

      public void setSolver(String solver)
      Sets the solver specified in the bipolar reasoner response.
      Parameters:
      solver - The solver specified in the bipolar reasoner response.
    • getAnswer

      public String getAnswer()
      Gets the answer provided by the bipolar reasoner response.
      Returns:
      The answer provided by the bipolar reasoner response.
    • setAnswer

      public void setAnswer(String answer)
      Sets the answer provided by the bipolar reasoner response.
      Parameters:
      answer - The answer provided by the bipolar reasoner response.
    • getTime

      public double getTime()
      Gets the time taken for the bipolar reasoner operation (in seconds).
      Returns:
      The time taken for the bipolar reasoner operation (in seconds).
    • setTime

      public void setTime(double time)
      Sets the time taken for the bipolar reasoner operation (in seconds).
      Parameters:
      time - The time taken for the bipolar reasoner operation (in seconds).
    • getUnit_time

      public String getUnit_time()
      Gets the unit time specified in the bipolar reasoner response.
      Returns:
      The unit time specified in the bipolar reasoner response.
    • setUnit_time

      public void setUnit_time(String unit_time)
      Sets the unit time specified in the bipolar reasoner response.
      Parameters:
      unit_time - The unit time specified in the bipolar reasoner response.
    • getStatus

      public String getStatus()
      Gets the status of the bipolar reasoner response.
      Returns:
      The status of the bipolar reasoner response.
    • setStatus

      public void setStatus(String status)
      Sets the status of the bipolar reasoner response.
      Parameters:
      status - The status of the bipolar reasoner response.
    • reply

      public BipolarReasonerResponse reply(String reply)
      Sets the reply message in the bipolar reasoner response.
      Parameters:
      reply - The reply message in the bipolar reasoner response.
      Returns:
      The current instance of BipolarReasonerResponse.
    • email

      public BipolarReasonerResponse email(String email)
      Sets the email associated with the bipolar reasoner response.
      Parameters:
      email - The email associated with the bipolar reasoner response.
      Returns:
      The current instance of BipolarReasonerResponse.
    • nr_of_arguments

      public BipolarReasonerResponse nr_of_arguments(int nr_of_arguments)
      Sets the number of arguments in the bipolar reasoner response.
      Parameters:
      nr_of_arguments - The number of arguments in the bipolar reasoner response.
      Returns:
      The current instance of BipolarReasonerResponse.
    • attacks

      public BipolarReasonerResponse attacks(List<List<Integer>> attacks)
      Sets the attacks information in the bipolar reasoner response.
      Parameters:
      attacks - The attacks information in the bipolar reasoner response.
      Returns:
      The current instance of BipolarReasonerResponse.
    • semantics

      public BipolarReasonerResponse semantics(String semantics)
      Sets the semantics specified in the bipolar reasoner response.
      Parameters:
      semantics - The semantics specified in the bipolar reasoner response.
      Returns:
      The current instance of BipolarReasonerResponse.
    • solver

      public BipolarReasonerResponse solver(String solver)
      Sets the solver specified in the bipolar reasoner response.
      Parameters:
      solver - The solver specified in the bipolar reasoner response.
      Returns:
      The current instance of BipolarReasonerResponse.
    • answer

      public BipolarReasonerResponse answer(String answer)
      Sets the answer provided by the bipolar reasoner response.
      Parameters:
      answer - The answer provided by the bipolar reasoner response.
      Returns:
      The current instance of BipolarReasonerResponse.
    • time

      public BipolarReasonerResponse time(int time)
      Sets the time taken for the bipolar reasoner operation (in seconds).
      Parameters:
      time - The time taken for the bipolar reasoner operation (in seconds).
      Returns:
      The current instance of BipolarReasonerResponse.
    • status

      public BipolarReasonerResponse status(String status)
      Sets the status of the bipolar reasoner response.
      Parameters:
      status - The status of the bipolar reasoner response.
      Returns:
      The current instance of BipolarReasonerResponse.
    • toString

      public String toString()
      Overrides:
      toString in class Object