public class ListStringDto extends Object
Constructor and Description |
---|
ListStringDto()
ListStringDto constructor with no parameters.
|
ListStringDto(List<String> messages)
ListStringDto constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Two ListStringDto are equals iff the message is equal.
|
List<String> |
getMessages()
Get messages.
|
int |
hashCode()
Two ListStringDto are equals iff the message is equal.
|
void |
setMessages(List<String> messages)
Set messages.
|
String |
toString()
To String method.
|
public ListStringDto()
public void setMessages(List<String> messages)
messages
- the messages to setpublic int hashCode()
public boolean equals(Object obj)
Copyright © 2023. All rights reserved.