📄 instresourcedocdto.java
字号:
package com.coshare.joyteam.projectMgr.dto;
import java.io.Serializable;
import com.coshare.joyteam.util.ID;
public class InstResourceDocDTO implements Serializable, DocResource {
/**
* Serialization version.
*/
private static final long serialVersionUID = 3257849896009937202L;
private ID instResDocId;
private ID instanceId;
private ID taskId;
private String resId;
private int resType;
private int inputorOutput;
private String theDescription;
private int statusKey;
static public ID intToID(int intid) {
ID id = new ID();
id.setId(intid);
id.setType(ID.TYPE_WfInstResDoc);
return id;
}
public InstResourceDocDTO(ID instanceId, ID taskId, String resId, int resType) {
this.instanceId = instanceId;
this.taskId = taskId;
this.resId = resId;
this.resType = resType;
}
public InstResourceDocDTO() {}
/**
* @return Returns the inputorOutput.
*/
public int getInputorOutput() {
return inputorOutput;
}
/**
* @param inputorOutput The inputorOutput to set.
*/
public void setInputorOutput(int inputorOutput) {
this.inputorOutput = inputorOutput;
}
/**
* @return Returns the instanceId.
*/
public ID getInstanceId() {
return instanceId;
}
/**
* @param instanceId The instanceId to set.
*/
public void setInstanceId(ID instanceId) {
this.instanceId = instanceId;
}
/**
* @return Returns the resId.
*/
public String getResId() {
return resId;
}
/**
* @param resId The resId to set.
*/
public void setResId(String resId) {
this.resId = resId;
}
/**
* @return Returns the resType.
*/
public int getResType() {
return resType;
}
/**
* @param resType The resType to set.
*/
public void setResType(int resType) {
this.resType = resType;
}
/**
* @return Returns the statusKey.
*/
public int getStatusKey() {
return statusKey;
}
/**
* @param statusKey The statusKey to set.
*/
public void setStatusKey(int statusKey) {
this.statusKey = statusKey;
}
/**
* @return Returns the taskId.
*/
public ID getTaskId() {
return taskId;
}
/**
* @param taskId The taskId to set.
*/
public void setTaskId(ID taskId) {
this.taskId = taskId;
}
/**
* @return Returns the theDescription.
*/
public String getTheDescription() {
return theDescription;
}
/**
* @param theDescription The theDescription to set.
*/
public void setTheDescription(String theDescription) {
this.theDescription = theDescription;
}
/**
* @return Returns the instResDocId.
*/
public ID getInstResDocId() {
return this.instResDocId;
}
/**
* @param instResDocId The instResDocId to set.
*/
public void setInstResDocId(ID instResDocId) {
this.instResDocId = instResDocId;
}
public void setInstResDocId(int instResDocId) {
this.setInstResDocId(intToID(instResDocId));
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -