package wenrgise.workflow.core.impl;

import wenrgise.workflow.core.WflResource;
import wenrgise.workflow.core.WflStatus;

public class WflStatusImpl implements WflStatus {
  private String status = null;
  
  private WflResource wflResource = null;
  
  private String errCode;
  
  private String errMsg;
  
  public String getStatus() {
    return this.status;
  }
  
  public void setStatus(String status) {
    this.status = status;
  }
  
  public WflResource assignedTo() {
    return this.wflResource;
  }
  
  public void assign(WflResource resource) {
    this.wflResource = resource;
  }
  
  public String getErrCode() {
    return this.errCode;
  }
  
  public void setErrCode(String newErrCode) {
    this.errCode = newErrCode;
  }
  
  public String getErrMsg() {
    return this.errMsg;
  }
  
  public void setErrMsg(String newErrMsg) {
    this.errMsg = newErrMsg;
  }
}
