PageRenderTime 20ms CodeModel.GetById 11ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/gwtrpccommlayer/src/main/java/com/googlecode/gwtrpccommlayer/shared/GwtRpcCommLayerPojoResponse.java

https://code.google.com/p/gwtrpccommlayer/
Java | 52 lines | 18 code | 7 blank | 27 comment | 0 complexity | edffb36791c87d57b934a0ab9ac6ad26 MD5 | raw file
 1/*
 2 * Copyright 2010 Jeff McHugh (Segue Development LLC)
 3 * 
 4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 5 * in compliance with the License. You may obtain a copy of the License at
 6 * 
 7 * http://www.apache.org/licenses/LICENSE-2.0
 8 * 
 9 * Unless required by applicable law or agreed to in writing, software distributed under the License
10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11 * or implied. See the License for the specific language governing permissions and limitations under
12 * the License.
13 */
14package com.googlecode.gwtrpccommlayer.shared;
15
16import java.io.Serializable;
17
18/**
19 * Abstracts the Response sent to the GwtRpcCommLayer-Client
20 * @author jeff mchugh
21 *
22 */
23public class GwtRpcCommLayerPojoResponse implements Serializable
24{
25	/**
26	 * 
27	 */
28	private static final long	serialVersionUID	= 5989840998465395318L;
29
30	private Serializable responseInstance;
31	
32	public GwtRpcCommLayerPojoResponse()
33	{
34	}
35
36	/**
37	 * @param responseInstance the responseInstance to set
38	 */
39	public void setResponseInstance(Serializable responseInstance)
40	{
41		this.responseInstance = responseInstance;
42	}
43
44	/**
45	 * @return the responseInstance
46	 */
47	public <T> Serializable getResponseInstance()
48	{
49		return responseInstance;
50	}
51	
52}