View Javadoc

1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one
3    * or more contributor license agreements.  See the NOTICE file
4    * distributed with this work for additional information
5    * regarding copyright ownership.  The ASF licenses this file
6    * to you under the Apache License, Version 2.0 (the
7    * "License"); you may not use this file except in compliance
8    * with the License.  You may obtain a copy of the License at
9    *
10   *   http://www.apache.org/licenses/LICENSE-2.0
11   *
12   * Unless required by applicable law or agreed to in writing,
13   * software distributed under the License is distributed on an
14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15   * KIND, either express or implied.  See the License for the
16   * specific language governing permissions and limitations
17   * under the License.
18   */
19  package org.apache.myfaces.config.impl.digester.elements;
20  
21  import java.io.Serializable;
22  
23  
24  
25  
26  
27  /**
28   * @author <a href="mailto:oliver@rossmueller.com">Oliver Rossmueller</a>
29   */
30  public class NavigationCaseImpl extends org.apache.myfaces.config.element.NavigationCase implements Serializable
31  {
32  
33      private String fromAction;
34      private String fromOutcome;
35      private String ifValue;
36      private String toViewId;
37      private org.apache.myfaces.config.element.Redirect redirect;
38  
39  
40      public String getFromAction()
41      {
42          return fromAction;
43      }
44  
45  
46      public void setFromAction(String fromAction)
47      {
48          this.fromAction = fromAction;
49      }
50  
51  
52      public String getFromOutcome()
53      {
54          return fromOutcome;
55      }
56  
57  
58      public void setFromOutcome(String fromOutcome)
59      {
60          this.fromOutcome = fromOutcome;
61      }
62      
63      public String getIf ()
64      {
65          return ifValue;
66      }
67      
68      public void setIf (String ifValue)
69      {
70          this.ifValue = ifValue;
71      }
72      
73      public String getToViewId()
74      {
75          return toViewId;
76      }
77  
78  
79      public void setToViewId(String toViewId)
80      {
81          this.toViewId = toViewId;
82      }
83  
84  
85      public void setRedirect(org.apache.myfaces.config.element.Redirect redirect)
86      {
87          this.redirect = redirect;
88      }
89  
90  
91      public org.apache.myfaces.config.element.Redirect getRedirect()
92      {
93          return redirect;
94      }
95  }