1 11 package org.eclipse.update.internal.model; 12 13 import java.util.Date ; 14 15 import org.eclipse.update.core.model.*; 16 17 public class ConfigurationActivityModel extends ModelObject{ 18 19 private String label; 20 private int action; 21 private Date date; 22 private int status; 23 private InstallConfigurationModel installConfiguration; 24 25 26 29 public ConfigurationActivityModel() { 30 super(); 31 } 32 33 36 public int getAction() { 37 return action; 38 } 39 40 43 public Date getDate() { 44 return date; 45 } 46 47 50 public int getStatus() { 51 return status; 52 } 53 54 58 public void setDate(Date date) { 59 assertIsWriteable(); 60 this.date = date; 61 } 62 63 67 public void setStatus(int status) { 68 assertIsWriteable(); 69 this.status = status; 70 } 71 72 75 public String getLabel() { 76 return label; 77 } 78 79 83 public void setLabel(String label) { 84 assertIsWriteable(); 85 this.label = label; 86 } 87 88 92 public void setAction(int action) { 93 assertIsWriteable(); 94 this.action = action; 95 } 96 97 101 public InstallConfigurationModel getInstallConfigurationModel() { 102 return installConfiguration; 103 } 104 105 109 public void setInstallConfigurationModel(InstallConfigurationModel installConfiguration) { 110 assertIsWriteable(); 111 this.installConfiguration = installConfiguration; 112 } 113 114 } 115 116 | Popular Tags |