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;
20  
21  /**
22   * @author Dennis C. Byrne
23   */
24  
25  import java.util.List;
26  import java.util.Map;
27  
28  public class MangedBeanExample
29  {
30  
31      private String managedProperty;
32      private List<String> managedList;
33      private List<String> writeOnlyList;
34      private Map<String, String> managedMap;
35      private Map<String, String> writeOnlyMap;
36  
37      public List<String> getManagedList()
38      {
39          return managedList;
40      }
41  
42      public void setManagedList(List<String> managedList)
43      {
44          this.managedList = managedList;
45      }
46  
47      public String getManagedProperty()
48      {
49          return managedProperty;
50      }
51  
52      public void setManagedProperty(String managedProperty)
53      {
54          this.managedProperty = managedProperty;
55      }
56  
57      public Map<String, String> getManagedMap()
58      {
59          return managedMap;
60      }
61  
62      public void setManagedMap(Map<String, String> managedMap)
63      {
64          this.managedMap = managedMap;
65      }
66  
67      public void setWriteOnlyList(List<String> writeOnlyList)
68      {
69          this.writeOnlyList = writeOnlyList;
70      }
71  
72      public void setWriteOnlyMap(Map<String, String> writeOnlyMap)
73      {
74          this.writeOnlyMap = writeOnlyMap;
75      }
76  
77      public Map<String, String> getHiddenWriteOnlyMap()
78      {
79          return writeOnlyMap;
80      }
81  
82      public List<String> getHiddenWriteOnlyList()
83      {
84          return writeOnlyList;
85      }
86  
87  }