(no commit message)
[cdmlib.git] / cdmlib-remote / src / main / java / eu / etaxonomy / cdm / remote / dto / ReferenceSTO.java
1 /**
2 * Copyright (C) 2007 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
10 package eu.etaxonomy.cdm.remote.dto;
11
12 import java.util.HashSet;
13 import java.util.Set;
14 import java.util.UUID;
15
16 /**
17 *
18 * @author a.kohlbecker
19 * @version 1.0
20 * @created 05.02.2008 14:58:36
21 *
22 */
23 public class ReferenceSTO extends BaseSTO implements IReferenceSTO {
24
25 private String authorship;
26
27 /**
28 * formatted string containing the entire reference citation including microreference
29 */
30 private String fullCitation;
31
32 private Set<MediaSTO> media = new HashSet<MediaSTO>();
33
34 /* (non-Javadoc)
35 * @see eu.etaxonomy.cdm.remote.dto.IReferenceSTO#getAuthorship()
36 */
37 public String getAuthorship() {
38 return authorship;
39 }
40
41 /* (non-Javadoc)
42 * @see eu.etaxonomy.cdm.remote.dto.IReferenceSTO#setAuthorship(java.lang.String)
43 */
44 public void setAuthorship(String authorship) {
45 this.authorship = authorship;
46 }
47
48 /* (non-Javadoc)
49 * @see eu.etaxonomy.cdm.remote.dto.IReferenceSTO#getFullCitation()
50 */
51 public String getFullCitation() {
52 return fullCitation;
53 }
54
55 /* (non-Javadoc)
56 * @see eu.etaxonomy.cdm.remote.dto.IReferenceSTO#setFullCitation(java.lang.String)
57 */
58 public void setFullCitation(String fullCitation) {
59 this.fullCitation = fullCitation;
60 }
61
62
63 public Set<MediaSTO> getMedia() {
64 return media;
65 }
66 public void setMedia(Set<MediaSTO> media) {
67 this.media = media;
68 }
69
70 public void addMedia(MediaSTO media) {
71 this.media.add(media);
72 }
73
74
75 }