]> git.somenet.org - pub/jan/dst18.git/blob - ass1-jpa/src/main/java/dst/ass1/jpa/model/IMaterialServer.java
[1.3.3] Interceptor seems to work.
[pub/jan/dst18.git] / ass1-jpa / src / main / java / dst / ass1 / jpa / model / IMaterialServer.java
1 package dst.ass1.jpa.model;
2
3 import java.util.Collection;
4 import java.util.Date;
5
6 public interface IMaterialServer {
7
8     Long getId();
9
10     void setId(Long id);
11
12     String getName();
13
14     void setName(String name);
15
16     Date getLastMaintenance();
17
18     void setLastMaintenance(Date lastMaintenance);
19
20     Date getNextMaintenance();
21
22     void setNextMaintenance(Date nextMaintenance);
23
24     Collection<IMaterial> getMaterials();
25
26     void setMaterials(Collection<IMaterial> materials);
27
28     void addMaterial(IMaterial material);
29
30 }