1 package dst.ass1.jpa.model;
3 import java.util.Collection;
5 public interface IParticipant extends IPerson {
9 void setEmail(String email);
13 void setPassword(byte[] password);
15 String getAccountNo();
17 void setAccountNo(String accountNo);
21 void setBankCode(String bankCode);
23 Collection<IEnrollment> getEnrollments();
25 void setEnrollments(Collection<IEnrollment> enrollments);
27 void addEnrollment(IEnrollment enrollment);
29 Collection<IMembership> getMemberships();
31 void setMemberships(Collection<IMembership> memberships);
33 void addMembership(IMembership membership);