Home >> All >> org >> hibernate >> test >> [ connections Javadoc ] |
Source code: org/hibernate/test/connections/Silly.java
1 // $Id: Silly.java 9595 2006-03-10 18:14:21Z steve.ebersole@jboss.com $ 2 package org.hibernate.test.connections; 3 4 import java.io.Serializable; 5 6 /** 7 * Implementation of Silly. 8 * 9 * @author Steve Ebersole 10 */ 11 public class Silly implements Serializable { 12 private Long id; 13 private String name; 14 private Other other; 15 16 public Silly() { 17 } 18 19 public Silly(String name) { 20 this.name = name; 21 } 22 23 public Silly(String name, Other other) { 24 this.name = name; 25 this.other = other; 26 } 27 28 public Long getId() { 29 return id; 30 } 31 32 public void setId(Long id) { 33 this.id = id; 34 } 35 36 public String getName() { 37 return name; 38 } 39 40 public void setName(String name) { 41 this.name = name; 42 } 43 44 public Other getOther() { 45 return other; 46 } 47 48 public void setOther(Other other) { 49 this.other = other; 50 } 51 }