Package conductor.OFCustomIF

Source Code of conductor.OFCustomIF.SessionInfo

package conductor.OFCustomIF;

import java.io.Serializable;

import Framework.Array_Of_TextData;
import Framework.RuntimeProperties;
import Framework.TextData;
import Framework.UsageException;

/**
* SessionInfo<p>
* <p>
* <b>This class was generated from the library OFCustomIF and needs to be replaced by the
* proper source code from the library. It has been generated only to remove compile-time errors and
* is non-functional. </b>
* <p>
* @author Generated from Forte
* @since  05-Jul-2008
*/
@RuntimeProperties(isDistributed=false, isAnchored=false, isShared=false, isTransactional=false)
@SuppressWarnings("serial")
public class SessionInfo
        extends SessionConstants
        implements Serializable
{

    // ----------
    // Attributes
    // ----------
    private int id;
    private String sessionName;
    private int state;
    private int status;
    private String userName;
    private int workListSize;
    private Array_Of_TextData<TextData> roles;
    private int current2POpCode;
    private String current2POpName;
    private String twoPhaseTxId;
    private boolean is2PTxInProgress;

    // ------------
    // Constructors
    // ------------
    public SessionInfo() {
        // Explicitly call the superclass constructor to prevent the implicit call
        super();
        this.id = 0;
        this.sessionName = null;
        this.state = 0;
        this.status = 0;
        this.userName = null;
        this.workListSize = 0;
        this.roles = null;
        this.current2POpCode = 0;
        this.current2POpName = null;
        this.twoPhaseTxId = null;
        this.is2PTxInProgress = false;

    }

    // ----------------------
    // Accessors and Mutators
    // ----------------------
    public void setId(int id) {
        this.id = id;
    }

    public int getId() {
        return this.id;
    }

    public void setSessionName(String sessionName) {
        this.sessionName = sessionName;
    }

    public String getSessionName() {
        return this.sessionName;
    }

    public void setState(int state) {
        this.state = state;
    }

    public int getState() {
        return this.state;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getStatus() {
        return this.status;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserName() {
        return this.userName;
    }

    public void setWorkListSize(int workListSize) {
        this.workListSize = workListSize;
    }

    public int getWorkListSize() {
        return this.workListSize;
    }

    public void setRoles(Array_Of_TextData<TextData> roles) {
        this.roles = roles;
    }

    public Array_Of_TextData<TextData> getRoles() {
        return this.roles;
    }

    public void setCurrent2POpCode(int current2POpCode) {
        this.current2POpCode = current2POpCode;
    }

    public int getCurrent2POpCode() {
        return this.current2POpCode;
    }

    public void setCurrent2POpName(String current2POpName) {
        this.current2POpName = current2POpName;
    }

    public String getCurrent2POpName() {
        return this.current2POpName;
    }

    public void setTwoPhaseTxId(String twoPhaseTxId) {
        this.twoPhaseTxId = twoPhaseTxId;
    }

    public String getTwoPhaseTxId() {
        return this.twoPhaseTxId;
    }

    public void setIs2PTxInProgress(boolean is2PTxInProgress) {
        this.is2PTxInProgress = is2PTxInProgress;
    }

    public boolean getIs2PTxInProgress() {
        return this.is2PTxInProgress;
    }

    // -------
    // Methods
    // -------
    /**
     * isA2POp<p>
     * <p>
     * @param opCode Type: int
     * @return boolean
     */
    public boolean isA2POp(int opCode) {
        throw new UsageException("This is a stub method only from a Forte library, please implement the library");
    }

    /**
     * isAFollowupOp<p>
     * <p>
     * @param opCode Type: int
     * @return boolean
     */
    public boolean isAFollowupOp(int opCode) {
        throw new UsageException("This is a stub method only from a Forte library, please implement the library");
    }

    /**
     * isTxAllowedOp<p>
     * <p>
     * @param opCode Type: int
     * @return boolean
     */
    public boolean isTxAllowedOp(int opCode) {
        throw new UsageException("This is a stub method only from a Forte library, please implement the library");
    }
// end class SessionInfo
// c Pass 2 Conversion Time: 156 milliseconds
TOP

Related Classes of conductor.OFCustomIF.SessionInfo

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.