Class DungReasonerResponse
java.lang.Object
org.tweetyproject.web.services.Response
org.tweetyproject.web.services.dung.DungReasonerResponse
The DungReasonerResponse class extends the Response class and represents
a response containing information related to a Dung argumentation reasoner
result.
-
Constructor Summary
ConstructorDescriptionDefault constructor for DungReasonerResponse.DungReasonerResponse
(String reply, String email, int nr_of_arguments, List<List<Integer>> attacks, String semantics, String solver, String answer, double time, String unit_time, String status) Parameterized constructor for DungReasonerResponse. -
Method Summary
Modifier and TypeMethodDescriptionSets the answer provided by the Dung reasoner response.Sets the attacks information in the Dung reasoner response.Sets the email associated with the Dung reasoner response.boolean
Gets the answer provided by the Dung reasoner response.Gets the attacks information in the Dung reasoner response.getEmail()
Gets the email associated with the Dung reasoner response.int
Gets the number of arguments in the Dung reasoner response.getReply()
Gets the reply message in the Dung reasoner response.Gets the semantics specified in the Dung reasoner response.Gets the solver specified in the Dung reasoner response.Gets the status of the Dung reasoner response.double
getTime()
Gets the time taken for the Dung reasoner operation (in seconds).Gets the unit time specified in the Dung reasoner response.int
hashCode()
nr_of_arguments
(int nr_of_arguments) Sets the number of arguments in the Dung reasoner response.Sets the reply message in the Dung reasoner response.Sets the semantics specified in the Dung reasoner response.void
Sets the answer provided by the Dung reasoner response.void
setAttacks
(List<List<Integer>> attacks) Sets the attacks information in the Dung reasoner response.void
Sets the email associated with the Dung reasoner response.void
setNr_of_arguments
(int nr_of_arguments) Sets the number of arguments in the Dung reasoner response.void
Sets the reply message in the Dung reasoner response.void
setSemantics
(String semantics) Sets the semantics specified in the Dung reasoner response.void
Sets the solver specified in the Dung reasoner response.void
Sets the status of the Dung reasoner response.void
setTime
(double time) Sets the time taken for the Dung reasoner operation (in seconds).void
setUnit_time
(String unit_time) Sets the unit time specified in the Dung reasoner response.Sets the solver specified in the Dung reasoner response.Sets the status of the Dung reasoner response.time
(int time) Sets the time taken for the Dung reasoner operation (in seconds).toString()
-
Constructor Details
-
DungReasonerResponse
public DungReasonerResponse()Default constructor for DungReasonerResponse. -
DungReasonerResponse
public DungReasonerResponse(String reply, String email, int nr_of_arguments, List<List<Integer>> attacks, String semantics, String solver, String answer, double time, String unit_time, String status) Parameterized constructor for DungReasonerResponse.- Parameters:
reply
- The reply messageemail
- The email associated with the responsenr_of_arguments
- The number of argumentsattacks
- The attacks informationsemantics
- The semantics specifiedsolver
- The solver specifiedanswer
- The answer providedtime
- The time taken for the operationunit_time
- The unit time specifiedstatus
- The status of the response
-
-
Method Details
-
getReply
Gets the reply message in the Dung reasoner response.- Returns:
- The reply message in the Dung reasoner response.
-
setReply
Sets the reply message in the Dung reasoner response.- Parameters:
reply
- The reply message in the Dung reasoner response.
-
getEmail
Gets the email associated with the Dung reasoner response.- Returns:
- The email associated with the Dung reasoner response.
-
setEmail
Sets the email associated with the Dung reasoner response.- Parameters:
email
- The email associated with the Dung reasoner response.
-
getNr_of_arguments
public int getNr_of_arguments()Gets the number of arguments in the Dung reasoner response.- Returns:
- The number of arguments in the Dung reasoner response.
-
setNr_of_arguments
public void setNr_of_arguments(int nr_of_arguments) Sets the number of arguments in the Dung reasoner response.- Parameters:
nr_of_arguments
- The number of arguments in the Dung reasoner response.
-
getAttacks
-
setAttacks
-
getSemantics
Gets the semantics specified in the Dung reasoner response.- Returns:
- The semantics specified in the Dung reasoner response.
-
setSemantics
Sets the semantics specified in the Dung reasoner response.- Parameters:
semantics
- The semantics specified in the Dung reasoner response.
-
getSolver
Gets the solver specified in the Dung reasoner response.- Returns:
- The solver specified in the Dung reasoner response.
-
setSolver
Sets the solver specified in the Dung reasoner response.- Parameters:
solver
- The solver specified in the Dung reasoner response.
-
getAnswer
Gets the answer provided by the Dung reasoner response.- Returns:
- The answer provided by the Dung reasoner response.
-
setAnswer
Sets the answer provided by the Dung reasoner response.- Parameters:
answer
- The answer provided by the Dung reasoner response.
-
getTime
public double getTime()Gets the time taken for the Dung reasoner operation (in seconds).- Returns:
- The time taken for the Dung reasoner operation (in seconds).
-
setTime
public void setTime(double time) Sets the time taken for the Dung reasoner operation (in seconds).- Parameters:
time
- The time taken for the Dung reasoner operation (in seconds).
-
getUnit_time
Gets the unit time specified in the Dung reasoner response.- Returns:
- The unit time specified in the Dung reasoner response.
-
setUnit_time
Sets the unit time specified in the Dung reasoner response.- Parameters:
unit_time
- The unit time specified in the Dung reasoner response.
-
getStatus
Gets the status of the Dung reasoner response.- Returns:
- The status of the Dung reasoner response.
-
setStatus
Sets the status of the Dung reasoner response.- Parameters:
status
- The status of the Dung reasoner response.
-
reply
Sets the reply message in the Dung reasoner response.- Parameters:
reply
- The reply message in the Dung reasoner response.- Returns:
- The current instance of DungReasonerResponse.
-
email
Sets the email associated with the Dung reasoner response.- Parameters:
email
- The email associated with the Dung reasoner response.- Returns:
- The current instance of DungReasonerResponse.
-
nr_of_arguments
Sets the number of arguments in the Dung reasoner response.- Parameters:
nr_of_arguments
- The number of arguments in the Dung reasoner response.- Returns:
- The current instance of DungReasonerResponse.
-
attacks
Sets the attacks information in the Dung reasoner response.- Parameters:
attacks
- The attacks information in the Dung reasoner response.- Returns:
- The current instance of DungReasonerResponse.
-
semantics
Sets the semantics specified in the Dung reasoner response.- Parameters:
semantics
- The semantics specified in the Dung reasoner response.- Returns:
- The current instance of DungReasonerResponse.
-
solver
Sets the solver specified in the Dung reasoner response.- Parameters:
solver
- The solver specified in the Dung reasoner response.- Returns:
- The current instance of DungReasonerResponse.
-
answer
Sets the answer provided by the Dung reasoner response.- Parameters:
answer
- The answer provided by the Dung reasoner response.- Returns:
- The current instance of DungReasonerResponse.
-
time
Sets the time taken for the Dung reasoner operation (in seconds).- Parameters:
time
- The time taken for the Dung reasoner operation (in seconds).- Returns:
- The current instance of DungReasonerResponse.
-
status
Sets the status of the Dung reasoner response.- Parameters:
status
- The status of the Dung reasoner response.- Returns:
- The current instance of DungReasonerResponse.
-
equals
-
hashCode
-
toString
-