Class Message
- java.lang.Object
-
- com.aquima.web.api.model.page.element.Message
-
public class Message extends Object
This class represents the message viewmodel.- Since:
- 9.2
- Author:
- A.Pragt
-
-
Constructor Summary
Constructors Constructor Description Message(MessageType type, String text)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getText()
This method returns the text.MessageType
getType()
This method returns the message type.int
hashCode()
-
-
-
Constructor Detail
-
Message
public Message(MessageType type, String text)
-
-
Method Detail
-
getType
public MessageType getType()
This method returns the message type.- Returns:
- The message type.
-
getText
public String getText()
This method returns the text.- Returns:
- The text
-
-