Class InconsistencyGetMeasuresResponse
java.lang.Object
org.tweetyproject.web.services.Response
org.tweetyproject.web.services.incmes.InconsistencyGetMeasuresResponse
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an emptyInconsistencyGetMeasuresResponsewith uninitialized fields.Constructs aInconsistencyGetMeasuresResponseinitialized with measures, a reply message, and an email. -
Method Summary
Modifier and TypeMethodDescriptionMethod to set the email and return the modified response object.booleangetEmail()Retrieves the email address associated with this response.Retrieves the list of measures related to the inconsistency analysis.getReply()Retrieves the reply message associated with this response.inthashCode()Method to set the measures and return the modified response object.Method to set the reply and return the modified response object.voidSets the email address for this response.voidsetMeasures(List<HashMap<String, String>> measures) Sets the list of measures associated with the inconsistency analysis.voidSets the reply message for this response.toString()
-
Constructor Details
-
InconsistencyGetMeasuresResponse
public InconsistencyGetMeasuresResponse()Constructs an emptyInconsistencyGetMeasuresResponsewith uninitialized fields. This default constructor is useful when the object needs to be populated manually. -
InconsistencyGetMeasuresResponse
public InconsistencyGetMeasuresResponse(List<HashMap<String, String>> measures, String reply, String email) Constructs aInconsistencyGetMeasuresResponseinitialized with measures, a reply message, and an email.- Parameters:
measures- A list of hashmaps, each representing a measure and its related data.reply- A string containing a response or feedback related to the request.email- The email address associated with the request for tracking or response purposes.
-
-
Method Details
-
getMeasures
-
setMeasures
-
getReply
Retrieves the reply message associated with this response.- Returns:
- A string containing the reply message.
-
setReply
Sets the reply message for this response.- Parameters:
reply- A string that will be used as the reply or feedback.
-
getEmail
Retrieves the email address associated with this response.- Returns:
- A string containing the email address.
-
setEmail
Sets the email address for this response.- Parameters:
email- A string containing the email address to be associated with this response.
-
measures
Method to set the measures and return the modified response object.- Parameters:
measures- A list of hashmaps with measure-related data to set.- Returns:
- This
InconsistencyGetMeasuresResponseinstance to facilitate further modifications.
-
reply
Method to set the reply and return the modified response object.- Parameters:
reply- A string to set as the reply or feedback.- Returns:
- This
InconsistencyGetMeasuresResponseinstance to facilitate further modifications.
-
email
Method to set the email and return the modified response object.- Parameters:
email- A string to set as the email address.- Returns:
- This
InconsistencyGetMeasuresResponseinstance to facilitate further modifications.
-
equals
-
hashCode
-
toString
-