01: /** 02: A message left by the caller. 03: */ 04: public class Message 05: { 06: /** 07: Construct a Message object. 08: @param messageText the message text 09: */ 10: public Message(String messageText) 11: { 12: text = messageText; 13: } 14: 15: /** 16: Get the message text. 17: @return message text 18: */ 19: public String getText() 20: { 21: return text; 22: } 23: 24: private String text; 25: }