blob: 7ef374df25717f7eed5f8546f05da141909292cf [file] [log] [blame]
package org.eclipse.update.internal.model;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
import java.util.Date;
import org.eclipse.update.core.model.ModelObject;
public class ConfigurationActivityModel extends ModelObject{
private String label;
private int action;
private Date date;
private int status;
private InstallConfigurationModel installConfiguration;
/**
* Constructor for ConfigurationActivityModel.
*/
public ConfigurationActivityModel() {
super();
}
/**
* @since 2.0
*/
public int getAction() {
return action;
}
/**
* @since 2.0
*/
public Date getDate() {
return date;
}
/**
* @since 2.0
*/
public int getStatus() {
return status;
}
/**
* Sets the date.
* @param date The date to set
*/
public void setDate(Date date) {
assertIsWriteable();
this.date = date;
}
/**
* Sets the status.
* @param status The status to set
*/
public void setStatus(int status) {
assertIsWriteable();
this.status = status;
}
/**
* @since 2.0
*/
public String getLabel() {
return label;
}
/**
* Sets the label.
* @param label The label to set
*/
public void setLabel(String label) {
assertIsWriteable();
this.label = label;
}
/**
* Sets the action.
* @param action The action to set
*/
public void setAction(int action) {
assertIsWriteable();
this.action = action;
}
/**
* Gets the installConfiguration.
* @return Returns a InstallConfigurationModel
*/
public InstallConfigurationModel getInstallConfigurationModel() {
return installConfiguration;
}
/**
* Sets the installConfiguration.
* @param installConfiguration The installConfiguration to set
*/
public void setInstallConfigurationModel(InstallConfigurationModel installConfiguration) {
assertIsWriteable();
this.installConfiguration = installConfiguration;
}
}