1 package org.hibernate.test.legacy; 2 3 import java.util.HashSet ; 4 import java.util.List ; 5 import java.util.Set ; 6 7 10 public class Role { 11 12 long id; 13 java.lang.String name; 14 Set interventions = new HashSet (); 15 private List bunchOfStrings; 16 17 long getId() { 18 return id; 19 } 20 21 void setId(long newValue) { 22 id = newValue; 23 } 24 25 java.lang.String getName() { 26 return name; 27 } 28 29 void setName(java.lang.String newValue) { 30 name = newValue; 31 } 32 33 public Set getInterventions() { 34 return interventions; 35 } 36 37 public void setInterventions(Set iv) { 38 interventions = iv; 39 } 40 41 List getBunchOfStrings() { 42 return bunchOfStrings; 43 } 44 45 void setBunchOfStrings(List s) { 46 bunchOfStrings = s; 47 } 48 } 49 | Popular Tags |