1 16 package org.apache.pluto.portlet.admin.bean; 17 18 25 public class PortletMessage { 26 private String message = null; 27 private PortletMessageType type = null; 28 29 32 public PortletMessage(String message, String type) { 33 super(); 34 this.message = message; 35 this.type = PortletMessageType.getTypeByName(type); 36 } 37 38 41 public PortletMessage(String message, PortletMessageType type) { 42 super(); 43 this.message = message; 44 this.type = type; 45 } 46 47 50 public String getMessage() { 51 return message; 52 } 53 56 public void setMessage(String message) { 57 this.message = message; 58 } 59 62 public PortletMessageType getType() { 63 return type; 64 } 65 68 public void setType(PortletMessageType type) { 69 this.type = type; 70 } 71 } 72 | Popular Tags |