2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
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.
9 package eu
.etaxonomy
.cdm
.remote
.dto
;
11 import java
.util
.HashSet
;
14 import eu
.etaxonomy
.cdm
.model
.common
.Representation
;
15 import eu
.etaxonomy
.cdm
.model
.description
.CommonTaxonName
;
18 * DescriptionElementSTO is used to represent {@linkplain QuantitativeData}, {@linkplain CategoricalData}, {@linkplain TextData} or {@linkplain CommonTaxonName}
22 public class DescriptionElementSTO
extends BaseSTO
{
24 private LocalisedTermSTO type
;
25 private Set
<MediaSTO
> media
= new HashSet
<MediaSTO
>();
26 private String description
;
27 private String language
;
30 public LocalisedTermSTO
getType() {
33 public void setType(LocalisedTermSTO type
) {
36 public Set
<MediaSTO
> getMedia() {
39 public void setMedia(Set
<MediaSTO
> media
) {
42 public void addMedia(MediaSTO media
) {
43 this.media
.add(media
);
45 public String
getDescription() {
48 public void setDescription(String description
) {
49 this.description
= description
;
51 public String
getLanguage() {
54 public void setLanguage(String language
) {
55 this.language
= language
;