1 7 package transactionsDiscRack.spec; 8 9 import org.enhydra.dods.exceptions.AssertionDataObjectException; 10 11 public interface Disc { 12 13 14 public String getHandle() throws TransactionsDiscRackException; 15 public String getTitle() throws TransactionsDiscRackException; 16 public String getArtist() throws TransactionsDiscRackException; 17 public String getGenre() throws TransactionsDiscRackException; 18 public boolean isLiked() throws TransactionsDiscRackException; 19 public void setTitle(String title) throws TransactionsDiscRackException; 20 public void setArtist(String artist) throws TransactionsDiscRackException; 21 public void setGenre(String 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 |