Class AbaReasonerResponse
java.lang.Object
org.tweetyproject.web.services.Response
org.tweetyproject.web.services.aba.AbaReasonerResponse
The AbaReasonerResponse class extends the Response class and represents the
response
data structure for an Argumentation-Based Argumentation (ABA) reasoner.
-
Constructor Summary
ConstructorDescriptionDefault constructor for AbaReasonerResponse.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. -
Method Summary
Modifier and TypeMethodDescriptionSets the answer for this object and returns the instance of AbaReasonerResponse.Sets the email for this object and returns the instance of AbaReasonerResponse.boolean
Indicates whether some other object is "equal to" this one.Gets the answer associated with this object.getEmail()
Gets the email associated with this object.Gets the fol_signature associated with this object.getKb()
Gets the kb associated with this object.Gets the kb_format associated with this object.Gets the query_assumption associated with this object.getReply()
Gets the reply associated with this object.Gets the semantics associated with this object.Gets the status associated with this object.double
getTime()
Gets the time value associated with this object.int
Gets the timeout value associated with this object.Gets the unit time associated with this object.int
hashCode()
Returns a hash code value for the object.Sets the reply for this object and returns the instance of AbaReasonerResponse.void
Sets the answer for this object.void
Sets the email for this object.void
setFol_signature
(String fol_signature) Sets the fol_signature for this object.void
Sets the knowledge base for this object.void
setKb_format
(String kb_format) Sets the kb_format for this object.void
setQuery_assumption
(String query_assumption) Sets the query_assumption for this object.void
Sets the reply for this object.void
setSemantics
(String semantics) Sets the semantics for this object.void
Sets the status for this object.void
setTime
(double time) Sets the time value for this object.void
setTimeout
(int timeout) Sets the timeout value for this object.void
setUnit_time
(String unit_time) Sets the unit time for this object.time
(double time) Sets the time for this object and returns the instance of AbaReasonerResponse.toString()
Returns a string representation of the object.Sets the unit time for this object and returns the instance of AbaReasonerResponse.
-
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 reasoneremail
- The email associated with the responsekb
- The knowledge base (KB) used in the ABA reasonerkb_format
- The format of the knowledge base (KB)fol_signature
- The first-order logic (FOL) signaturequery_assumption
- The query assumption used in the ABA reasonersemantics
- The semantics used in the ABA reasonertimeout
- The timeout in seconds for the ABA reasoner operationanswer
- The answer/result of the ABA reasoner operationtime
- The execution time of the ABA reasoner operationunit_time
- The unit time for the ABA reasoner operationstatus
- The status of the ABA reasoner response
-
-
Method Details
-
getFol_signature
Gets the fol_signature associated with this object.- Returns:
- The fol_signature.
-
setFol_signature
Sets the fol_signature for this object.- Parameters:
fol_signature
- The fol_signature to be set.
-
getStatus
-
setStatus
Sets the status for this object.- Parameters:
status
- The status to be set.
-
getReply
-
setReply
Sets the reply for this object.- Parameters:
reply
- The reply to be set.
-
getEmail
-
setEmail
Sets the email for this object.- Parameters:
email
- The email to be set.
-
getKb
-
setKb
Sets the knowledge base for this object.- Parameters:
kb
- The kb to be set.
-
getKb_format
Gets the kb_format associated with this object.- Returns:
- The kb_format.
-
setKb_format
Sets the kb_format for this object.- Parameters:
kb_format
- The kb_format to be set.
-
getQuery_assumption
Gets the query_assumption associated with this object.- Returns:
- The query_assumption.
-
setQuery_assumption
Sets the query_assumption for this object.- Parameters:
query_assumption
- The query_assumption to be set.
-
getSemantics
Gets the semantics associated with this object.- Returns:
- The semantics.
-
setSemantics
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
-
setAnswer
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
Gets the unit time associated with this object.- Returns:
- The unit time.
-
setUnit_time
Sets the unit time for this object.- Parameters:
unit_time
- The unit time to be set.
-
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
Sets the email for this object and returns the instance of AbaReasonerResponse.- Parameters:
email
- The email to be set.- Returns:
- This AbaReasonerResponse instance.
-
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
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
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
Indicates whether some other object is "equal to" this one. This method compares the fields of two AbaReasonerResponse objects for equality. -
hashCode
-
toString
-