1 package org.hibernate.test.rowid; 3 4 import java.io.Serializable ; 5 import java.math.BigDecimal ; 6 7 10 public class Point implements Serializable { 11 private BigDecimal x; 12 private BigDecimal y; 13 private String description; 14 private Object row; 15 16 Point() {} 17 18 public Point(BigDecimal x, BigDecimal y) { 19 this.x = x; 20 this.y = y; 21 } 22 23 public BigDecimal getX() { 24 return x; 25 } 26 27 void setX(BigDecimal x) { 28 this.x = x; 29 } 30 31 public BigDecimal getY() { 32 return y; 33 } 34 35 void setY(BigDecimal y) { 36 this.y = y; 37 } 38 39 public String getDescription() { 40 return description; 41 } 42 43 public void setDescription(String description) { 44 this.description = description; 45 } 46 47 public Object getRow() { 48 return row; 49 } 50 51 public void setRow(Object row) { 52 this.row = row; 53 } 54 55 } 56 | Popular Tags |