1 4 5 package org.enhydra.shark.partmappersistence.data; 6 7 import java.util.ArrayList ; 8 import java.util.List ; 9 10 15 public class HibernateParticipant { 16 17 protected String participantId; 18 protected int id; 19 protected List normalUsers = new ArrayList (); 20 protected List groupUsers = new ArrayList (); 21 22 public HibernateParticipant() { 23 } 24 25 public int getId() { 26 return id; 27 } 28 29 public void setId(int id) { 30 this.id = id; 31 } 32 33 public String getParticipantId() { 34 return participantId; 35 } 36 37 public void setParticipantId(String participantId) { 38 this.participantId = participantId; 39 } 40 41 public List getGroupUsers() { 42 return groupUsers; 43 } 44 45 public void setGroupUsers(List groupUsers) { 46 this.groupUsers = groupUsers; 47 } 48 49 public List getNormalUsers() { 50 return normalUsers; 51 } 52 53 public void setNormalUsers(List normalUsers) { 54 this.normalUsers = normalUsers; 55 } 56 57 public String toString() { 58 String retVal = ""; 59 retVal += "\nId = "+this.id; 60 retVal += "\nparticipantId = "+this.participantId; 61 return retVal; 62 } 63 } | Popular Tags |