KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > discRack > spec > Disc


1 /*
2  * discRack
3  *
4  * Enhydra super-servlet specification object
5  *
6  */

7 package discRack.spec;
8
9 import org.enhydra.dods.exceptions.AssertionDataObjectException;
10
11 public interface Disc {
12     
13
14      public String JavaDoc getHandle() throws DiscRackException;
15      public String JavaDoc getTitle() throws DiscRackException;
16      public String JavaDoc getArtist() throws DiscRackException;
17      public String JavaDoc getGenre() throws DiscRackException;
18      public boolean isLiked() throws DiscRackException;
19      public void setTitle(String JavaDoc title) throws DiscRackException;
20      public void setArtist(String JavaDoc artist) throws DiscRackException;
21      public void setGenre(String JavaDoc genre) throws DiscRackException;
22      public void setOwner(Person owner) throws DiscRackException;
23      public void setLiked(boolean isLiked) throws DiscRackException;
24      public void save() throws DiscRackException, AssertionDataObjectException;
25      public void delete() throws DiscRackException, AssertionDataObjectException;
26 }
Popular Tags