1 18 19 package sync4j.exchange.items.calendar.model; 20 21 22 import java.util.logging.Logger ; 23 import java.util.logging.Level ; 24 25 import java.util.Date ; 26 27 import sync4j.framework.logging.Sync4jLogger; 28 29 34 35 public class Calendar 36 extends sync4j.foundation.pdi.event.Event { 37 38 40 41 43 private String id = null ; 44 45 private String href = null ; 46 47 private Date lastUpdate = null ; 48 private char modificationStatus = ' ' ; 49 50 Logger log = Sync4jLogger.getLogger("source"); 51 52 53 55 59 public Calendar () { 60 61 } 62 63 70 public Calendar (String id) { 71 72 this.id = id ; 73 74 } 75 76 84 public Calendar (String id, Date t) { 85 86 this.id = id ; 87 this.lastUpdate = t ; 88 89 } 90 91 99 public Calendar (String id, char status) { 100 101 this.id = id ; 102 this.modificationStatus = modificationStatus ; 103 104 } 105 106 116 public Calendar (String id , 117 String href , 118 char status , 119 Date lastUpdate) { 120 121 this.id = id ; 122 this.href = href ; 123 this.modificationStatus = status ; 124 this.lastUpdate = lastUpdate ; 125 126 } 127 128 129 131 public String getId () { 132 return id; 133 } 134 135 public Date getLastUpdate () { 136 return lastUpdate; 137 } 138 139 140 public char getModificationStatus () { 141 return modificationStatus; 142 } 143 144 public String getHref () { 145 return href; 146 } 147 148 public void setId(String id) { 149 this.id = id; 150 } 151 152 public void setLastUpdate(Date lastUpdate) { 153 this.lastUpdate = lastUpdate; 154 } 155 156 public void setModificationStatus(char status) { 157 this.modificationStatus = status; 158 } 159 160 public void setHref(String href) { 161 this.href = href; 162 } 163 164 } 165 | Popular Tags |