01: /*
02: * Copyright 2004 The Apache Software Foundation.
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
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: * @author <a href="mailto:oliver@rossmueller.com">Oliver Rossmueller</a>
20: */
21: public class NavigationCase implements
22: org.apache.myfaces.config.element.NavigationCase {
23:
24: private String fromAction;
25: private String fromOutcome;
26: private String toViewId;
27: private boolean redirect;
28:
29: public String getFromAction() {
30: return fromAction;
31: }
32:
33: public void setFromAction(String fromAction) {
34: this .fromAction = fromAction;
35: }
36:
37: public String getFromOutcome() {
38: return fromOutcome;
39: }
40:
41: public void setFromOutcome(String fromOutcome) {
42: this .fromOutcome = fromOutcome;
43: }
44:
45: public String getToViewId() {
46: return toViewId;
47: }
48:
49: public void setToViewId(String toViewId) {
50: this .toViewId = toViewId;
51: }
52:
53: public void setRedirect() {
54: this .redirect = true;
55: }
56:
57: public boolean isRedirect() {
58: return redirect;
59: }
60: }
|