Class AdfReasonerResponse
java.lang.Object
org.tweetyproject.web.services.Response
org.tweetyproject.web.services.adf.AdfReasonerResponse
The AdfReasonerResponse class extends the Response class and represents
a response containing information related to an ADF argumentation reasoner
result.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for ADFReasonerResponse.AdfReasonerResponse(String reply, String email, int nr_of_arguments, List<String> conditions, String semantics, String solver, String answer, double time, String unit_time, String status) Parameterized constructor for ADFReasonerResponse. -
Method Summary
Modifier and TypeMethodDescriptionSets the answer provided by the ADF reasoner response.conditions(List<String> conditions) Sets the conditions information in the ADF reasoner response.Sets the email associated with the ADF reasoner response.booleanGets the answer provided by the ADF reasoner response.Gets the conditions information in the ADF reasoner response.getEmail()Gets the email associated with the ADF reasoner response.intGets the number of arguments in the ADF reasoner response.getReply()Gets the reply message in the ADF reasoner response.Gets the semantics specified in the ADF reasoner response.Gets the solver specified in the ADF reasoner response.Gets the status of the ADF reasoner response.doublegetTime()Gets the time taken for the ADF reasoner operation (in seconds).Gets the unit time specified in the ADF reasoner response.inthashCode()nr_of_arguments(int nr_of_arguments) Sets the number of arguments in the ADF reasoner response.Sets the reply message in the ADF reasoner response.Sets the semantics specified in the ADF reasoner response.voidSets the answer provided by the ADF reasoner response.voidsetConditions(List<String> conditions) Sets the conditions information in the ADF reasoner response.voidSets the email associated with the ADF reasoner response.voidsetNr_of_arguments(int nr_of_arguments) Sets the number of arguments in the ADF reasoner response.voidSets the reply message in the ADF reasoner response.voidsetSemantics(String semantics) Sets the semantics specified in the ADF reasoner response.voidSets the solver specified in the ADF reasoner response.voidSets the status of the ADF reasoner response.voidsetTime(double time) Sets the time taken for the ADF reasoner operation (in seconds).voidsetUnit_time(String unit_time) Sets the unit time specified in the ADF reasoner response.Sets the solver specified in the ADF reasoner response.Sets the status of the ADF reasoner response.time(int time) Sets the time taken for the ADF reasoner operation (in seconds).toString()
-
Constructor Details
-
AdfReasonerResponse
public AdfReasonerResponse()Default constructor for ADFReasonerResponse. -
AdfReasonerResponse
public AdfReasonerResponse(String reply, String email, int nr_of_arguments, List<String> conditions, String semantics, String solver, String answer, double time, String unit_time, String status) Parameterized constructor for ADFReasonerResponse.- Parameters:
reply- The reply messageemail- The email associated with the responsenr_of_arguments- The number of argumentsconditions- The conditions 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 ADF reasoner response.- Returns:
- The reply message in the ADF reasoner response.
-
setReply
Sets the reply message in the ADF reasoner response.- Parameters:
reply- The reply message in the ADF reasoner response.
-
getEmail
Gets the email associated with the ADF reasoner response.- Returns:
- The email associated with the ADF reasoner response.
-
setEmail
Sets the email associated with the ADF reasoner response.- Parameters:
email- The email associated with the ADF reasoner response.
-
getNr_of_arguments
public int getNr_of_arguments()Gets the number of arguments in the ADF reasoner response.- Returns:
- The number of arguments in the ADF reasoner response.
-
setNr_of_arguments
public void setNr_of_arguments(int nr_of_arguments) Sets the number of arguments in the ADF reasoner response.- Parameters:
nr_of_arguments- The number of arguments in the ADF reasoner response.
-
getConditions
Gets the conditions information in the ADF reasoner response.- Returns:
- The conditions information in the ADF reasoner response.
-
setConditions
Sets the conditions information in the ADF reasoner response.- Parameters:
conditions- The conditions information in the ADF reasoner response.
-
getSemantics
Gets the semantics specified in the ADF reasoner response.- Returns:
- The semantics specified in the ADF reasoner response.
-
setSemantics
Sets the semantics specified in the ADF reasoner response.- Parameters:
semantics- The semantics specified in the ADF reasoner response.
-
getSolver
Gets the solver specified in the ADF reasoner response.- Returns:
- The solver specified in the ADF reasoner response.
-
setSolver
Sets the solver specified in the ADF reasoner response.- Parameters:
solver- The solver specified in the ADF reasoner response.
-
getAnswer
Gets the answer provided by the ADF reasoner response.- Returns:
- The answer provided by the ADF reasoner response.
-
setAnswer
Sets the answer provided by the ADF reasoner response.- Parameters:
answer- The answer provided by the ADF reasoner response.
-
getTime
public double getTime()Gets the time taken for the ADF reasoner operation (in seconds).- Returns:
- The time taken for the ADF reasoner operation (in seconds).
-
setTime
public void setTime(double time) Sets the time taken for the ADF reasoner operation (in seconds).- Parameters:
time- The time taken for the ADF reasoner operation (in seconds).
-
getUnit_time
Gets the unit time specified in the ADF reasoner response.- Returns:
- The unit time specified in the ADF reasoner response.
-
setUnit_time
Sets the unit time specified in the ADF reasoner response.- Parameters:
unit_time- The unit time specified in the ADF reasoner response.
-
getStatus
Gets the status of the ADF reasoner response.- Returns:
- The status of the ADF reasoner response.
-
setStatus
Sets the status of the ADF reasoner response.- Parameters:
status- The status of the ADF reasoner response.
-
reply
Sets the reply message in the ADF reasoner response.- Parameters:
reply- The reply message in the ADF reasoner response.- Returns:
- The current instance of ADFReasonerResponse.
-
email
Sets the email associated with the ADF reasoner response.- Parameters:
email- The email associated with the ADF reasoner response.- Returns:
- The current instance of ADFReasonerResponse.
-
nr_of_arguments
Sets the number of arguments in the ADF reasoner response.- Parameters:
nr_of_arguments- The number of arguments in the ADF reasoner response.- Returns:
- The current instance of ADFReasonerResponse.
-
conditions
Sets the conditions information in the ADF reasoner response.- Parameters:
conditions- The conditions information in the ADF reasoner response.- Returns:
- The current instance of ADFReasonerResponse.
-
semantics
Sets the semantics specified in the ADF reasoner response.- Parameters:
semantics- The semantics specified in the ADF reasoner response.- Returns:
- The current instance of ADFReasonerResponse.
-
solver
Sets the solver specified in the ADF reasoner response.- Parameters:
solver- The solver specified in the ADF reasoner response.- Returns:
- The current instance of ADFReasonerResponse.
-
answer
Sets the answer provided by the ADF reasoner response.- Parameters:
answer- The answer provided by the ADF reasoner response.- Returns:
- The current instance of ADFReasonerResponse.
-
time
Sets the time taken for the ADF reasoner operation (in seconds).- Parameters:
time- The time taken for the ADF reasoner operation (in seconds).- Returns:
- The current instance of ADFReasonerResponse.
-
status
Sets the status of the ADF reasoner response.- Parameters:
status- The status of the ADF reasoner response.- Returns:
- The current instance of ADFReasonerResponse.
-
equals
-
hashCode
public int hashCode() -
toString
-