• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /**
2  * Copyright (c) 2008, SnakeYAML
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
5  * in compliance with the License. You may obtain a copy of the License at
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software distributed under the License
10  * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11  * or implied. See the License for the specific language governing permissions and limitations under
12  * the License.
13  */
14 package org.yaml.snakeyaml.issues.issue60;
15 
16 import java.io.File;
17 import java.util.ArrayList;
18 import java.util.Date;
19 import java.util.HashMap;
20 import java.util.List;
21 import java.util.Map;
22 
23 public class SkipBean {
24 
25   private List<Integer> listInt;
26   private List<String> listStr;
27   private List<Date> listDate;
28   private List<File> empty = new ArrayList<File>(0);
29   private Map<String, Integer> map = new HashMap<String, Integer>(0);
30   private String text;
31   private Integer number;
32 
getListInt()33   public List<Integer> getListInt() {
34     return listInt;
35   }
36 
setListInt(List<Integer> listInt)37   public void setListInt(List<Integer> listInt) {
38     this.listInt = listInt;
39   }
40 
getListStr()41   public List<String> getListStr() {
42     return listStr;
43   }
44 
setListStr(List<String> listStr)45   public void setListStr(List<String> listStr) {
46     this.listStr = listStr;
47   }
48 
getListDate()49   public List<Date> getListDate() {
50     return listDate;
51   }
52 
setListDate(List<Date> listDate)53   public void setListDate(List<Date> listDate) {
54     this.listDate = listDate;
55   }
56 
getText()57   public String getText() {
58     return text;
59   }
60 
setText(String text)61   public void setText(String text) {
62     this.text = text;
63   }
64 
getNumber()65   public Integer getNumber() {
66     return number;
67   }
68 
setNumber(Integer number)69   public void setNumber(Integer number) {
70     this.number = number;
71   }
72 
getEmpty()73   public List<File> getEmpty() {
74     return empty;
75   }
76 
setEmpty(List<File> empty)77   public void setEmpty(List<File> empty) {
78     this.empty = empty;
79   }
80 
getMap()81   public Map<String, Integer> getMap() {
82     return map;
83   }
84 
setMap(Map<String, Integer> map)85   public void setMap(Map<String, Integer> map) {
86     this.map = map;
87   }
88 }
89