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; 17 18 import java.sql.Timestamp; 19 import java.util.Date; 20 21 public class JavaBeanWithNullValues { 22 private String string; 23 private Integer integer; 24 private Float float1; 25 private Double double1; 26 private Long long1; 27 private Date date; 28 private java.sql.Date sqlDate; 29 private Timestamp timestamp; 30 private Boolean boolean1; 31 32 public JavaBeanWithNullValues() { 33 } 34 35 public String getString() { 36 return string; 37 } 38 39 public void setString(String string) { 40 this.string = string; 41 } 42 43 public Integer getInteger() { 44 return integer; 45 } 46 47 public void setInteger(Integer integer) { 48 this.integer = integer; 49 } 50 51 public Float getFloat1() { 52 return float1; 53 } 54 55 public void setFloat1(Float float1) { 56 this.float1 = float1; 57 } 58 59 public Double getDouble1() { 60 return double1; 61 } 62 63 public void setDouble1(Double double1) { 64 this.double1 = double1; 65 } 66 67 public Long getLong1() { 68 return long1; 69 } 70 71 public void setLong1(Long long1) { 72 this.long1 = long1; 73 } 74 75 public Date getDate() { 76 return date; 77 } 78 79 public void setDate(Date date) { 80 this.date = date; 81 } 82 83 public java.sql.Date getSqlDate() { 84 return sqlDate; 85 } 86 87 public void setSqlDate(java.sql.Date sqlDate) { 88 this.sqlDate = sqlDate; 89 } 90 91 public Timestamp getTimestamp() { 92 return timestamp; 93 } 94 95 public void setTimestamp(Timestamp timestamp) { 96 this.timestamp = timestamp; 97 } 98 99 public Boolean getBoolean1() { 100 return boolean1; 101 } 102 103 public void setBoolean1(Boolean boolean1) { 104 this.boolean1 = boolean1; 105 } 106 } 107