org.bidib.wizard.mvc.stepcontrol.model.AspectExecutionModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bidibwizard-client Show documentation
Show all versions of bidibwizard-client Show documentation
jBiDiB BiDiB Wizard Client Application POM
package org.bidib.wizard.mvc.stepcontrol.model;
import org.bidib.jbidibc.messages.AccessoryState;
import org.bidib.jbidibc.messages.enums.AccessoryExecutionState;
import com.jgoodies.binding.beans.Model;
public class AspectExecutionModel extends Model {
private static final long serialVersionUID = 1L;
public static final String PROPERTY_ACCESSORY_ID = "accessoryId";
public static final String PROPERTY_ASPECT_ID = "aspectId";
public static final String PROPERTY_EXECUTION_STATE = "executionState";
public static final String PROPERTY_ACCESSORY_STATE = "accessoryState";
private Integer accessoryId;
private Integer aspectId;
private AccessoryExecutionState executionState;
private AccessoryState accessoryState;
/**
* @return the accessoryId
*/
public Integer getAccessoryId() {
return accessoryId;
}
/**
* @param accessoryId
* the accessoryId to set
*/
public void setAccessoryId(Integer accessoryId) {
Integer oldValue = this.accessoryId;
this.accessoryId = accessoryId;
firePropertyChange(PROPERTY_ACCESSORY_ID, oldValue, accessoryId);
}
/**
* @return the aspectId
*/
public Integer getAspectId() {
return aspectId;
}
/**
* @param aspectId
* the aspectId to set
*/
public void setAspectId(Integer aspectId) {
Integer oldValue = this.aspectId;
this.aspectId = aspectId;
firePropertyChange(PROPERTY_ASPECT_ID, oldValue, aspectId);
}
/**
* @return the executionState
*/
public AccessoryExecutionState getExecutionState() {
return executionState;
}
/**
* @param executionState
* the executionState to set
*/
public void setExecutionState(AccessoryExecutionState executionState) {
AccessoryExecutionState oldValue = this.executionState;
this.executionState = executionState;
firePropertyChange(PROPERTY_EXECUTION_STATE, oldValue, executionState);
}
/**
* @return the accessoryState
*/
public AccessoryState getAccessoryState() {
return accessoryState;
}
/**
* @param accessoryState
* the accessoryState to set
*/
public void setAccessoryState(AccessoryState accessoryState) {
AccessoryState oldValue = this.accessoryState;
this.accessoryState = accessoryState;
firePropertyChange(PROPERTY_ACCESSORY_STATE, oldValue, accessoryState);
}
}