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.
10 package eu
.etaxonomy
.cdm
.model
.specimen
;
13 import eu
.etaxonomy
.cdm
.model
.common
.VersionableEntity
;
14 import org
.apache
.log4j
.Logger
;
16 import javax
.persistence
.*;
19 * @author Andreas Mueller
21 * @created 15-Aug-2007 18:36:01
24 public class Collection
extends VersionableEntity
{
25 static Logger logger
= Logger
.getLogger(Collection
.class);
28 private String codeStandard
;
30 private String townOrLocation
;
31 private Institution institute
;
33 public String
getCode(){
37 public String
getCodeStandard(){
41 public Institution
getInstitute(){
45 public String
getName(){
49 public String
getTownOrLocation(){
50 return townOrLocation
;
57 public void setCode(String newVal
){
65 public void setCodeStandard(String newVal
){
66 codeStandard
= newVal
;
73 public void setInstitute(Institution newVal
){
81 public void setName(String newVal
){
89 public void setTownOrLocation(String newVal
){
90 townOrLocation
= newVal
;