📄 instancedto.java
字号:
package com.coshare.joyteam.projectMgr.dto;
import java.io.Serializable;
import java.util.Date;
import com.coshare.joyteam.util.ID;
public class InstanceDTO implements Serializable {
/**
* Serialization version.
*/
private static final long serialVersionUID = 3760558685415355442L;
private ID instanceId;
private String instanceName;
private ID templateID;
private Date startTime;
private Date endTime;
private int expireTime;
private int statusKey;
private int managerId;
private int managerType;
private String requesterId;
private int requesterType;
private String theDescription;
static public ID intToID(int intid) {
ID id = new ID();
id.setId(intid);
id.setType(ID.TYPE_WfInstance);
return id;
}
public InstanceDTO(String instanceName) {
this.instanceName = instanceName;
}
public InstanceDTO() {}
/**
* @return Returns the endTime.
*/
public Date getEndTime() {
return endTime;
}
/**
* @param endTime The endTime to set.
*/
public void setEndTime(Date endTime) {
this.endTime = endTime;
}
/**
* @return Returns the expireTime.
*/
public int getExpireTime() {
return expireTime;
}
/**
* @param expireTime The expireTime to set.
*/
public void setExpireTime(int expireTime) {
this.expireTime = expireTime;
}
/**
* @return Returns the instanceId.
*/
public ID getInstanceId() {
return instanceId;
}
/**
* @param instanceId The instanceId to set.
*/
public void setInstanceId(ID instanceId) {
this.instanceId = instanceId;
}
public void setInstanceId(int instanceId) {
this.setInstanceId(intToID(instanceId));
}
/**
* @return Returns the instanceName.
*/
public String getInstanceName() {
return instanceName;
}
/**
* @param instanceName The instanceName to set.
*/
public void setInstanceName(String instanceName) {
this.instanceName = instanceName;
}
/**
* @return Returns the managerType.
*/
public int getManagerType() {
return managerType;
}
/**
* @param managerType The managerType to set.
*/
public void setManagerType(int managerType) {
this.managerType = managerType;
}
/**
* @return Returns the managerId.
*/
public int getManagerId() {
return managerId;
}
/**
* @param managerId The managerId to set.
*/
public void setManagerId(int managerId) {
this.managerId = managerId;
}
/**
* @return Returns the requesterId.
*/
public String getRequesterId() {
return requesterId;
}
/**
* @param requesterId The requesterId to set.
*/
public void setRequesterId(String requesterId) {
this.requesterId = requesterId;
}
/**
* @return Returns the requesterType.
*/
public int getRequesterType() {
return requesterType;
}
/**
* @param requesterType The requesterType to set.
*/
public void setRequesterType(int requesterType) {
this.requesterType = requesterType;
}
/**
* @return Returns the startTime.
*/
public Date getStartTime() {
return startTime;
}
/**
* @param startTime The startTime to set.
*/
public void setStartTime(Date startTime) {
this.startTime = startTime;
}
/**
* @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 templateID.
*/
public ID getTemplateID() {
return templateID;
}
/**
* @param templateID The templateID to set.
*/
public void setTemplateID(ID templateID) {
this.templateID = templateID;
}
/**
* @return Returns the theDescription.
*/
public String getTheDescription() {
return theDescription;
}
/**
* @param theDescription The theDescription to set.
*/
public void setTheDescription(String theDescription) {
this.theDescription = theDescription;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -