cdmlibrary/src/main/java/eu/etaxonomy/cdm/database/types/PostgreSQLDatabaseType.java -text
cdmlibrary/src/main/java/eu/etaxonomy/cdm/database/types/SqlServerDatabaseType.java -text
cdmlibrary/src/main/java/eu/etaxonomy/cdm/database/types/SybaseDatabaseType.java -text
-cdmlibrary/src/main/java/eu/etaxonomy/cdm/dto/BaseTO.java -text
-cdmlibrary/src/main/java/eu/etaxonomy/cdm/dto/IdentifiedString.java -text
-cdmlibrary/src/main/java/eu/etaxonomy/cdm/dto/LocalisedTermTO.java -text
-cdmlibrary/src/main/java/eu/etaxonomy/cdm/dto/MediaInstanceTO.java -text
-cdmlibrary/src/main/java/eu/etaxonomy/cdm/dto/MediaTO.java -text
-cdmlibrary/src/main/java/eu/etaxonomy/cdm/dto/NameRelationshipTO.java -text
-cdmlibrary/src/main/java/eu/etaxonomy/cdm/dto/NameSTO.java -text
-cdmlibrary/src/main/java/eu/etaxonomy/cdm/dto/NameTO.java -text
-cdmlibrary/src/main/java/eu/etaxonomy/cdm/dto/NameTypeDesignationTO.java -text
-cdmlibrary/src/main/java/eu/etaxonomy/cdm/dto/ReferenceTO.java -text
-cdmlibrary/src/main/java/eu/etaxonomy/cdm/dto/ReferencedEntityBaseTO.java -text
-cdmlibrary/src/main/java/eu/etaxonomy/cdm/dto/RightsTO.java -text
-cdmlibrary/src/main/java/eu/etaxonomy/cdm/dto/SynonymRelationshipTO.java -text
-cdmlibrary/src/main/java/eu/etaxonomy/cdm/dto/TagEnum.java -text
-cdmlibrary/src/main/java/eu/etaxonomy/cdm/dto/TaggedText.java -text
-cdmlibrary/src/main/java/eu/etaxonomy/cdm/dto/TaxonRelationshipTO.java -text
-cdmlibrary/src/main/java/eu/etaxonomy/cdm/dto/TaxonSTO.java -text
-cdmlibrary/src/main/java/eu/etaxonomy/cdm/dto/TaxonTO.java -text
-cdmlibrary/src/main/java/eu/etaxonomy/cdm/dto/assembler/TaxonTOAssembler.java -text
-cdmlibrary/src/main/java/eu/etaxonomy/cdm/dto/package.html -text
cdmlibrary/src/main/java/eu/etaxonomy/cdm/persistence/dao/common/AgentDaoImpl.java -text
cdmlibrary/src/main/java/eu/etaxonomy/cdm/persistence/dao/common/CdmEntityDaoBase.java -text
cdmlibrary/src/main/java/eu/etaxonomy/cdm/persistence/dao/common/CdmGenericDaoImpl.java -text
+++ /dev/null
-/**\r
-* Copyright (C) 2007 EDIT\r
-* European Distributed Institute of Taxonomy \r
-* http://www.e-taxonomy.eu\r
-* \r
-* The contents of this file are subject to the Mozilla Public License Version 1.1\r
-* See LICENSE.TXT at the top of this package for the full license terms.\r
-*/\r
-\r
-package eu.etaxonomy.cdm.dto;\r
-\r
-import java.util.Calendar;\r
-\r
-/**\r
- * Data Transfer Object representing derived from the domain object {@link CdmBase}. \r
- * \r
- * @author a.kohlbecker\r
- * @author m.doering\r
- * @version 1.0\r
- * @created 11.12.2007 11:14:44\r
- *\r
- */\r
-public class BaseTO {\r
- \r
- private String uuid;\r
- private Calendar created;\r
- private String createdBy;\r
- private Calendar updated;\r
- private String updatedBy;\r
- \r
- public String getUuid() {\r
- return uuid;\r
- }\r
- public void setUuid(String uuid) {\r
- this.uuid = uuid;\r
- }\r
- public Calendar getCreated() {\r
- return created;\r
- }\r
- public void setCreated(Calendar created) {\r
- this.created = created;\r
- }\r
- public String getCreatedBy() {\r
- return createdBy;\r
- }\r
- public void setCreatedBy(String createdBy) {\r
- this.createdBy = createdBy;\r
- }\r
- public Calendar getUpdated() {\r
- return updated;\r
- }\r
- public void setUpdated(Calendar updated) {\r
- this.updated = updated;\r
- }\r
- public String getUpdatedBy() {\r
- return updatedBy;\r
- }\r
- public void setUpdatedBy(String updatedBy) {\r
- this.updatedBy = updatedBy;\r
- }\r
- \r
- \r
- \r
-\r
-}\r
+++ /dev/null
-/**\r
-* Copyright (C) 2007 EDIT\r
-* European Distributed Institute of Taxonomy \r
-* http://www.e-taxonomy.eu\r
-* \r
-* The contents of this file are subject to the Mozilla Public License Version 1.1\r
-* See LICENSE.TXT at the top of this package for the full license terms.\r
-*/\r
-\r
-package eu.etaxonomy.cdm.dto;\r
-\r
-/**\r
- * A String globally uniquely identified by an uuid.\r
- * \r
- * @author a.kohlbecker\r
- * @version 1.0\r
- * @created 11.12.2007 14:13:29\r
- *\r
- */\r
-public class IdentifiedString {\r
- \r
- private String uuid;\r
- private String value;\r
- \r
- public String getUuid() {\r
- return uuid;\r
- }\r
- public void setUuid(String uuid) {\r
- this.uuid = uuid;\r
- }\r
- public String getText() {\r
- return value;\r
- }\r
- public void setText(String text) {\r
- this.value = text;\r
- }\r
- \r
-\r
-}\r
+++ /dev/null
-/**\r
-* Copyright (C) 2007 EDIT\r
-* European Distributed Institute of Taxonomy \r
-* http://www.e-taxonomy.eu\r
-* \r
-* The contents of this file are subject to the Mozilla Public License Version 1.1\r
-* See LICENSE.TXT at the top of this package for the full license terms.\r
-*/\r
-\r
-package eu.etaxonomy.cdm.dto;\r
-\r
-import eu.etaxonomy.cdm.model.common.CdmBase;\r
-\r
-/**\r
- * Transfer object derived from {@link LanguageString} excluding some {@link CdmBase} fields\r
- * \r
- * Term descriptions are to be delivered by a separate web service request\r
- * \r
- * @author a.kohlbecker\r
- * @author m.doering\r
- * @version 1.0\r
- * @created 11.12.2007 12:10:45\r
- *\r
- */\r
-public class LocalisedTermTO {\r
-\r
- private String term;\r
- private String uuid;\r
- private String language;\r
- \r
- public String getLanguage() {\r
- return language;\r
- }\r
- public void setLanguage(String language) {\r
- this.language = language;\r
- }\r
-}\r
+++ /dev/null
-package eu.etaxonomy.cdm.dto;
-
-public class MediaInstanceTO {
-
-}
+++ /dev/null
-/**\r
-* Copyright (C) 2007 EDIT\r
-* European Distributed Institute of Taxonomy \r
-* http://www.e-taxonomy.eu\r
-* \r
-* The contents of this file are subject to the Mozilla Public License Version 1.1\r
-* See LICENSE.TXT at the top of this package for the full license terms.\r
-*/\r
-\r
-package eu.etaxonomy.cdm.dto;\r
-\r
-import java.util.Calendar;\r
-import java.util.HashSet;\r
-import java.util.Set;\r
-\r
-import eu.etaxonomy.cdm.model.agent.Agent;\r
-import eu.etaxonomy.cdm.model.common.MediaInstance;\r
-import eu.etaxonomy.cdm.model.common.MultilanguageSet;\r
-import eu.etaxonomy.cdm.model.common.Rights;\r
-\r
-\r
-/**\r
- * \r
- * @author a.kohlbecker\r
- * @version 1.0\r
- * @created 11.12.2007 12:13:42\r
- *\r
- */\r
-public class MediaTO extends BaseTO {\r
-\r
- private Set<LocalisedTermTO> title;\r
- /** \r
- * creation date of the media (not of the record)\r
- */\r
- private Calendar mediaCreated;\r
- private Set<LocalisedTermTO> description;\r
- /**\r
- * A single medium such as a picture can have multiple representations in files. \r
- * Common are multiple resolutions or file\r
- * formats for images for example\r
- */\r
- \r
- //FIXME: Is it required to have the instances right in here?\r
- private Set<MediaInstanceTO> instances = new HashSet();\r
- \r
- private Set<RightsTO> rights;\r
- private IdentifiedString artist;\r
- \r
-}\r
+++ /dev/null
-/**\r
-* Copyright (C) 2007 EDIT\r
-* European Distributed Institute of Taxonomy \r
-* http://www.e-taxonomy.eu\r
-* \r
-* The contents of this file are subject to the Mozilla Public License Version 1.1\r
-* See LICENSE.TXT at the top of this package for the full license terms.\r
-*/\r
-\r
-package eu.etaxonomy.cdm.dto;\r
-\r
-import java.util.ArrayList;\r
-import java.util.List;\r
-\r
-/**\r
- * \r
- * @author a.kohlbecker\r
- * @version 1.0\r
- * @created 11.12.2007 12:10:57\r
- *\r
- */\r
-public class NameRelationshipTO extends ReferencedEntityBaseTO {\r
- \r
- private LocalisedTermTO type;\r
- \r
- private String ruleConsidered;\r
-\r
- // basic data on the referenced Name object:\r
- private NameSTO name;\r
- \r
-}\r
+++ /dev/null
-/**\r
-* Copyright (C) 2007 EDIT\r
-* European Distributed Institute of Taxonomy \r
-* http://www.e-taxonomy.eu\r
-* \r
-* The contents of this file are subject to the Mozilla Public License Version 1.1\r
-* See LICENSE.TXT at the top of this package for the full license terms.\r
-*/\r
-package eu.etaxonomy.cdm.dto;\r
-\r
-import java.util.ArrayList;\r
-import java.util.List;\r
-\r
-/**\r
- * Simple Transfer Object version of {@link NameTO}\r
- * \r
- * @author a.kohlbecker\r
- * @version 1.0\r
- * @created 11.12.2007 14:40:26\r
- */\r
-public class NameSTO {\r
- \r
- private String uuid;\r
- \r
- private String fullname;\r
- \r
- private List<TaggedText> taggedName = new ArrayList();\r
- \r
-}\r
+++ /dev/null
-/**
-* Copyright (C) 2007 EDIT
-* European Distributed Institute of Taxonomy
-* http://www.e-taxonomy.eu
-*
-* The contents of this file are subject to the Mozilla Public License Version 1.1
-* See LICENSE.TXT at the top of this package for the full license terms.
-*/
-
-package eu.etaxonomy.cdm.dto;
-
-import java.util.ArrayList;
-import java.util.HashSet;
-import java.util.List;
-import java.util.Set;
-
-import eu.etaxonomy.cdm.model.name.HomotypicalGroup;
-import eu.etaxonomy.cdm.model.name.NameTypeDesignation;
-
-
-/**
- * Data Transfer Object representing a taxonomic Name. The fields are mainly derived from the
- * domain object {@link TaxonNameBase}. The field <code>typeDesignations</code> however is not
- * included since these will obtained by a separate call to the web service.
- *
- * @author a.kohlbecker
- * @author m.doering
- * @version 1.0 $Id$
- * @created 11.12.2007 11:04:42
- */
-public class NameTO extends BaseTO {
-
- private String fullname;
- private List<TaggedText> taggedName = new ArrayList<TaggedText>();
-
- private Set<LocalisedTermTO> status = new HashSet<LocalisedTermTO>();
- private LocalisedTermTO rank;
- private ReferenceTO nomenclaturalReference;
-
- private NameTO basionym;
- private Set<NameSTO> homotypicalGroup = new HashSet<NameSTO>();
- private Set<NameRelationshipTO> nameRelations = new HashSet<NameRelationshipTO>();
- private Set<NameTO> newCombinations = new HashSet<NameTO>();
- private Set<ReferenceTO> typeDesignations = new HashSet<ReferenceTO>();
-
-
- public String getFullname() {
- return fullname;
- }
-
- public void setFullname(String fullname) {
- this.fullname = fullname;
- }
-
- public List<TaggedText> getTaggedName() {
- return taggedName;
- }
-
- protected void addNameToken(TaggedText token) {
- this.taggedName.add(token);
- }
-
- public void setTypeDesignations(Set<ReferenceTO> typeDesignations) {
- this.typeDesignations = typeDesignations;
- }
-
- public void addNameRelation(NameRelationshipTO nameRelation) {
- this.nameRelations.add(nameRelation);
- }
-
- public void addStatus(LocalisedTermTO status) {
- this.status.add(status);
- }
-
- public void setRank(LocalisedTermTO rank) {
- this.rank = rank;
- }
-
- public void setNomenclaturalReference(ReferenceTO nomenclaturalReference) {
- this.nomenclaturalReference = nomenclaturalReference;
- }
-
- public Set<ReferenceTO> getTypeDesignations() {
- return typeDesignations;
- }
-
- public Set<NameRelationshipTO> getNameRelations() {
- return nameRelations;
- }
-
- public Set<LocalisedTermTO> getStatus() {
- return status;
- }
-
- public LocalisedTermTO getRank() {
- return rank;
- }
-
- public ReferenceTO getNomenclaturalReference() {
- return nomenclaturalReference;
- }
-
- public Set<NameTO> getNewCombinations() {
- return newCombinations;
- }
-
- public NameTO getBasionym() {
- return basionym;
- }
-
- public void addNewCombination(NameTO newCombination) {
- this.newCombinations.add(newCombination);
- }
-
- public void setBasionym(NameTO basionym) {
- this.basionym = basionym;
- }
-
-}
+++ /dev/null
-/**\r
-* Copyright (C) 2007 EDIT\r
-* European Distributed Institute of Taxonomy \r
-* http://www.e-taxonomy.eu\r
-* \r
-* The contents of this file are subject to the Mozilla Public License Version 1.1\r
-* See LICENSE.TXT at the top of this package for the full license terms.\r
-*/\r
-\r
-package eu.etaxonomy.cdm.dto;\r
-\r
-public class NameTypeDesignationTO extends ReferencedEntityBaseTO {\r
- \r
- private boolean isRejectedType;\r
- private boolean isConservedType;\r
-\r
-}\r
+++ /dev/null
-/**\r
-* Copyright (C) 2007 EDIT\r
-* European Distributed Institute of Taxonomy \r
-* http://www.e-taxonomy.eu\r
-* \r
-* The contents of this file are subject to the Mozilla Public License Version 1.1\r
-* See LICENSE.TXT at the top of this package for the full license terms.\r
-*/\r
-\r
-package eu.etaxonomy.cdm.dto;\r
-\r
-import java.util.Set;\r
-\r
-public class ReferenceTO extends BaseTO{\r
- \r
- /**\r
- * URIs like DOIs, LSIDs or Handles for this reference\r
- */\r
- private String uri;\r
- /**\r
- * \r
- */\r
- private String authorship;\r
- \r
- private String citation;\r
- /**\r
- * Details of the nomenclatural reference (protologue). These are mostly (implicitly) pages but can also be figures or\r
- * tables or any other element of a publication. {only if a nomenclatural reference exists}\r
- */\r
- private String microReference;\r
- /**\r
- * year of the publication \r
- */\r
- private String year;\r
- \r
- private Set<IdentifiedString> media_uri;\r
-}\r
+++ /dev/null
-/**\r
-* Copyright (C) 2007 EDIT\r
-* European Distributed Institute of Taxonomy \r
-* http://www.e-taxonomy.eu\r
-* \r
-* The contents of this file are subject to the Mozilla Public License Version 1.1\r
-* See LICENSE.TXT at the top of this package for the full license terms.\r
-*/\r
-\r
-package eu.etaxonomy.cdm.dto;\r
-\r
-import eu.etaxonomy.cdm.model.reference.ReferenceBase;\r
-\r
-public class ReferencedEntityBaseTO extends BaseTO{\r
- \r
- private String citationMicroReference;\r
- private String originalNameString;\r
- private ReferenceBase citation;\r
-\r
-}\r
+++ /dev/null
-package eu.etaxonomy.cdm.dto;\r
-\r
-import eu.etaxonomy.cdm.model.common.RightsTerm;\r
-\r
-public class RightsTO extends LocalisedTermTO {\r
- private String uri;\r
- private String abbreviatedText;\r
- private RightsTerm type;\r
-}\r
+++ /dev/null
-/**\r
-* Copyright (C) 2007 EDIT\r
-* European Distributed Institute of Taxonomy \r
-* http://www.e-taxonomy.eu\r
-* \r
-* The contents of this file are subject to the Mozilla Public License Version 1.1\r
-* See LICENSE.TXT at the top of this package for the full license terms.\r
-*/\r
-package eu.etaxonomy.cdm.dto;\r
-\r
-\r
-public class SynonymRelationshipTO {\r
- \r
- private TaxonSTO synoynm;\r
- private LocalisedTermTO type;\r
-\r
-}\r
+++ /dev/null
-/**
-* Copyright (C) 2007 EDIT
-* European Distributed Institute of Taxonomy
-* http://www.e-taxonomy.eu
-*
-* The contents of this file are subject to the Mozilla Public License Version 1.1
-* See LICENSE.TXT at the top of this package for the full license terms.
-*/
-
-package eu.etaxonomy.cdm.dto;
-
-/**
- * Tags for atomised taxon name strings and atomised reference citation strings.
- * Used by {@link TaggedText}.
- *
- * @author a.kohlbecker
- * @version 1.0
- * @created 13.12.2007 12:04:15
- *
- */
-public enum TagEnum {
-
- /**
- * A taxon name including genus name, epithet etc.
- */
- name,
- /**
- * Non-atomised addition to a taxon name not ruled by a nomenclatural code
- */
- appendedPhrase,
- /**
- * The authors of a reference, also used in taxon names
- */
- authors,
- /**
- * a reference
- */
- reference,
- /**
- * Volume, page number etc. of a reference
- */
- microreference,
- /**
- * publication year of a reference
- */
- year,
-}
+++ /dev/null
-/**
-* Copyright (C) 2007 EDIT
-* European Distributed Institute of Taxonomy
-* http://www.e-taxonomy.eu
-*
-* The contents of this file are subject to the Mozilla Public License Version 1.1
-* See LICENSE.TXT at the top of this package for the full license terms.
-*/
-
-package eu.etaxonomy.cdm.dto;
-
-/**
- *
- * @author a.kohlbecker
- * @author m.doering
- * @version 1.0
- * @created 11.12.2007 12:11:19
- *
- */
-public class TaggedText {
-
- private String text;
- private TagEnum type;
-
- public String getText() {
- return text;
- }
- public void setText(String text) {
- this.text = text;
- }
- public TagEnum getType() {
- return type;
- }
- public void setType(TagEnum type) {
- this.type = type;
- }
-
-}
+++ /dev/null
-/**\r
-* Copyright (C) 2007 EDIT\r
-* European Distributed Institute of Taxonomy \r
-* http://www.e-taxonomy.eu\r
-* \r
-* The contents of this file are subject to the Mozilla Public License Version 1.1\r
-* See LICENSE.TXT at the top of this package for the full license terms.\r
-*/\r
-package eu.etaxonomy.cdm.dto;\r
-\r
-import eu.etaxonomy.cdm.model.taxon.ConceptRelationshipType;\r
-import eu.etaxonomy.cdm.model.taxon.Taxon;\r
-\r
-public class TaxonRelationshipTO {\r
- \r
- private LocalisedTermTO type;\r
- private TaxonSTO taxon;\r
-\r
-}\r
+++ /dev/null
-/**\r
-* Copyright (C) 2007 EDIT\r
-* European Distributed Institute of Taxonomy \r
-* http://www.e-taxonomy.eu\r
-* \r
-* The contents of this file are subject to the Mozilla Public License Version 1.1\r
-* See LICENSE.TXT at the top of this package for the full license terms.\r
-*/\r
-package eu.etaxonomy.cdm.dto;\r
-\r
-import java.util.UUID;\r
-\r
-import eu.etaxonomy.cdm.model.taxon.Synonym;\r
-\r
-\r
-/**\r
- * This Simple Transfer Object (STO) is used as surrogate for instances of {@link Taxon} and {@link Synonym}, \r
- * thus a TaxonSTO my represent accepted ad unaccepted taxa. Therefore the flag isAccepted has been introduced \r
- * by which accepted taxa can be clearly identified.\r
- * \r
- * @author a.kohlbecker\r
- * @version 1.0\r
- * @created 13.12.2007 14:55:32\r
- *\r
- */\r
-public class TaxonSTO {\r
- \r
- private NameSTO name;\r
- private UUID sec_uuid;\r
- private boolean isAccepted;\r
- \r
-}\r
+++ /dev/null
-/**
-* Copyright (C) 2007 EDIT
-* European Distributed Institute of Taxonomy
-* http://www.e-taxonomy.eu
-*
-* The contents of this file are subject to the Mozilla Public License Version 1.1
-* See LICENSE.TXT at the top of this package for the full license terms.
-*/
-
-package eu.etaxonomy.cdm.dto;
-
-import java.util.HashSet;
-import java.util.Set;
-
-import eu.etaxonomy.cdm.model.taxon.Taxon;
-
-/**
- * Data Transfer Object derived from {@link Taxon}.
- * The TaxonTO is always the accepted taxon.
- * Descriptions are not included, and therefore have to be queried separately from the web service.
- *
- * @author a.kohlbecker
- * @author m.doering
- * @version 1.0
- * @created 11.12.2007 12:11:29
- *
- */
-public class TaxonTO extends BaseTO {
-
- private NameSTO name;
- /**
- * The concept reference
- */
- private ReferenceTO sec;
-
- private Set<SynonymRelationshipTO> synonyms = new HashSet();
- private Set<TaxonRelationshipTO> taxonRelations = new HashSet();
-
-}
+++ /dev/null
-package eu.etaxonomy.cdm.dto.assembler;
-
-public class TaxonTOAssembler {
-
-}
+++ /dev/null
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">\r
-<html>\r
-<head>\r
-<!--\r
-\r
- @(#)package.html\r
-\r
- Copyright (C) 2007 EDIT\r
- European Distributed Institute of Taxonomy \r
- http://www.e-taxonomy.eu\r
- \r
- The contents of this file are subject to the Mozilla Public License Version 1.1\r
- See LICENSE.TXT at the top of this package for the full license terms.\r
-\r
--->\r
-</head>\r
-<body bgcolor="white">\r
-\r
-Provides classes for data transfer of Data Access Object (DAO)\r
-level classes via web services. \r
-<p>\r
-Among real Data Transfer Objects (DTO) \r
-herein are also some classes which are helper datataypes like \r
-{@see IdentifiedString}, {@see TaggedText}, etc.\r
-Apart from the DTOs which reproduce the DAO quite detailed this package \r
-contains fairly simple derivations. These transfer objects are referred \r
-to in the following as Simple Data Transfer Objects (SDTO).\r
-<p>\r
-The DTO (Data Transfer Object) classes are named according to the\r
-following convention:\r
-<ul>\r
- <li>Data Transfer Objects (DTO): {classname of the deduces DAO class}TO</li>\r
- <li>Simple Data Transfer Objects (SDTO): {classname of the deduces DAO class}STO</li>\r
-</ul>\r
-\r
-<h2>Package Specification</h2>\r
-\r
-\r
-\r
-\r
-<h2>Related Documentation</h2>\r
-\r
-<ul>\r
- <li><a href="http://java.sun.com/blueprints/corej2eepatterns/Patterns/TransferObjectAssembler.html">Data Transfer Object and Assembler Patterns</a></li>\r
-</ul>\r
-\r
-<!-- Put @see and @since tags down here. -->\r
-\r
-</body>\r
-</html>\r