import COM.odi.util.OSVector; public class Author{ // member variables String author; Journal journal; Volume volume; Numbber numbber; Article article; public Author(String athr,Journal j1,Volume v1,Numbber n1,Article a1){ //constructor author = athr; journal = j1; volume = v1; numbber = n1; article = a1; } // methods of Author class //method to get the name of the author public String getAuthorName(){ return author; } // method to get the name of the journal public String getJournalName(){ return journal.getJournalName(); } // method to get the Numbber of the Journal to which this // author belongs to public int getNumbber(){ return numbber.getNumbber(); } // method to get the volume number public int getVolumeNumber(){ return volume.getVolumeNumber(); } // method to get the title of the Article public String getArticleTitle(){ return article.getArticleTitle(); } // method to get the start page public int getStartPage(){ return article.getStartPage(); } // method to get the end page public int getEndPage(){ return article.getEndPage(); } // method to get the month and year of the article public OSDate getArticleDate(){ return numbber.getNumberDate(); } // method to get the year of the article public int getArticleYear(){ return numbber.getArticleYear(); } // method to get the collection of authors public OSVector getAuthors(){ return article.getAuthors(); } // method to get the article object public Article getArticleObject(){ return article; } }