Class AbaReasonerResponse

java.lang.Object
org.tweetyproject.web.services.Response
org.tweetyproject.web.services.aba.AbaReasonerResponse

public class AbaReasonerResponse extends Response
The AbaReasonerResponse class extends the Response class and represents the response data structure for an Argumentation-Based Argumentation (ABA) reasoner.
  • Constructor Details

    • AbaReasonerResponse

      public AbaReasonerResponse()
      Default constructor for AbaReasonerResponse.
    • AbaReasonerResponse

      public AbaReasonerResponse(String reply, String email, String kb, String kb_format, String fol_signature, String query_assumption, String semantics, int timeout, String answer, double time, String unit_time, String status)
      Parameterized constructor for AbaReasonerResponse.
      Parameters:
      reply - The reply from the ABA reasoner
      email - The email associated with the response
      kb - The knowledge base (KB) used in the ABA reasoner
      kb_format - The format of the knowledge base (KB)
      fol_signature - The first-order logic (FOL) signature
      query_assumption - The query assumption used in the ABA reasoner
      semantics - The semantics used in the ABA reasoner
      timeout - The timeout in seconds for the ABA reasoner operation
      answer - The answer/result of the ABA reasoner operation
      time - The execution time of the ABA reasoner operation
      unit_time - The unit time for the ABA reasoner operation
      status - The status of the ABA reasoner response
  • Method Details

    • getFol_signature

      public String getFol_signature()
      Gets the fol_signature associated with this object.
      Returns:
      The fol_signature.
    • setFol_signature

      public void setFol_signature(String fol_signature)
      Sets the fol_signature for this object.
      Parameters:
      fol_signature - The fol_signature to be set.
    • getStatus

      public String getStatus()
      Gets the status associated with this object.
      Returns:
      The status.
    • setStatus

      public void setStatus(String status)
      Sets the status for this object.
      Parameters:
      status - The status to be set.
    • getReply

      public String getReply()
      Gets the reply associated with this object.
      Returns:
      The reply.
    • setReply

      public void setReply(String reply)
      Sets the reply for this object.
      Parameters:
      reply - The reply to be set.
    • getEmail

      public String getEmail()
      Gets the email associated with this object.
      Returns:
      The email.
    • setEmail

      public void setEmail(String email)
      Sets the email for this object.
      Parameters:
      email - The email to be set.
    • getKb

      public String getKb()
      Gets the kb associated with this object.
      Returns:
      The kb.
    • setKb

      public void setKb(String kb)
      Sets the knowledge base for this object.
      Parameters:
      kb - The kb to be set.
    • getKb_format

      public String getKb_format()
      Gets the kb_format associated with this object.
      Returns:
      The kb_format.
    • setKb_format

      public void setKb_format(String kb_format)
      Sets the kb_format for this object.
      Parameters:
      kb_format - The kb_format to be set.
    • getQuery_assumption

      public String getQuery_assumption()
      Gets the query_assumption associated with this object.
      Returns:
      The query_assumption.
    • setQuery_assumption

      public void setQuery_assumption(String query_assumption)
      Sets the query_assumption for this object.
      Parameters:
      query_assumption - The query_assumption to be set.
    • getSemantics

      public String getSemantics()
      Gets the semantics associated with this object.
      Returns:
      The semantics.
    • setSemantics

      public void setSemantics(String semantics)
      Sets the semantics for this object.
      Parameters:
      semantics - The semantics to be set.
    • getTimeout

      public int getTimeout()
      Gets the timeout value associated with this object.
      Returns:
      The timeout value.
    • setTimeout

      public void setTimeout(int timeout)
      Sets the timeout value for this object.
      Parameters:
      timeout - The timeout value to be set.
    • getAnswer

      public String getAnswer()
      Gets the answer associated with this object.
      Returns:
      The answer.
    • setAnswer

      public void setAnswer(String answer)
      Sets the answer for this object.
      Parameters:
      answer - The answer to be set.
    • getTime

      public double getTime()
      Gets the time value associated with this object.
      Returns:
      The time value.
    • setTime

      public void setTime(double time)
      Sets the time value for this object.
      Parameters:
      time - The time value to be set.
    • getUnit_time

      public String getUnit_time()
      Gets the unit time associated with this object.
      Returns:
      The unit time.
    • setUnit_time

      public void setUnit_time(String unit_time)
      Sets the unit time for this object.
      Parameters:
      unit_time - The unit time to be set.
    • reply

      public AbaReasonerResponse reply(String reply)
      Sets the reply for this object and returns the instance of AbaReasonerResponse.
      Parameters:
      reply - The reply to be set.
      Returns:
      This AbaReasonerResponse instance.
    • email

      public AbaReasonerResponse email(String email)
      Sets the email for this object and returns the instance of AbaReasonerResponse.
      Parameters:
      email - The email to be set.
      Returns:
      This AbaReasonerResponse instance.
    • answer

      public AbaReasonerResponse answer(String answer)
      Sets the answer for this object and returns the instance of AbaReasonerResponse.
      Parameters:
      answer - The answer to be set.
      Returns:
      This AbaReasonerResponse instance.
    • time

      public AbaReasonerResponse time(double time)
      Sets the time for this object and returns the instance of AbaReasonerResponse.
      Parameters:
      time - The time value to be set.
      Returns:
      This AbaReasonerResponse instance.
    • unit_time

      public AbaReasonerResponse unit_time(String unit_time)
      Sets the unit time for this object and returns the instance of AbaReasonerResponse.
      Parameters:
      unit_time - The unit time to be set.
      Returns:
      This AbaReasonerResponse instance.
    • equals

      public boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. This method compares the fields of two AbaReasonerResponse objects for equality.
      Overrides:
      equals in class Object
      Parameters:
      o - The reference object with which to compare.
      Returns:
      True if this object is the same as the o argument; false otherwise.
    • hashCode

      public int hashCode()
      Returns a hash code value for the object.
      Overrides:
      hashCode in class Object
      Returns:
      A hash code value for this object.
    • toString

      public String toString()
      Returns a string representation of the object. This method constructs a string representation of the AbaReasonerResponse object including all its fields.
      Overrides:
      toString in class Object
      Returns:
      A string representation of the object.