⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tplresourcedocdto.java

📁 这是一个工作流管理的后端EJB实现
💻 JAVA
字号:
package com.coshare.joyteam.projectMgr.dto;

import java.io.Serializable;

import com.coshare.joyteam.util.ID;

public class TplResourceDocDTO implements Serializable, DocResource {

	/**
	 * Serialization version.
	 */
	private static final long serialVersionUID = 3617009767285799221L;
	private ID tplResDocId;
	private ID templateId;
	private ID activityId;
	private String resId;
	private int resType;
	private int inputorOutput;
	private String theDescription;
	
	static public ID intToID(int intid) {
		ID id = new ID();
		id.setId(intid);
		id.setType(ID.TYPE_WfTplResDoc);
		return id;
	}

	public TplResourceDocDTO(ID templateId, ID activityId, String resId, int resType) {
		this.templateId = templateId;
		this.activityId = activityId;
		this.resId = resId;
		this.resType = resType;
	}
	
	public TplResourceDocDTO() {}

	/**
	 * @return Returns the activityId.
	 */
	public ID getActivityId() {
		return activityId;
	}

	/**
	 * @param activityId The activityId to set.
	 */
	public void setActivityId(ID activityId) {
		this.activityId = activityId;
	}

	/**
	 * @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 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 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;
	}

	/**
	 * @return Returns the tplResDocId.
	 */
	public ID getTplResDocId() {
		return tplResDocId;
	}

	/**
	 * @param tplResDocId The tplResDocId to set.
	 */
	public void setTplResDocId(ID tplResDocId) {
		this.tplResDocId = tplResDocId;
	}
	
	public void setTplResDocId(int tplResDocId) {
		this.setTplResDocId(intToID(tplResDocId));
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -