diff options
Diffstat (limited to 'src/test/java/org/yaml/snakeyaml/JavaBeanWithNullValues.java')
-rw-r--r-- | src/test/java/org/yaml/snakeyaml/JavaBeanWithNullValues.java | 186 |
1 files changed, 92 insertions, 94 deletions
diff --git a/src/test/java/org/yaml/snakeyaml/JavaBeanWithNullValues.java b/src/test/java/org/yaml/snakeyaml/JavaBeanWithNullValues.java index 83b8d812..083b126a 100644 --- a/src/test/java/org/yaml/snakeyaml/JavaBeanWithNullValues.java +++ b/src/test/java/org/yaml/snakeyaml/JavaBeanWithNullValues.java @@ -1,17 +1,15 @@ /** - * Copyright (c) 2008, http://www.snakeyaml.org + * Copyright (c) 2008, SnakeYAML * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. */ package org.yaml.snakeyaml; @@ -19,88 +17,88 @@ import java.sql.Timestamp; import java.util.Date; public class JavaBeanWithNullValues { - private String string; - private Integer integer; - private Float float1; - private Double double1; - private Long long1; - private Date date; - private java.sql.Date sqlDate; - private Timestamp timestamp; - private Boolean boolean1; - - public JavaBeanWithNullValues() { - } - - public String getString() { - return string; - } - - public void setString(String string) { - this.string = string; - } - - public Integer getInteger() { - return integer; - } - - public void setInteger(Integer integer) { - this.integer = integer; - } - - public Float getFloat1() { - return float1; - } - - public void setFloat1(Float float1) { - this.float1 = float1; - } - - public Double getDouble1() { - return double1; - } - - public void setDouble1(Double double1) { - this.double1 = double1; - } - - public Long getLong1() { - return long1; - } - - public void setLong1(Long long1) { - this.long1 = long1; - } - - public Date getDate() { - return date; - } - - public void setDate(Date date) { - this.date = date; - } - - public java.sql.Date getSqlDate() { - return sqlDate; - } - - public void setSqlDate(java.sql.Date sqlDate) { - this.sqlDate = sqlDate; - } - - public Timestamp getTimestamp() { - return timestamp; - } - - public void setTimestamp(Timestamp timestamp) { - this.timestamp = timestamp; - } - - public Boolean getBoolean1() { - return boolean1; - } - - public void setBoolean1(Boolean boolean1) { - this.boolean1 = boolean1; - } + + private String string; + private Integer integer; + private Float float1; + private Double double1; + private Long long1; + private Date date; + private java.sql.Date sqlDate; + private Timestamp timestamp; + private Boolean boolean1; + + public JavaBeanWithNullValues() {} + + public String getString() { + return string; + } + + public void setString(String string) { + this.string = string; + } + + public Integer getInteger() { + return integer; + } + + public void setInteger(Integer integer) { + this.integer = integer; + } + + public Float getFloat1() { + return float1; + } + + public void setFloat1(Float float1) { + this.float1 = float1; + } + + public Double getDouble1() { + return double1; + } + + public void setDouble1(Double double1) { + this.double1 = double1; + } + + public Long getLong1() { + return long1; + } + + public void setLong1(Long long1) { + this.long1 = long1; + } + + public Date getDate() { + return date; + } + + public void setDate(Date date) { + this.date = date; + } + + public java.sql.Date getSqlDate() { + return sqlDate; + } + + public void setSqlDate(java.sql.Date sqlDate) { + this.sqlDate = sqlDate; + } + + public Timestamp getTimestamp() { + return timestamp; + } + + public void setTimestamp(Timestamp timestamp) { + this.timestamp = timestamp; + } + + public Boolean getBoolean1() { + return boolean1; + } + + public void setBoolean1(Boolean boolean1) { + this.boolean1 = boolean1; + } } |