]> git.somenet.org - pub/jan/dst18.git/blob - ass1-jpa/src/main/java/dst/ass1/jpa/model/IParticipant.java
Normalize versions across project to 2018.1
[pub/jan/dst18.git] / ass1-jpa / src / main / java / dst / ass1 / jpa / model / IParticipant.java
1 package dst.ass1.jpa.model;
2
3 import java.util.Collection;
4
5 public interface IParticipant extends IPerson {
6
7     String getEmail();
8
9     void setEmail(String email);
10
11     byte[] getPassword();
12
13     void setPassword(byte[] password);
14
15     String getAccountNo();
16
17     void setAccountNo(String accountNo);
18
19     String getBankCode();
20
21     void setBankCode(String bankCode);
22
23     Collection<IEnrollment> getEnrollments();
24
25     void setEnrollments(Collection<IEnrollment> enrollments);
26
27     void addEnrollment(IEnrollment enrollment);
28
29     Collection<IMembership> getMemberships();
30
31     void setMemberships(Collection<IMembership> memberships);
32
33     void addMembership(IMembership membership);
34
35 }