1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.myfaces.config.impl.digester.elements;
20
21 import java.util.ArrayList;
22 import java.util.List;
23 import org.apache.myfaces.config.element.NavigationCase;
24
25
26
27
28
29 public class FacesFlowSwitchImpl extends org.apache.myfaces.config.element.FacesFlowSwitch
30 {
31 private String _id;
32 private NavigationCase _defaultOutcome;
33 private List<NavigationCase> _navigationCaseList;
34
35 public FacesFlowSwitchImpl()
36 {
37 this._navigationCaseList = new ArrayList<NavigationCase>();
38 }
39
40 @Override
41 public List<NavigationCase> getNavigationCaseList()
42 {
43 return _navigationCaseList;
44 }
45
46 public void addNavigationCase(NavigationCase navcase)
47 {
48 _navigationCaseList.add(navcase);
49 }
50
51 @Override
52 public NavigationCase getDefaultOutcome()
53 {
54 return _defaultOutcome;
55 }
56
57
58
59
60 public void setDefaultOutcome(NavigationCase defaultOutcome)
61 {
62 this._defaultOutcome = defaultOutcome;
63 }
64
65 @Override
66 public String getId()
67 {
68 return _id;
69 }
70
71 public void setId(String id)
72 {
73 this._id = id;
74 }
75
76 }