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