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