KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > transactions > Disc


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

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