01: /*
02: * jtaDiscRack
03: *
04: * Enhydra super-servlet specification object
05: *
06: */
07: package jtaDiscRack.spec;
08:
09: import org.enhydra.dods.exceptions.AssertionDataObjectException;
10:
11: public interface Disc {
12:
13: public String getHandle();
14:
15: public String getTitle();
16:
17: public String getArtist();
18:
19: public String getGenre();
20:
21: public boolean isLiked();
22:
23: public void setTitle(String title);
24:
25: public void setArtist(String artist);
26:
27: public void setGenre(String genre);
28:
29: public void setOwner(String ownerHandle);
30:
31: public void setLiked(boolean isLiked);
32:
33: public void save() throws JtaDiscRackException,
34: AssertionDataObjectException;
35:
36: public void delete() throws JtaDiscRackException,
37: AssertionDataObjectException;
38:
39: }
|