Project

General

Profile

Download (1.73 KB) Statistics
| Branch: | Tag: | Revision:
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 String year;
33

    
34
	private Set<MediaSTO> media = new HashSet<MediaSTO>();
35

    
36
	/* (non-Javadoc)
37
	 * @see eu.etaxonomy.cdm.remote.dto.IReferenceSTO#getAuthorship()
38
	 */
39
	public String getAuthorship() {
40
		return authorship;
41
	}
42

    
43
	/* (non-Javadoc)
44
	 * @see eu.etaxonomy.cdm.remote.dto.IReferenceSTO#setAuthorship(java.lang.String)
45
	 */
46
	public void setAuthorship(String authorship) {
47
		this.authorship = authorship;
48
	}
49

    
50
	/* (non-Javadoc)
51
	 * @see eu.etaxonomy.cdm.remote.dto.IReferenceSTO#getFullCitation()
52
	 */
53
	public String getFullCitation() {
54
		return fullCitation;
55
	}
56

    
57
	/* (non-Javadoc)
58
	 * @see eu.etaxonomy.cdm.remote.dto.IReferenceSTO#setFullCitation(java.lang.String)
59
	 */
60
	public void setFullCitation(String fullCitation) {
61
		this.fullCitation = fullCitation;
62
	}
63

    
64
	
65
	public Set<MediaSTO> getMedia() {
66
		return media;
67
	}
68
	public void setMedia(Set<MediaSTO> media) {
69
		this.media = media;
70
	}
71

    
72
	public void addMedia(MediaSTO media) {
73
		this.media.add(media);
74
	}
75

    
76
	public void setYear(String year) {
77
		this.year = year;
78
	}
79

    
80
	public String getYear() {
81
		return year;
82
	}
83

    
84

    
85
}
(29-29/44)