Class InconsistencyGetMeasuresResponse
java.lang.Object
org.tweetyproject.web.services.Response
org.tweetyproject.web.services.incmes.InconsistencyGetMeasuresResponse
-
Constructor Summary
ConstructorDescriptionConstructs an emptyInconsistencyGetMeasuresResponse
with uninitialized fields.Constructs aInconsistencyGetMeasuresResponse
initialized with measures, a reply message, and an email. -
Method Summary
Modifier and TypeMethodDescriptionMethod to set the email and return the modified response object.boolean
getEmail()
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.int
hashCode()
Method to set the measures and return the modified response object.Method to set the reply and return the modified response object.void
Sets the email address for this response.void
setMeasures
(List<HashMap<String, String>> measures) Sets the list of measures associated with the inconsistency analysis.void
Sets the reply message for this response.toString()
-
Constructor Details
-
InconsistencyGetMeasuresResponse
public InconsistencyGetMeasuresResponse()Constructs an emptyInconsistencyGetMeasuresResponse
with 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 aInconsistencyGetMeasuresResponse
initialized 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
InconsistencyGetMeasuresResponse
instance 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
InconsistencyGetMeasuresResponse
instance 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
InconsistencyGetMeasuresResponse
instance to facilitate further modifications.
-
equals
-
hashCode
-
toString
-