KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > myfaces > config > impl > digester > elements > NavigationCase


1 /*
2  * Copyright 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 package org.apache.myfaces.config.impl.digester.elements;
17
18
19
20
21 /**
22  * @author <a HREF="mailto:oliver@rossmueller.com">Oliver Rossmueller</a>
23  */

24 public class NavigationCase implements org.apache.myfaces.config.element.NavigationCase
25 {
26
27     private String JavaDoc fromAction;
28     private String JavaDoc fromOutcome;
29     private String JavaDoc toViewId;
30     private boolean redirect;
31
32
33     public String JavaDoc getFromAction()
34     {
35         return fromAction;
36     }
37
38
39     public void setFromAction(String JavaDoc fromAction)
40     {
41         this.fromAction = fromAction;
42     }
43
44
45     public String JavaDoc getFromOutcome()
46     {
47         return fromOutcome;
48     }
49
50
51     public void setFromOutcome(String JavaDoc fromOutcome)
52     {
53         this.fromOutcome = fromOutcome;
54     }
55
56
57     public String JavaDoc getToViewId()
58     {
59         return toViewId;
60     }
61
62
63     public void setToViewId(String JavaDoc toViewId)
64     {
65         this.toViewId = toViewId;
66     }
67
68
69     public void setRedirect()
70     {
71         this.redirect = true;
72     }
73
74
75     public boolean isRedirect()
76     {
77         return redirect;
78     }
79 }
80
Popular Tags