View Javadoc
1   /*
2    *    Copyright 2009-2021 the original author or authors.
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.ibatis.domain.misc;
17  
18  import java.util.ArrayList;
19  import java.util.HashMap;
20  import java.util.List;
21  import java.util.Map;
22  
23  public class RichType {
24  
25    private RichType richType;
26  
27    private String richField;
28  
29    private String richProperty;
30  
31    private Map richMap = new HashMap();
32  
33    private List richList = new ArrayList() {
34      {
35        add("bar");
36      }
37    };
38  
39    public RichType getRichType() {
40      return richType;
41    }
42  
43    public void setRichType(RichType richType) {
44      this.richType = richType;
45    }
46  
47    public String getRichProperty() {
48      return richProperty;
49    }
50  
51    public void setRichProperty(String richProperty) {
52      this.richProperty = richProperty;
53    }
54  
55    public List getRichList() {
56      return richList;
57    }
58  
59    public void setRichList(List richList) {
60      this.richList = richList;
61    }
62  
63    public Map getRichMap() {
64      return richMap;
65    }
66  
67    public void setRichMap(Map richMap) {
68      this.richMap = richMap;
69    }
70  }