* This class is an RDF representation of the {@link eu.etaxonomy.cdm.remote.dto.namecatalogue.NameInformation NameInformation}
*
* @author c.mathew
- * @version 1.1.0
* @since 25-Nov-2012
*/
-
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "NameInformation", propOrder = {
"scientificNameID",
})
@XmlRootElement(name = "NameInformation", namespace = "http://cybertaxonomy.eu/cdm/ontology/voc/NameInformation#")
public class NameInformationRdf extends BaseThing {
-
+
@XmlElement(namespace = "http://rs.tdwg.org/dwc/terms/")
private String scientificNameID;
-
+
@XmlElement(namespace = "http://rs.tdwg.org/ontology/voc/TaxonName#")
private String nameComplete;
-
+
@XmlElement(namespace = "http://purl.org/dc/elements/1.1/")
private String title;
-
+
@XmlElement(namespace = "http://rs.tdwg.org/ontology/voc/TaxonName#")
- private String rankString;
-
+ private String rankString;
+
@XmlElement(namespace = "http://purl.org/dc/terms/")
private String references;
@XmlElement(namespace = "http://rs.tdwg.org/dwc/terms/")
private List<String> typeStatus;
-
+
@XmlElement(name = "hasRelationship", namespace = "http://rs.tdwg.org/ontology/voc/TaxonConcept#")
private Set<HasRelationship> hasRelationships = null;
-
+
@XmlTransient
private Set<String> taxonUuids;
-
-
+
+
public Set<String> getTaxonUuids() {
return taxonUuids;
}
Set<Relationship> relationships = new HashSet<Relationship>();
Iterator<String> itr = taxonUuids.iterator();
while(itr.hasNext()) {
- String uuid = itr.next();
+ String uuid = itr.next();
try {
TaxonConcept tc = new TaxonConcept();
tc.setIdentifier(new URI("urn:uuid:" + uuid));
Relationship rel = new Relationship();
rel.setToTaxon(tc);
relationships.add(rel);
-
+
} catch (URISyntaxException e) {
// TODO Auto-generated catch block
//e.printStackTrace();
public String getScientificNameID() {
return scientificNameID;
}
-
+
public void setScientificNameID(String scientificNameID) {
this.scientificNameID = scientificNameID;
}
-
+
public String getNameComplete() {
return nameComplete;
}
this.nameComplete = nameComplete;
}
- public String getTitle() {
+ @Override
+ public String getTitle() {
return title;
}
- public void setTitle(String title) {
+ @Override
+ public void setTitle(String title) {
this.title = title;
}
public void setRankString(String rankString) {
this.rankString = rankString;
}
-
+
public String getReferences() {
return references;
}
public void setReferences(String references) {
this.references = references;
}
-
+
public List<String> getTypeStatus() {
return typeStatus;
}
+/**\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.remote.dto.tdwg.voc;\r
\r
import javax.xml.bind.annotation.XmlAccessType;\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
package eu.etaxonomy.cdm.remote.dto.tdwg.voc;\r
\r
import java.util.HashMap;\r
})\r
@XmlRootElement(name = "InfoItem", namespace = "http://rs.tdwg.org/ontology/voc/SpeciesProfileModel#")\r
public class InfoItem extends Description {\r
- \r
+\r
@XmlElement(name = "associatedTaxon", namespace = "http://rs.tdwg.org/ontology/voc/SpeciesProfileModel#")\r
private AssociatedTaxon associatedTaxon;\r
- \r
+\r
@XmlElement(name = "category", namespace = "http://rs.tdwg.org/ontology/voc/SpeciesProfileModel#")\r
private DefinedTermLinkType category;\r
- \r
+\r
@XmlElement(name = "context", namespace = "http://rs.tdwg.org/ontology/voc/SpeciesProfileModel#")\r
private Set<StringType> context;\r
- \r
+\r
@XmlElement(name = "hasContent", namespace = "http://rs.tdwg.org/ontology/voc/SpeciesProfileModel#")\r
private Set<StringType> hasContent;\r
- \r
+\r
@XmlElement(name = "contextValue", namespace = "http://rs.tdwg.org/ontology/voc/SpeciesProfileModel#")\r
private Set<DefinedTermLinkType> contextValues = null;\r
- \r
+\r
@XmlElement(name = "hasValue", namespace = "http://rs.tdwg.org/ontology/voc/SpeciesProfileModel#")\r
private Set<DefinedTermLinkType> hasValues = null;\r
- \r
+\r
public TaxonConcept getAssociatedTaxon() {\r
return associatedTaxon != null ? associatedTaxon.getTaxonConcept() : null;\r
}\r
public void setAssociatedTaxon(TaxonConcept taxonConcept) {\r
this.associatedTaxon = new AssociatedTaxon(taxonConcept, false);\r
}\r
- \r
+\r
public TaxonConcept getAssocatedTaxonRelation() {\r
return associatedTaxon != null ? associatedTaxon.getTaxonConcept() : null;\r
}\r
public void setAssociatedTaxonRelation(TaxonConcept taxonConcept) {\r
this.associatedTaxon = new AssociatedTaxon(taxonConcept, true);\r
}\r
- \r
+\r
public Map<Object,StringType> getContext() {\r
if(context != null) {\r
Map<Object,StringType> contextMap = new HashMap<Object,StringType>();\r
this.hasContent = null;\r
}\r
}\r
- \r
+\r
public DefinedTerm getCategory() {\r
return category != null ? category.getDefinedTerm() : null;\r
}\r
public void setCategory(DefinedTerm definedTerm) {\r
this.category = new DefinedTermLinkType(definedTerm, false);\r
}\r
- \r
+\r
public DefinedTerm getCategoryRelation() {\r
return category != null ? category.getDefinedTerm() : null;\r
}\r
public void setCategoryRelation(DefinedTerm definedTerm) {\r
this.category = new DefinedTermLinkType(definedTerm, true);\r
}\r
- \r
+\r
public Set<DefinedTerm> getContextValue() {\r
if(contextValues != null) {\r
Set<DefinedTerm> definedTerms = new HashSet<DefinedTerm>();\r
contextValues = null;\r
}\r
}\r
- \r
+\r
public DefinedTerm getSingleContextValue() {\r
if(contextValues != null) {\r
DefinedTerm definedTerm = null;\r
contextValues = null;\r
}\r
}\r
- \r
+\r
public Set<DefinedTerm> getHasValue() {\r
if(hasValues != null) {\r
Set<DefinedTerm> definedTerms = new HashSet<DefinedTerm>();\r
hasValues = null;\r
}\r
}\r
- \r
+\r
public DefinedTerm getHasSingleValue() {\r
if(hasValues != null) {\r
DefinedTerm definedTerm = null;\r
\r
public void setHasSingleValue(DefinedTerm definedTerm) {\r
if(definedTerm != null) {\r
- this.hasValues = new HashSet<DefinedTermLinkType>(); \r
+ this.hasValues = new HashSet<DefinedTermLinkType>();\r
hasValues.add( new DefinedTermLinkType(definedTerm,false));\r
} else {\r
hasValues = null;\r
public static class AssociatedTaxon extends LinkType {\r
@XmlElement(name = "TaxonConcept", namespace = "http://rs.tdwg.org/ontology/voc/TaxonConcept#")\r
private TaxonConcept taxonConcept;\r
- \r
+\r
protected AssociatedTaxon() {}\r
- \r
+\r
protected AssociatedTaxon(TaxonConcept taxonConcept, boolean useRelation) {\r
if(useRelation) {\r
if(taxonConcept != null && taxonConcept.getIdentifier() != null) {\r
this.taxonConcept = taxonConcept;\r
}\r
}\r
- \r
+\r
@XmlAccessorType(XmlAccessType.FIELD)\r
@XmlType(name = "DefinedTermLinkType", propOrder = {\r
"definedTerm"\r
@XmlElement(name = "GeographicRegion", namespace = "http://rs.tdwg.org/ontology/voc/GeographicRegion#", type = GeographicRegion.class)\r
})\r
private DefinedTerm definedTerm;\r
- \r
+\r
protected DefinedTermLinkType() {}\r
- \r
+\r
protected DefinedTermLinkType(DefinedTerm definedTerm, boolean useRelation) {\r
if(useRelation) {\r
if(definedTerm != null && definedTerm.getIdentifier() != null) {\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
+* 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.remote.dto.tdwg.voc;\r
\r
import java.io.Serializable;\r
/**\r
* Copyright (C) 2007 EDIT\r
-* European Distributed Institute of Taxonomy \r
+* European Distributed Institute of Taxonomy\r
* http://www.e-taxonomy.eu\r
-* \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
@XmlRootElement(name = "Relationship",namespace = "http://rs.tdwg.org/ontology/voc/TaxonConcept#")\r
public class Relationship extends BaseThing {\r
- \r
+\r
@XmlElement(name = "fromTaxon", namespace = "http://rs.tdwg.org/ontology/voc/TaxonConcept#")\r
private FromTaxon fromTaxon;\r
- \r
+\r
@XmlElement(namespace = "http://rs.tdwg.org/ontology/voc/TaxonConcept#")\r
private RelationshipCategory relationshipCategory;\r
- \r
+\r
@XmlElement(name = "toTaxon", namespace = "http://rs.tdwg.org/ontology/voc/TaxonConcept#")\r
private ToTaxon toTaxon;\r
- \r
+\r
public TaxonConcept getFromTaxon() {\r
return fromTaxon != null ? fromTaxon.getTaxonConcept() : null;\r
}\r
public void setRelationshipCategory(TaxonRelationshipTerm relationshipCategory) {\r
this.relationshipCategory = new RelationshipCategory(relationshipCategory,false);\r
}\r
- \r
+\r
public TaxonRelationshipTerm getRelationshipCategoryRelation() {\r
return relationshipCategory != null ? relationshipCategory.getTaxonRelationshipTerm() : null;\r
}\r
"taxonConcept"\r
})\r
public static class FromTaxon extends LinkType {\r
- \r
+\r
@XmlElement(name = "TaxonConcept", namespace = "http://rs.tdwg.org/ontology/voc/TaxonConcept#")\r
private TaxonConcept taxonConcept;\r
\r
protected FromTaxon() {}\r
- \r
+\r
protected FromTaxon(TaxonConcept taxonConcept) {\r
if(taxonConcept != null && taxonConcept.getIdentifier() != null) {\r
//this.setResource(taxonConcept.getIdentifier());\r
this.setTaxonConcept(taxonConcept);\r
}\r
}\r
- \r
+\r
protected TaxonConcept getTaxonConcept() {\r
return taxonConcept;\r
}\r
\r
protected void setTaxonConcept(TaxonConcept taxonConcept) {\r
this.taxonConcept = taxonConcept;\r
- } \r
+ }\r
}\r
- \r
+\r
@XmlAccessorType(XmlAccessType.FIELD)\r
@XmlType(name = "ToTaxon", propOrder = {\r
"taxonConcept"\r
})\r
public static class ToTaxon extends LinkType {\r
- \r
+\r
@XmlElement(name = "TaxonConcept", namespace = "http://rs.tdwg.org/ontology/voc/TaxonConcept#")\r
private TaxonConcept taxonConcept;\r
- \r
+\r
protected ToTaxon() {}\r
- \r
+\r
protected ToTaxon(TaxonConcept taxonConcept) {\r
this.setTaxonConcept(taxonConcept);\r
}\r
protected void setTaxonConcept(TaxonConcept taxonConcept) {\r
this.taxonConcept = taxonConcept;\r
}\r
- \r
+\r
}\r
- \r
+\r
@XmlAccessorType(XmlAccessType.FIELD)\r
@XmlType(name = "RelationshipCategory", propOrder = {\r
"taxonRelationshipTerm"\r
})\r
public static class RelationshipCategory extends LinkType {\r
- \r
+\r
@XmlElement(name = "TaxonRelationshipTerm", namespace = "http://rs.tdwg.org/ontology/voc/TaxonConcept#")\r
private TaxonRelationshipTerm taxonRelationshipTerm;\r
- \r
+\r
protected RelationshipCategory() {}\r
- \r
+\r
protected RelationshipCategory(TaxonRelationshipTerm taxonRelationshipTerm, boolean useRelation) {\r
if(useRelation) {\r
if(taxonRelationshipTerm != null) {\r
- if(taxonRelationshipTerm.getIdentifier() != null)\r
- this.setResource(taxonRelationshipTerm.getIdentifier());\r
+ if(taxonRelationshipTerm.getIdentifier() != null) {\r
+ this.setResource(taxonRelationshipTerm.getIdentifier());\r
+ }\r
} else {\r
this.taxonRelationshipTerm = taxonRelationshipTerm;\r
}\r
protected RelationshipCategory(TaxonRelationshipTerm taxonRelationshipTerm) {\r
this.taxonRelationshipTerm = taxonRelationshipTerm;\r
}\r
- \r
+\r
}\r
}\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
package eu.etaxonomy.cdm.remote.dto.tdwg.voc;\r
\r
import java.util.HashSet;\r
})\r
@XmlRootElement(name = "SpeciesProfileModel", namespace = "http://rs.tdwg.org/ontology/voc/SpeciesProfileModel#")\r
public class SpeciesProfileModel extends Description implements CycleRecoverable {\r
- \r
+\r
@XmlElement(name = "aboutTaxon", namespace = "http://rs.tdwg.org/ontology/voc/SpeciesProfileModel#")\r
private AboutTaxon aboutTaxon;\r
- \r
+\r
@XmlElement(name = "hasInformation", namespace = "http://rs.tdwg.org/ontology/voc/SpeciesProfileModel#")\r
private Set<HasInformation> hasInformations = null;\r
- \r
+\r
public TaxonConcept getAboutTaxon() {\r
return aboutTaxon != null ? aboutTaxon.getTaxonConcept() : null;\r
}\r
public void setAboutTaxon(TaxonConcept taxonConcept) {\r
this.aboutTaxon = new AboutTaxon(taxonConcept, false);\r
}\r
- \r
+\r
public TaxonConcept getAboutTaxonRelation() {\r
return aboutTaxon != null ? aboutTaxon.getTaxonConcept() : null;\r
}\r
public void setAboutTaxonRelation(TaxonConcept taxonConcept) {\r
this.aboutTaxon = new AboutTaxon(taxonConcept, true);\r
}\r
- \r
+\r
public Set<InfoItem> getHasInformation() {\r
if(hasInformations != null) {\r
- Set<InfoItem> infoItems = new HashSet<InfoItem>();\r
+ Set<InfoItem> infoItems = new HashSet<>();\r
for(HasInformation hasInformation : hasInformations) {\r
infoItems.add(hasInformation.getInfoItem());\r
}\r
\r
public void setHasInformation(Set<InfoItem> infoItems) {\r
if(infoItems != null) {\r
- this.hasInformations = new HashSet<HasInformation>();\r
+ this.hasInformations = new HashSet<>();\r
for(InfoItem infoItem : infoItems) {\r
hasInformations.add( new HasInformation(infoItem));\r
}\r
hasInformations = null;\r
}\r
}\r
- \r
+\r
@XmlAccessorType(XmlAccessType.FIELD)\r
@XmlType(name = "AboutTaxon", propOrder = {\r
"taxonConcept"\r
public static class AboutTaxon extends LinkType {\r
@XmlElement(name = "TaxonConcept", namespace = "http://rs.tdwg.org/ontology/voc/TaxonConcept#")\r
private TaxonConcept taxonConcept;\r
- \r
+\r
protected AboutTaxon() {}\r
- \r
+\r
protected AboutTaxon(TaxonConcept taxonConcept, boolean useRelation) {\r
if(useRelation) {\r
if(taxonConcept != null && taxonConcept.getIdentifier() != null) {\r
this.taxonConcept = taxonConcept;\r
}\r
}\r
- \r
+\r
@XmlAccessorType(XmlAccessType.FIELD)\r
@XmlType(name = "HasInformation", propOrder = {\r
"infoItem"\r
\r
@XmlElement(name = "InfoItem", namespace = "http://rs.tdwg.org/ontology/voc/SpeciesProfileModel#")\r
private InfoItem infoItem;\r
- \r
+\r
protected HasInformation() {}\r
- \r
+\r
protected HasInformation(InfoItem infoItem) {\r
this.infoItem = infoItem;\r
}\r
- \r
+\r
protected InfoItem getInfoItem() {\r
return infoItem;\r
}\r
}\r
}\r
\r
- public Object onCycleDetected(Context context) {\r
+ @Override\r
+ public Object onCycleDetected(Context context) {\r
SpeciesProfileModel speciesProfileModel = new SpeciesProfileModel();\r
speciesProfileModel.setIdentifier(super.getIdentifier());\r
speciesProfileModel.setTitle(super.getTitle());\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
package eu.etaxonomy.cdm.remote.dto.tdwg.voc;\r
\r
import javax.xml.bind.annotation.XmlAccessType;\r
public String getValue() {\r
return value;\r
}\r
-\r
public void setValue(String value) {\r
this.value = value;\r
}\r
public String getLang() {\r
return lang;\r
}\r
-\r
public void setLang(String lang) {\r
this.lang = lang;\r
}\r
-}\r
+}
\ No newline at end of file
/**
* Copyright (C) 2007 EDIT
-* European Distributed Institute of Taxonomy
+* 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.
*/
@XmlElement(namespace = "http://rs.tdwg.org/ontology/voc/TaxonConcept#")
private AccordingTo accordingTo;
-
+
@XmlElement(name = "hasName", namespace = "http://rs.tdwg.org/ontology/voc/TaxonConcept#")
private HasName hasName;
-
+
@XmlElement(name = "hasRelationship", namespace = "http://rs.tdwg.org/ontology/voc/TaxonConcept#")
private Set<HasRelationship> hasRelationships = null;
-
+
@XmlElement(name = "describedBy", namespace = "http://rs.tdwg.org/ontology/voc/TaxonConcept#")
private Set<DescribedBy> describedBys = null;
-
+
public Set<Relationship> getHasRelationship() {
if(hasRelationships != null) {
Set<Relationship> relationships = new HashSet<Relationship>();
public void setHasRelationship(Set<Relationship> relationships) {
if(relationships != null) {
- this.hasRelationships = new HashSet<HasRelationship>();
+ this.hasRelationships = new HashSet<>();
for(Relationship relationship : relationships) {
hasRelationships.add( new HasRelationship(relationship));
}
hasRelationships = null;
}
}
-
+
public Set<SpeciesProfileModel> getDescribedBy() {
if(describedBys != null) {
- Set<SpeciesProfileModel> speciesProfileModels = new HashSet<SpeciesProfileModel>();
+ Set<SpeciesProfileModel> speciesProfileModels = new HashSet<>();
for(DescribedBy describedBy : describedBys) {
speciesProfileModels.add(describedBy.getSpeciesProfileModel());
}
public void setHasName(TaxonName taxonName) {
this.hasName = new HasName(taxonName, false);
}
-
+
public TaxonName getHasNameRelation() {
return hasName != null ? hasName.getTaxonName() : null;
}
public Boolean isPrimary() {
return primary;
}
-
+
public Actor getAccordingTo() {
return accordingTo != null ? accordingTo.getActor() : null;
}
public void setAccordingTo(Actor accordingTo) {
this.accordingTo = new AccordingTo(accordingTo, false);
}
-
+
public Actor getAccordingToRelation() {
return accordingTo != null ? accordingTo.getActor() : null;
}
public void setPrimary(Boolean primary) {
this.primary = primary;
}
-
+
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "HasName", propOrder = {
"taxonName"
public static class HasName extends LinkType {
@XmlElement(name = "TaxonName", namespace = "http://rs.tdwg.org/ontology/voc/TaxonName#")
private TaxonName taxonName;
-
+
protected HasName() {}
-
+
protected HasName(TaxonName taxonName, boolean useRelation) {
if(useRelation) {
if(taxonName != null && taxonName.getIdentifier() != null) {
this.taxonName = taxonName;
}
}
-
+
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "HasRelationship", propOrder = {
"relationship"
@XmlElement(name = "Relationship", namespace = "http://rs.tdwg.org/ontology/voc/TaxonConcept#")
private Relationship relationship;
-
+
public HasRelationship() {}
-
+
public HasRelationship(Relationship relationship) {
this.relationship = relationship;
}
-
+
public Relationship getRelationship() {
return relationship;
}
this.relationship = relationship;
}
}
-
+
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AccordingTo", propOrder = {
"actor"
@XmlElement(name = "Team", namespace = "http://rs.tdwg.org/ontology/voc/Team#", type = Team.class)
})
private Actor actor;
-
+
protected AccordingTo() {}
-
+
protected AccordingTo(Actor actor, boolean useRelation) {
if(useRelation) {
if(actor != null && actor.getIdentifier() != null) {
this.actor = actor;
}
}
-
+
protected Actor getActor() {
return actor;
}
this.actor = actor;
}
}
-
+
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DescribedBy", propOrder = {
"speciesProfileModel"
@XmlElement(name = "SpeciesProfileModel", namespace = "http://rs.tdwg.org/ontology/voc/SpeciesProfileModel#")
private SpeciesProfileModel speciesProfileModel;
-
+
protected DescribedBy() {}
-
+
protected DescribedBy(SpeciesProfileModel speciesProfileModel) {
this.speciesProfileModel = speciesProfileModel;
}
-
+
protected SpeciesProfileModel getSpeciesProfileModel() {
return speciesProfileModel;
}
}
}
- public Object onCycleDetected(Context context) {
+ @Override
+ public Object onCycleDetected(Context context) {
TaxonConcept taxonConcept = new TaxonConcept();
taxonConcept.setIdentifier(super.getIdentifier());
taxonConcept.setTitle(super.getTitle());
import eu.etaxonomy.cdm.remote.dto.dc.Relation;\r
import eu.etaxonomy.cdm.remote.dto.namecatalogue.NameInformation;\r
import eu.etaxonomy.cdm.remote.dto.tdwg.voc.InfoItem;\r
-import eu.etaxonomy.cdm.remote.dto.tdwg.voc.PublicationCitation;\r
import eu.etaxonomy.cdm.remote.dto.tdwg.voc.Relationship;\r
import eu.etaxonomy.cdm.remote.dto.tdwg.voc.SpeciesProfileModel;\r
import eu.etaxonomy.cdm.remote.dto.tdwg.voc.StringType;\r
Relation relation = new Relation();\r
relation.setResource(new URI("http://www.example.org/"));\r
taxonConcept.setRelation(relation);\r
- PublicationCitation publicationCitation = new PublicationCitation();\r
+// PublicationCitation publicationCitation = new PublicationCitation();\r
taxonConcept.setPublishedIn("Lorem ipsum dolor");\r
\r
Team team = new Team();\r
\r
TaxonRelationshipTerm taxonRelationshipTerm = new TaxonRelationshipTerm();\r
taxonRelationshipTerm.setIdentifier(new URI("http://rs.e-taxonomy.eu/voc/TaxonRelationshipTerm.rdf"));\r
- Set<Relationship> relationships = new HashSet<Relationship>();\r
+ Set<Relationship> relationships = new HashSet<>();\r
Relationship relationship = new Relationship();\r
relationship.setRelationshipCategory(taxonRelationshipTerm);\r
TaxonConcept t = new TaxonConcept();\r
speciesProfileModel1.setIdentifier(new URI("urn:lsid:example.org:descriptions:1"));\r
speciesProfileModel1.setTitle("Description of Aus aus");\r
\r
- Set<SpeciesProfileModel> speciesProfileModels = new HashSet<SpeciesProfileModel>();\r
+ Set<SpeciesProfileModel> speciesProfileModels = new HashSet<>();\r
speciesProfileModels.add(speciesProfileModel1);\r
taxonConcept.setDescribedBy(speciesProfileModels);\r
rdf = new Rdf();\r