Project

General

Profile

Download (1.91 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.Calendar;
13
import java.util.HashSet;
14
import java.util.Set;
15

    
16
import eu.etaxonomy.cdm.model.agent.Agent;
17
import eu.etaxonomy.cdm.model.common.MediaInstance;
18
import eu.etaxonomy.cdm.model.common.MultilanguageSet;
19
import eu.etaxonomy.cdm.model.common.Rights;
20

    
21

    
22
/**
23
 * 
24
 * @author a.kohlbecker
25
 * @version 1.0
26
 * @created 11.12.2007 12:13:42
27
 *
28
 */
29
public class MediaTO extends BaseTO {
30

    
31
	/**
32
	 * The title of the Media instance
33
	 * 
34
	 * FIXME: no set of title in different languages required,
35
	 * since web service request contain information about 
36
	 * the preferred languages. Therefore web service responses will 
37
	 * return only one string in that language which matches the 
38
	 * preference best.
39
	 */
40
	private Set<LocalisedTermTO> title;
41
	/**	
42
	 * creation date of the media (not of the record)
43
	 */
44
	private Calendar mediaCreated;
45
	
46
	/**
47
	 * The description of the Media.
48
	 * 
49
	 * FIXME: no set of description in different languages required,
50
	 * since web service request contain information about 
51
	 * the preferred languages. Therefore web service responses will 
52
	 * return only one string in that language which matches the 
53
	 * preference best.
54
	 */
55
	private Set<LocalisedTermTO> description;
56
	/**
57
	 * A single medium such as a picture can have multiple representations in files. 
58
	 * Common are multiple resolutions or file
59
	 * formats for images for example
60
	 */
61
	
62
	//FIXME: Is it required to have the instances right in here?
63
	private Set<MediaInstanceTO> instances = new HashSet();
64
	
65
	private Set<RightsTO> rights;
66
	private IdentifiedString artist;
67
	
68
}
(7-7/24)