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.service;
12  
13  import it.imolinfo.jbi4cics.connection.InteractionDescription;
14  import it.imolinfo.jbi4cics.locator.ServiceLocation;
15  import it.imolinfo.jbi4cics.messageformat.MappingDescriptor;
16  import it.imolinfo.jbi4cics.security.Account;
17  
18  /**
19   * @author raffaele
20   *
21   */
22  public class ServiceContext {
23  	private Object inputBean;
24  	private Object outputBean;
25  	private String ServiceName;
26  	private ServiceLocation serviceLocation;
27  	private Account account;
28  	private Object inputMessage;
29  	private Object outputMessage;
30    private MappingDescriptor inputMappingDescriptor;
31    private MappingDescriptor outputMappingDescriptor;
32    private InteractionDescription interactionDescription;
33    
34    /**
35     * void constructor.
36     */
37      public ServiceContext(){
38      }
39  
40    
41  	/**
42     * @return Returns the interactionDescription.
43     */
44    public InteractionDescription getInteractionDescription() {
45      return interactionDescription;
46    }
47  
48    /**
49     * @param interactionDescription The interactionDescription to set.
50     */
51    public void setInteractionDescription(InteractionDescription interactionDescription) {
52      this.interactionDescription = interactionDescription;
53    }
54  
55    /**
56     * @return Returns the inputMappingDescriptor.
57     */
58    public MappingDescriptor getInputMappingDescriptor() {
59      return inputMappingDescriptor;
60    }
61  
62    /**
63     * @param mappingDescriptor The MappingDescriptor to set.
64     */
65    public void setInputMappingDescriptor(MappingDescriptor mappingDescriptor) {
66      this.inputMappingDescriptor = mappingDescriptor;
67    }
68  
69    /**
70  	 * @return Returns the inputBean.
71  	 */
72  	public Object getInputBean() {
73  		return inputBean;
74  	}
75  	
76  	/**
77  	 * @param inputBean The inputBean to set.
78  	 */
79  	public void setInputBean(Object inputBean) {
80  		this.inputBean = inputBean;
81  	}
82  	
83  	/**
84  	 * @return Returns the outputBean.
85  	 */
86  	public Object getOutputBean() {
87  		return outputBean;
88  	}
89  	
90  	/**
91  	 * @param outputBean The outputBean to set.
92  	 */
93  	public void setOutputBean(Object outputBean) {
94  		this.outputBean = outputBean;
95  	}
96  
97  	/**
98  	 * @return Returns the serviceName.
99  	 */
100 	public String getServiceName() {
101 		return ServiceName;
102 	}
103 	
104 
105 	/**
106 	 * @param serviceName The serviceName to set.
107 	 */
108 	public void setServiceName(String serviceName) {
109 		ServiceName = serviceName;
110 	}
111 
112 	/**
113 	 * @return Returns the serviceLocation.
114 	 */
115 	public ServiceLocation getServiceLocation() {
116 		return serviceLocation;
117 	}
118 	
119 
120 	/**
121 	 * @param serviceLocation The serviceLocation to set.
122 	 */
123 	public void setServiceLocation(ServiceLocation serviceLocation) {
124 		this.serviceLocation = serviceLocation;
125 	}
126 
127 	/**
128 	 * @return Returns the account.
129 	 */
130 	public Account getAccount() {
131 		return account;
132 	}
133 	
134 
135 	/**
136 	 * @param account The account to set.
137 	 */
138 	public void setAccount(Account account) {
139 		this.account = account;
140 	}
141 
142 	/**
143 	 * @return Returns the inputMessage.
144 	 */
145 	public Object getInputMessage() {
146 		return inputMessage;
147 	}
148 	
149 
150 	/**
151 	 * @param inputMessage The inputMessage to set.
152 	 */
153 	public void setInputMessage(Object inputMessage) {
154 		this.inputMessage = inputMessage;
155 	}
156 	
157 
158 	/**
159 	 * @return Returns the outputMessage.
160 	 */
161 	public Object getOutputMessage() {
162 		return outputMessage;
163 	}
164 	
165 
166 	/**
167 	 * @param outputMessage The outputMessage to set.
168 	 */
169 	public void setOutputMessage(Object outputMessage) {
170 		this.outputMessage = outputMessage;
171 	}
172 
173   /**
174    * @return Returns the outputMappingDescriptor.
175    */
176   public MappingDescriptor getOutputMappingDescriptor() {
177     return outputMappingDescriptor;
178   }
179 
180   /**
181    * @param outputMappingDescriptor The outputMappingDescriptor to set.
182    */
183   public void setOutputMappingDescriptor(MappingDescriptor outputMappingDescriptor) {
184     this.outputMappingDescriptor = outputMappingDescriptor;
185   }
186 	
187 	
188 	
189 	
190 	
191 	
192 
193 }