\r
package eu.etaxonomy.cdm.model.media;\r
\r
-import java.util.List;\r
import java.util.Set;\r
\r
/**\r
* If a class is implementing this interface a set of <code>media</code> may be added\r
- * to an instance of this class. The class should also implement the protected method:\r
- * <code>protected void setMedia(Set<Media> media)</code> that maybe used by the persistence\r
- * framework (e.g. hibernate) \r
+ * to an instance of this class. \r
* \r
* @author a.mueller\r
* @created 07.07.2008\r
* @return\r
*/\r
\r
- public abstract Set<Media> getMedia();\r
+ public Set<Media> getMedia();\r
\r
/**\r
* Adds a media to this object\r
* @param media\r
*/\r
- public abstract void addMedia(Media media);\r
+ public void addMedia(Media media);\r
\r
/**\r
* Removes a media from this object\r
* @param media\r
*/\r
- public abstract void removeMedia(Media media);\r
+ public void removeMedia(Media media);\r
\r
}
\ No newline at end of file