change inReference interfaces
[cdmlib.git] / cdmlib-model / src / main / java / eu / etaxonomy / cdm / model / reference / IPrintedUnitBase.java
index d7e14746cc388d191bb6171e72d5a523e435858f..67bc490480a2371907faee5a4ac8682db4eff63b 100644 (file)
@@ -1,24 +1,53 @@
+/**\r
+* Copyright (C) 2009 EDIT\r
+* European Distributed Institute of Taxonomy\r
+* http://www.e-taxonomy.eu\r
+*\r
+* The contents of this file are subject to the Mozilla Public License Version 1.1\r
+* See LICENSE.TXT at the top of this package for the full license terms.\r
+*/ \r
+\r
 package eu.etaxonomy.cdm.model.reference;\r
 \r
-import eu.etaxonomy.cdm.model.common.CdmBase;\r
 \r
 public interface IPrintedUnitBase extends IPublicationBase, IVolumeReference {\r
 \r
+       /**\r
+        * Same as {@link #getSeries()}\r
+        * @deprecated use {@link #getSeries()} instead\r
+        * @return\r
+        */\r
+       @Deprecated\r
        public IPrintSeries getInSeries();\r
        \r
-       public void setInSeries(IPrintSeries inSeries);\r
+       /**\r
+        * Same as {@link #setInSeries(IPrintSeries)}\r
+        * @deprecated use {@link #setInSeries(IPrintSeries)} instead\r
+        * @param series\r
+        */\r
+       @Deprecated\r
+       public void setInSeries(IPrintSeries series);\r
 \r
-       public String getEditor();\r
-       \r
-       public void setEditor(String editor);\r
        \r
-       public String getVolume();\r
+       /**\r
+        * Returns the print series of this printed unit\r
+        * @return\r
+        */\r
+       public IPrintSeries getSeries();\r
+       \r
+       /**\r
+        * Sets the pritn series of this printed unit\r
+        * @param series\r
+        */\r
+       public void setSeries(IPrintSeries series);\r
+\r
        \r
-       public void setVolume(String volume);\r
+       public String getEditor();\r
        \r
-       public String getPages();\r
+       public void setEditor(String editor);\r
        \r
-       public void setPages(String pages);\r
+       public String getSeriesPart();\r
        \r
+       public void setSeriesPart(String seriesPart);\r
        \r
 }\r