Class AbaReasonerPost
java.lang.Object
org.tweetyproject.web.services.aba.AbaReasonerPost
The AbaReasonerPost class represents a data structure for sending post requests
to an Argumentation-Based Argumentation (ABA) reasoner.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the command for the ABA reasoner post request.Sets the email associated with the request.boolean
getCmd()
Gets the command for the ABA reasoner post request.getEmail()
Gets the email associated with the request.Gets the first-order logic (FOL) signature.getKb()
Gets the knowledge base (KB) for the ABA reasoner post request.Gets the format of the knowledge base (KB).Gets the query assumption for the ABA reasoner post request.Gets the semantics to be used in the ABA reasoner post request.int
Gets the timeout in seconds for the ABA reasoner post request.Gets the unit timeout for the ABA reasoner post request.int
hashCode()
Sets the knowledge base (KB) for the ABA reasoner post request.Sets the format of the knowledge base (KB).query_assumption
(String query_assumption) Sets the query assumption for the ABA reasoner post request.Sets the semantics to be used in the ABA reasoner post request.void
Sets the command for the ABA reasoner post request.void
Sets the email associated with the request.void
setFol_signature
(String fol_signature) Sets the first-order logic (FOL) signature.void
Sets the knowledge base (KB) for the ABA reasoner post request.void
setKb_format
(String kb_format) Sets the format of the knowledge base (KB).void
setQuery_assumption
(String query_assumption) Sets the query assumption for the ABA reasoner post request.void
setSemantics
(String semantics) Sets the semantics to be used in the ABA reasoner post request.void
setTimeout
(int timeout) Sets the timeout in seconds for the ABA reasoner post request.void
setUnit_timeout
(String unit_timeout) Sets the unit timeout for the ABA reasoner post request.timeout
(int timeout) Sets the timeout in seconds for the ABA reasoner post request.toString()
unit_timeout
(String unit_timeout) Sets the unit timeout for the ABA reasoner post request.
-
Constructor Details
-
AbaReasonerPost
public AbaReasonerPost()Default constructor for AbaReasonerPost. -
AbaReasonerPost
public AbaReasonerPost(String cmd, String email, String kb, String kb_format, String fol_signature, String query_assumption, String semantics, int timeout, String unit_timeout) Parameterized constructor for AbaReasonerPost.- Parameters:
cmd
- The command for the ABA reasoner post requestemail
- The email associated with the requestkb
- The knowledge base (KB) for the ABA reasoner post requestkb_format
- The format of the knowledge base (KB)fol_signature
- The first-order logic (FOL) signaturequery_assumption
- The query assumption for the ABA reasoner post requestsemantics
- The semantics to be used in the ABA reasoner post requesttimeout
- The timeout in seconds for the ABA reasoner post requestunit_timeout
- The unit timeout for the ABA reasoner post request
-
-
Method Details
-
getCmd
Gets the command for the ABA reasoner post request.- Returns:
- The command for the ABA reasoner post request.
-
setCmd
Sets the command for the ABA reasoner post request.- Parameters:
cmd
- The command for the ABA reasoner post request.
-
getEmail
Gets the email associated with the request.- Returns:
- The email associated with the request.
-
setEmail
Sets the email associated with the request.- Parameters:
email
- The email associated with the request.
-
getKb
Gets the knowledge base (KB) for the ABA reasoner post request.- Returns:
- The knowledge base (KB) for the ABA reasoner post request.
-
setKb
Sets the knowledge base (KB) for the ABA reasoner post request.- Parameters:
kb
- The knowledge base (KB) for the ABA reasoner post request.
-
getKb_format
Gets the format of the knowledge base (KB).- Returns:
- The format of the knowledge base (KB).
-
setKb_format
Sets the format of the knowledge base (KB).- Parameters:
kb_format
- The format of the knowledge base (KB).
-
getFol_signature
Gets the first-order logic (FOL) signature.- Returns:
- The first-order logic (FOL) signature.
-
setFol_signature
Sets the first-order logic (FOL) signature.- Parameters:
fol_signature
- The first-order logic (FOL) signature.
-
getQuery_assumption
Gets the query assumption for the ABA reasoner post request.- Returns:
- The query assumption for the ABA reasoner post request.
-
setQuery_assumption
Sets the query assumption for the ABA reasoner post request.- Parameters:
query_assumption
- The query assumption for the ABA reasoner post request.
-
getSemantics
Gets the semantics to be used in the ABA reasoner post request.- Returns:
- The semantics to be used in the ABA reasoner post request.
-
setSemantics
Sets the semantics to be used in the ABA reasoner post request.- Parameters:
semantics
- The semantics to be used in the ABA reasoner post request.
-
getTimeout
public int getTimeout()Gets the timeout in seconds for the ABA reasoner post request.- Returns:
- The timeout in seconds for the ABA reasoner post request.
-
setTimeout
public void setTimeout(int timeout) Sets the timeout in seconds for the ABA reasoner post request.- Parameters:
timeout
- The timeout in seconds for the ABA reasoner post request.
-
getUnit_timeout
Gets the unit timeout for the ABA reasoner post request.- Returns:
- The unit timeout for the ABA reasoner post request.
-
setUnit_timeout
Sets the unit timeout for the ABA reasoner post request.- Parameters:
unit_timeout
- The unit timeout for the ABA reasoner post request.
-
cmd
Sets the command for the ABA reasoner post request.- Parameters:
cmd
- The command for the ABA reasoner post request.- Returns:
- The current instance of AbaReasonerPost.
-
email
Sets the email associated with the request.- Parameters:
email
- The email associated with the request.- Returns:
- The current instance of AbaReasonerPost.
-
kb
Sets the knowledge base (KB) for the ABA reasoner post request.- Parameters:
kb
- The knowledge base (KB) for the ABA reasoner post request.- Returns:
- The current instance of AbaReasonerPost.
-
kb_format
Sets the format of the knowledge base (KB).- Parameters:
kb_format
- The format of the knowledge base (KB).- Returns:
- The current instance of AbaReasonerPost.
-
query_assumption
Sets the query assumption for the ABA reasoner post request.- Parameters:
query_assumption
- The query assumption for the ABA reasoner post request.- Returns:
- The current instance of AbaReasonerPost.
-
semantics
Sets the semantics to be used in the ABA reasoner post request.- Parameters:
semantics
- The semantics to be used in the ABA reasoner post request.- Returns:
- The current instance of AbaReasonerPost.
-
timeout
Sets the timeout in seconds for the ABA reasoner post request.- Parameters:
timeout
- The timeout in seconds for the ABA reasoner post request.- Returns:
- The current instance of AbaReasonerPost.
-
unit_timeout
Sets the unit timeout for the ABA reasoner post request.- Parameters:
unit_timeout
- The unit timeout for the ABA reasoner post request.- Returns:
- The current instance of AbaReasonerPost.
-
equals
-
hashCode
-
toString
-