1: /** 2: A message left by the caller. 3: */ 4: public class Message 5: { 6: /** 7: Construct a Message object. 8: @param messageText the message text 9: */ 10: public Message(String messageText) 11: { 12: text = messageText; 13: } 15: /** 16: Get the message text. 17: @return message text 18: */ 19: public String getText() 20: { 21: return text; 22: } 24: private String text; 25: }