KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > jetspeed > services > forward > configuration > impl > ForwardImpl


1 /*
2  * Copyright 2000-2001,2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16
17 package org.apache.jetspeed.services.forward.configuration.impl;
18
19 import java.util.Map JavaDoc;
20 import java.util.HashMap JavaDoc;
21
22 import org.apache.jetspeed.services.forward.configuration.Forward;
23 import org.apache.jetspeed.services.forward.configuration.Page;
24 import org.apache.jetspeed.services.forward.configuration.Pane;
25 import org.apache.jetspeed.services.forward.configuration.Portlet;
26
27 /**
28  * Basic Forward implementation
29  *
30  * @author <a HREF="mailto:taylor@apache.org">David Sean Taylor</a>
31  * @version $Id: ForwardImpl.java,v 1.4 2004/02/23 03:50:10 jford Exp $
32  */

33 public class ForwardImpl implements Forward, java.io.Serializable JavaDoc
34 {
35     private Page page;
36     private Pane pane;
37     private Portlet portlet;
38     private String JavaDoc name;
39     private Map JavaDoc queryParams = new HashMap JavaDoc();
40
41     public String JavaDoc getName()
42     {
43         return this.name;
44     }
45
46     public void setName(String JavaDoc name)
47     {
48         this.name = name;
49     }
50
51     public Page getPage()
52     {
53         return this.page;
54     }
55
56     public void setPage(Page page)
57     {
58         this.page = page;
59     }
60
61     public Pane getPane()
62     {
63         return this.pane;
64     }
65
66     public void setPane(Pane pane)
67     {
68         this.pane = pane;
69     }
70
71     public Portlet getPortlet()
72     {
73         return this.portlet;
74     }
75
76     public void setPortlet(Portlet portlet)
77     {
78         this.portlet = portlet;
79     }
80
81     public Map JavaDoc getQueryParams()
82     {
83         return this.queryParams;
84     }
85
86     public void setQueryParams(Map JavaDoc queryParams)
87     {
88         this.queryParams = queryParams;
89     }
90
91
92 }
93
94
95
Popular Tags