1 package org.hibernate.test.legacy; 3 4 import java.util.HashSet ; 5 import java.util.Set ; 6 7 10 public class Eye { 11 private long id; 12 private String name; 13 private Jay jay; 14 private Set jays = new HashSet (); 15 16 19 public long getId() { 20 return id; 21 } 22 23 26 public void setId(long id) { 27 this.id = id; 28 } 29 30 33 public Jay getJay() { 34 return jay; 35 } 36 37 40 public void setJay(Jay jay) { 41 this.jay = jay; 42 } 43 44 47 public Set getJays() { 48 return jays; 49 } 50 51 54 public void setJays(Set jays) { 55 this.jays = jays; 56 } 57 58 61 public String getName() { 62 return name; 63 } 64 65 68 public void setName(String name) { 69 this.name = name; 70 } 71 72 } 73 | Popular Tags |