View Javadoc

1   /*******************************************************************************
2    *  Copyright (c) 2005, 2006 Imola Informatica.
3    *  All rights reserved. This program and the accompanying materials
4    *  are made available under the terms of the LGPL License v2.1
5    *  which accompanies this distribution, and is available at
6    *  http://www.gnu.org/licenses/lgpl.html
7    *******************************************************************************/
8   /**
9    * 
10   */
11  package it.imolinfo.jbi4cics.connection.jca.cics;
12  
13  import it.imolinfo.jbi4cics.connection.InteractionDescription;
14  
15  /**
16   * @author raffaele
17   *
18   */
19  public class CICSInteractionDescription implements InteractionDescription {
20  
21    private String programName;
22    private int timeout;
23    private boolean tpn;
24    private String transactionName;
25    
26    /**
27     * 
28     */    
29    public CICSInteractionDescription() {
30      super();
31      // TODO Auto-generated constructor stub
32    }
33    
34    /**
35     * @return Returns the transactionName.
36     */
37    public String getTransactionName() {
38      return transactionName;
39    }
40  
41    /**
42     * @param transactionName The transactionName to set.
43     */
44    public void setTransactionName(String transactionName) {
45      this.transactionName = transactionName;
46    }
47  
48    /**
49     * @return Returns the tpn.
50     */
51    public boolean isTpn() {
52      return tpn;
53    }
54  
55    /**
56     * @param tpn The tpn to set.
57     */
58    public void setTpn(boolean tpn) {
59      this.tpn = tpn;
60    }
61  
62   
63  
64    /**
65     * @return Returns the programName.
66     */
67    public String getProgramName() {
68      return programName;
69    }
70  
71    /**
72     * @param programName The programName to set.
73     */
74    public void setProgramName(String programName) {
75      this.programName = programName;
76    }
77  
78    /**
79     * @return Returns the timeout.
80     */
81    public int getTimeout() {
82      return timeout;
83    }
84  
85    /**
86     * @param timeout The timeout to set.
87     */
88    public void setTimeout(int timeout) {
89      this.timeout = timeout;
90    }
91  
92  }