Class AbaGetSemanticsResponse

java.lang.Object
org.tweetyproject.web.services.Response
org.tweetyproject.web.services.aba.AbaGetSemanticsResponse

public class AbaGetSemanticsResponse extends Response
The AbaGetSemanticsResponse class extends the Response class and represents a response containing information about the supported semantics for Assumption Based Argumentation (ABA).
  • Constructor Details

    • AbaGetSemanticsResponse

      public AbaGetSemanticsResponse()
      Default constructor for AbaGetSemanticsResponse.
    • AbaGetSemanticsResponse

      public AbaGetSemanticsResponse(List<HashMap<String,String>> semantics, String reply, String email)
      Parameterized constructor for AbaGetSemanticsResponse.
      Parameters:
      semantics - The list of semantics represented as a list of HashMaps
      reply - The reply message
      email - The email associated with the response
  • Method Details

    • getSemantics

      public List<HashMap<String,String>> getSemantics()
      Returns the list of semantics.
      Returns:
      A list of HashMaps, each representing a semantic with key-value pairs.
    • setSemantics

      public void setSemantics(List<HashMap<String,String>> semantics)
      Sets the list of semantics for this response.
      Parameters:
      semantics - A list of HashMaps representing semantics.
    • getReply

      public String getReply()
      Retrieves the reply message associated with this response.
      Returns:
      The reply message as a String.
    • setReply

      public void setReply(String reply)
      Sets the reply message for this response.
      Parameters:
      reply - The reply message to be set.
    • getEmail

      public String getEmail()
      Retrieves the email address associated with this response.
      Returns:
      The email address as a String.
    • setEmail

      public void setEmail(String email)
      Sets the email address for this response.
      Parameters:
      email - The email address to be associated with this response.
    • measures

      public AbaGetSemanticsResponse measures(List<HashMap<String,String>> measures)
      Method to set the semantics of this response and return the modified object.
      Parameters:
      measures - A list of HashMaps representing new semantics.
      Returns:
      This AbaGetSemanticsResponse instance for method chaining.
    • reply

      public AbaGetSemanticsResponse reply(String reply)
      Method to set the reply message for this response and return the modified object.
      Parameters:
      reply - The new reply message.
      Returns:
      This AbaGetSemanticsResponse instance for method chaining.
    • email

      public AbaGetSemanticsResponse email(String email)
      Method to set the email for this response and return the modified object.
      Parameters:
      email - The new email address.
      Returns:
      This AbaGetSemanticsResponse instance for method chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object