root/trunk/cdmlib/cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/reference/IArticle.java

Revision 9594, 1.5 kB (checked in by a.mueller, 23 months ago)

removed IReferenceBase from IArticle and standardized cast methods in reference base

Line 
1/**
2* Copyright (C) 2009 EDIT
3* European Distributed Institute of Taxonomy
4* http://www.e-taxonomy.eu
5*
6* The contents of this file are subject to the Mozilla Public License Version 1.1
7* See LICENSE.TXT at the top of this package for the full license terms.
8*/ 
9
10package eu.etaxonomy.cdm.model.reference;
11
12import eu.etaxonomy.cdm.model.agent.TeamOrPersonBase;
13import eu.etaxonomy.cdm.strategy.cache.reference.ArticleDefaultCacheStrategy;
14
15/**
16 * This interface represents articles in a {@link IJournal journal}. An article is an independent
17 * piece of prose written by an {@link TeamOrPersonBase author (team)} which is published among
18 * other articles within a particular issue of a journal.
19 * <P>
20 * This class corresponds, according to the TDWG ontology, to the publication type
21 * terms (from PublicationTypeTerm): <ul>
22 * <li> "JournalArticle"
23 * <li> "NewspaperArticle"
24 * <li> "MagazineArticle"
25 * </ul>
26 */
27public interface IArticle extends ISectionBase, IVolumeReference, INomenclaturalReference{
28       
29        /**
30         * Returns the series information for this article
31         */
32        public String getSeries();
33
34        /**
35         * Sets the series information for this article
36         * @param series
37         */
38        public void setSeries(String series);
39       
40       
41       
42        /**
43         * Returns this articles journal.
44         * @return
45         */
46        public IJournal getInJournal();
47       
48       
49        /**
50         * Sets this articles journal
51         * @param journal
52         */
53        public void setInJournal(IJournal journal);
54
55       
56        void setCacheStrategy(ArticleDefaultCacheStrategy cacheStrategy);
57}
Note: See TracBrowser for help on using the browser.