View Javadoc

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