datapoint.java
来自「介绍了hibernate的入门有一些基本常用的事例」· Java 代码 · 共 64 行
JAVA
64 行
//$Id: DataPoint.java,v 1.3 2005/02/12 07:27:30 steveebersole Exp $package org.hibernate.test.proxy;import java.io.Serializable;import java.math.BigDecimal;/** * @author Gavin King */public class DataPoint implements Serializable { private long id; private BigDecimal x; private BigDecimal y; private String description; /** * @return Returns the description. */ public String getDescription() { return description; } /** * @param description The description to set. */ public void setDescription(String description) { this.description = description; } /** * @return Returns the id. */ public long getId() { return id; } /** * @param id The id to set. */ public void setId(long id) { this.id = id; } /** * @return Returns the x. */ public BigDecimal getX() { return x; } /** * @param x The x to set. */ public void setX(BigDecimal x) { this.x = x; } /** * @return Returns the y. */ public BigDecimal getY() { return y; } /** * @param y The y to set. */ public void setY(BigDecimal y) { this.y = y; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?