1 24 30 31 package org.datashare.objects; 32 33 import java.io.Serializable ; 34 import javax.swing.tree.DefaultMutableTreeNode ; 35 36 43 public class UpdateAvailableMsg implements Serializable 44 { 45 49 static final long serialVersionUID = 8429669002181117438L; 50 51 55 String activityMsg; 56 57 61 DefaultObjectInfo doi = null; 62 63 67 boolean newTreeNode; 68 69 73 public UpdateAvailableMsg() 74 { 75 } 76 77 82 public UpdateAvailableMsg(String activityMsg) 83 { 84 this.activityMsg = activityMsg; 85 } 86 87 95 public UpdateAvailableMsg(String activityMsg, 96 DefaultObjectInfo doi, 97 boolean newTreeNode) 98 { 99 this(activityMsg); 100 this.doi = doi; 101 this.newTreeNode = newTreeNode; 102 } 103 104 109 public String 110 getMsg() 111 { 112 return activityMsg; 113 } 114 115 120 public DefaultObjectInfo 121 getObject() 122 { 123 return doi; 124 } 125 126 133 public boolean 134 getIsNewTreeNode() 135 { 136 return newTreeNode; 137 } 138 139 } 140 | Popular Tags |