1 /** 2 * Copyright (c) 2008, http://www.snakeyaml.org 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.yaml.snakeyaml.issues.issue60; 17 18 import java.io.File; 19 import java.util.ArrayList; 20 import java.util.Date; 21 import java.util.HashMap; 22 import java.util.List; 23 import java.util.Map; 24 25 public class SkipBean { 26 27 private List<Integer> listInt; 28 private List<String> listStr; 29 private List<Date> listDate; 30 private List<File> empty = new ArrayList<File>(0); 31 private Map<String, Integer> map = new HashMap<String, Integer>(0); 32 private String text; 33 private Integer number; 34 getListInt()35 public List<Integer> getListInt() { 36 return listInt; 37 } 38 setListInt(List<Integer> listInt)39 public void setListInt(List<Integer> listInt) { 40 this.listInt = listInt; 41 } 42 getListStr()43 public List<String> getListStr() { 44 return listStr; 45 } 46 setListStr(List<String> listStr)47 public void setListStr(List<String> listStr) { 48 this.listStr = listStr; 49 } 50 getListDate()51 public List<Date> getListDate() { 52 return listDate; 53 } 54 setListDate(List<Date> listDate)55 public void setListDate(List<Date> listDate) { 56 this.listDate = listDate; 57 } 58 getText()59 public String getText() { 60 return text; 61 } 62 setText(String text)63 public void setText(String text) { 64 this.text = text; 65 } 66 getNumber()67 public Integer getNumber() { 68 return number; 69 } 70 setNumber(Integer number)71 public void setNumber(Integer number) { 72 this.number = number; 73 } 74 getEmpty()75 public List<File> getEmpty() { 76 return empty; 77 } 78 setEmpty(List<File> empty)79 public void setEmpty(List<File> empty) { 80 this.empty = empty; 81 } 82 getMap()83 public Map<String, Integer> getMap() { 84 return map; 85 } 86 setMap(Map<String, Integer> map)87 public void setMap(Map<String, Integer> map) { 88 this.map = map; 89 } 90 } 91