Java tutorial
/** * The Clican-Pluto software suit is Copyright 2009, Clican Company and individual contributors, and is licensed under the GNU LGPL. * * @author clican * */ package com.clican.pluto.dataprocess.testbean; import java.util.Date; import org.apache.commons.lang.builder.ToStringBuilder; public class BeanWeight { private Integer id; private String code; private Double weight; private Date date; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public String getCode() { return code; } public void setCode(String code) { this.code = code; } public Double getWeight() { return weight; } public void setWeight(Double weight) { this.weight = weight; } public Date getDate() { return date; } public void setDate(Date date) { this.date = date; } /** * @see java.lang.Object#toString() */ public String toString() { return new ToStringBuilder(this).append("id", this.id).append("code", this.code) .append("weight", this.weight).toString(); } } // $Id$