dynamicmapping.java

来自「java实现的可配置的工作流引擎,采用jsp+javabean实现」· Java 代码 · 共 58 行

JAVA
58
字号
/*
 * Created on 2004-10-12 TODO To change the template for this generated file go to Window - Preferences - Java - Code
 * Style - Code Templates
 */
package com.hongsoft.agile.pojo;

import java.io.Serializable;

/**
 * @author hongsoft.com TODO To change the template for this generated type comment go to Window - Preferences - Java -
 *         Code Style - Code Templates
 */
public class DynamicMapping implements Serializable {

    private static final long serialVersionUID = -6025479525515230982L;

    // 参与者可以是用户,也可以是角色
    private String participantId;

    // 下面的可以看做为权限
    private String activityInsId;

    public boolean equals(Object other) {
        if (other == null || !(other instanceof DynamicMapping))
            return false;
        return (this.participantId == ((DynamicMapping) other).participantId)
                && (this.activityInsId == ((DynamicMapping) other).activityInsId) && true;
    }

    /**
     * @return Returns the activityInsId.
     */
    public String getActivityInsId() {
        return activityInsId;
    }

    /**
     * @param activityInsId The activityInsId to set.
     */
    public void setActivityInsId(String activityInsId) {
        this.activityInsId = activityInsId;
    }

    /**
     * @return Returns the participantId.
     */
    public String getParticipantId() {
        return participantId;
    }

    /**
     * @param participantId The participantId to set.
     */
    public void setParticipantId(String participantId) {
        this.participantId = participantId;
    }
}

⌨️ 快捷键说明

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