2 * Copyright (C) 2009 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
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.
10 package eu
.etaxonomy
.cdm
.model
.reference
;
12 import eu
.etaxonomy
.cdm
.strategy
.cache
.reference
.GenericDefaultCacheStrategy
;
15 * This interface represents all references which cannot be clearly assigned to a
16 * particular {@link StrictReferenceBase reference} subclass. Therefore attributes which are
17 * characteristic for a unique reference subclass are not necessary here.
19 * This class corresponds, according to the TDWG ontology, to the publication type
20 * terms (from PublicationTypeTerm): <ul>
23 * <li> "AudiovisualMaterial"
24 * <li> "ComputerProgram"
25 * <li> "Determination"
30 public interface IGeneric
extends IPublicationBase
, INomenclaturalReference
, IVolumeReference
{
33 * Returns the editor of this generic reference
35 public String
getEditor();
38 * Sets the editor for this generic reference
41 public void setEditor(String editor
);
44 * Returns the series of this generic reference
46 public String
getSeriesPart();
49 * Sets the series for this generic reference
52 public void setSeriesPart(String series
);
55 * Returns the pages (page span this reference covers in its in-reference)
57 public String
getPages();
60 * Sets the pages (page span this reference covers in its in-reference)
63 public void setPages(String pages
);
66 * Returns the inreference of this generic reference
68 public IGeneric
getInReference();
71 * Sets the inreference.
74 public void setInReference(Reference inReference
);
76 void setCacheStrategy(GenericDefaultCacheStrategy cacheStratefy
);