3 * Copyright (C) 2015 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
10 package eu
.etaxonomy
.cdm
.api
.service
.dto
;
12 import java
.util
.ArrayList
;
13 import java
.util
.List
;
21 public class PreservedSpecimenDTO
extends DerivateDTO
{
23 private String accessionNumber
;
24 private List
<String
> types
;
27 * @return the accessionNumber
29 public String
getAccessionNumber() {
30 return accessionNumber
;
33 * @param accessionNumber the accessionNumber to set
35 public void setAccessionNumber(String accessionNumber
) {
36 this.accessionNumber
= accessionNumber
;
41 public List
<String
> getTypes() {
44 public void addType(String typeStatus
){
46 types
= new ArrayList
<String
>();
48 types
.add(typeStatus
);