1 package org.hibernate.test.legacy; 3 4 7 public class I { 8 private Long id; 9 private String name; 10 private char type; 11 private K parent; 12 13 public K getParent() { 14 return parent; 15 } 16 17 public void setParent(K parent) { 18 this.parent = parent; 19 } 20 21 void setType(char type) { 22 this.type = type; 23 } 24 25 char getType() { 26 return type; 27 } 28 29 void setName(String name) { 30 this.name = name; 31 } 32 33 String getName() { 34 return name; 35 } 36 } 37 | Popular Tags |