Taxon taxon = CdmBase.deproxy(node.getTaxon(), Taxon.class);\r
DwcaTaxRecord record = new DwcaTaxRecord(metaRecord, config);\r
\r
- INonViralName name = taxon.getName();\r
+ TaxonName name = taxon.getName();\r
Taxon parent = node.getParent() == null ? null : node.getParent().getTaxon();\r
TaxonName basionym = name.getBasionym();\r
Classification classification = node.getClassification();\r
if (type == null){ // should not happen\r
type = SynonymType.SYNONYM_OF();\r
}\r
- INonViralName name = synonym.getName();\r
+ TaxonName name = synonym.getName();\r
//????\r
Taxon parent = null;\r
TaxonName basionym = name.getBasionym();\r
for (Taxon misappliedName : misappliedNames ){\r
DwcaTaxRecord record = new DwcaTaxRecord(metaRecord, config);\r
TaxonRelationshipType relType = TaxonRelationshipType.MISAPPLIED_NAME_FOR();\r
- INonViralName name = misappliedName.getName();\r
+ TaxonName name = misappliedName.getName();\r
//????\r
Taxon parent = null;\r
TaxonName basionym = name.getBasionym();\r
* @param config\r
* @param type\r
*/\r
- private void handleTaxonBase(DwcaTaxRecord record, TaxonBase<?> taxonBase, INonViralName name,\r
+ private void handleTaxonBase(DwcaTaxRecord record, TaxonBase<?> taxonBase, TaxonName name,\r
Taxon acceptedTaxon, Taxon parent, TaxonName basionym, Classification classification,\r
RelationshipTermBase<?> relType, boolean isProParte, boolean isPartial, DwcaTaxExportConfigurator config) {\r
record.setId(taxonBase.getId());\r
import eu.etaxonomy.cdm.io.dwca.TermUri;\r
import eu.etaxonomy.cdm.model.common.Language;\r
import eu.etaxonomy.cdm.model.media.Rights;\r
-import eu.etaxonomy.cdm.model.name.ITaxonNameBase;\r
import eu.etaxonomy.cdm.model.name.NomenclaturalCode;\r
import eu.etaxonomy.cdm.model.name.NomenclaturalStatusType;\r
import eu.etaxonomy.cdm.model.name.Rank;\r
+import eu.etaxonomy.cdm.model.name.TaxonName;\r
import eu.etaxonomy.cdm.model.taxon.Classification;\r
\r
/**\r
public String getScientificNameId() {\r
return scientificNameId.getId();\r
}\r
- public void setScientificNameId(ITaxonNameBase scientificNameId) {\r
+ public void setScientificNameId(TaxonName scientificNameId) {\r
this.scientificNameId.setId(scientificNameId);\r
}\r
\r
import eu.etaxonomy.cdm.model.location.NamedArea;
import eu.etaxonomy.cdm.model.media.Media;
import eu.etaxonomy.cdm.model.name.INonViralName;
-import eu.etaxonomy.cdm.model.name.ITaxonNameBase;
import eu.etaxonomy.cdm.model.name.NameRelationshipType;
import eu.etaxonomy.cdm.model.name.NomenclaturalCode;
import eu.etaxonomy.cdm.model.name.NomenclaturalStatusType;
*/
private Synonym createSynonym(TaxonExcelImportState state, TaxonBase<?> taxonBase, String synonymNameStr) {
NomenclaturalCode nc = state.getConfig().getNomenclaturalCode();
- ITaxonNameBase name = null;
+ TaxonName name = null;
if (nc.isKindOf(NomenclaturalCode.ICZN)){
name = TaxonNameFactory.NewZoologicalInstance(taxonBase.getName().getRank());
}else if (nc.isKindOf(NomenclaturalCode.ICNAFP)){
import eu.etaxonomy.cdm.model.media.MediaRepresentationPart;\r
import eu.etaxonomy.cdm.model.media.Rights;\r
import eu.etaxonomy.cdm.model.name.INonViralName;\r
-import eu.etaxonomy.cdm.model.name.ITaxonNameBase;\r
import eu.etaxonomy.cdm.model.name.Rank;\r
import eu.etaxonomy.cdm.model.name.TaxonName;\r
import eu.etaxonomy.cdm.model.name.TaxonNameFactory;\r
private Map<String,Reference> publications = new HashMap<>();\r
private Map<String,State> states = new HashMap<>();\r
private Map<String,TaxonDescription> taxonDescriptions = new HashMap<>();\r
- private Map<String,INonViralName> taxonNames = new HashMap<>();\r
+ private Map<String,TaxonName> taxonNames = new HashMap<>();\r
private Map<String,MeasurementUnit> units = new HashMap<>();\r
private Map<String,TaxonNode> taxonNodes = new HashMap<>();\r
private Map<String,NamedArea> namedAreas = new HashMap<>();\r
\r
for (Element elNode : listNodes){\r
String idN = elNode.getAttributeValue("id");\r
- ITaxonNameBase tnb = null;\r
+ TaxonName tnb = null;\r
if (!idN.equals("")) {\r
Element elTaxonName = elNode.getChild("TaxonName", sddNamespace);\r
String refTN = elTaxonName.getAttributeValue("ref");\r
import eu.etaxonomy.cdm.model.description.IndividualsAssociation;
import eu.etaxonomy.cdm.model.description.TaxonDescription;
import eu.etaxonomy.cdm.model.name.INonViralName;
-import eu.etaxonomy.cdm.model.name.ITaxonNameBase;
import eu.etaxonomy.cdm.model.name.NomenclaturalCode;
import eu.etaxonomy.cdm.model.name.Rank;
import eu.etaxonomy.cdm.model.name.SpecimenTypeDesignation;
//check atomised name data for rank
//new name will be created
- ITaxonNameBase atomisedTaxonName = null;
+ TaxonName atomisedTaxonName = null;
if (rank==null && unitIndexInAbcdFile>=0 && ((state.getDataHolder().getAtomisedIdentificationList() != null && !state.getDataHolder().getAtomisedIdentificationList().isEmpty())|| state.getDataHolder().getAtomisedIdentificationList().size() > 0)) {
atomisedTaxonName = setTaxonNameByType(state.getDataHolder().getAtomisedIdentificationList().get(unitIndexInAbcdFile), scientificName, state);
if(atomisedTaxonName!=null){
}
}
if(config.isReuseExistingTaxaWhenPossible()){
- ITaxonNameBase parsedName = atomisedTaxonName;
+ TaxonName parsedName = atomisedTaxonName;
if(parsedName==null){
parsedName = parseScientificName(scientificName, state, state.getReport(), rank);
}
if(taxonName==null && atomisedTaxonName!=null){
- taxonName = (TaxonName) atomisedTaxonName;
+ taxonName = atomisedTaxonName;
state.getReport().addName(taxonName);
logger.info("Created new taxon name "+taxonName);
if(taxonName.hasProblem()){
* @return a parsed name
*/
- protected ITaxonNameBase parseScientificName(String scientificName, STATE state, SpecimenImportReport report, Rank rank) {
+ protected TaxonName parseScientificName(String scientificName, STATE state, SpecimenImportReport report, Rank rank) {
NonViralNameParserImpl nvnpi = NonViralNameParserImpl.NewInstance();
- ITaxonNameBase taxonName = null;
+ TaxonName taxonName = null;
boolean problem = false;
if (logger.isDebugEnabled()){
}
if (state.getDataHolder().getNomenclatureCode().toString().equals("Zoological") || state.getDataHolder().getNomenclatureCode().toString().contains("ICZN")) {
- taxonName = nvnpi.parseFullName(scientificName, NomenclaturalCode.ICZN, rank);
+ taxonName = (TaxonName)nvnpi.parseFullName(scientificName, NomenclaturalCode.ICZN, rank);
if (taxonName.hasProblem()) {
problem = true;
}
}
else if (state.getDataHolder().getNomenclatureCode().toString().equals("Botanical") || state.getDataHolder().getNomenclatureCode().toString().contains("ICBN")) {
- taxonName = nvnpi.parseFullName(scientificName, NomenclaturalCode.ICNAFP, rank);
+ taxonName = (TaxonName)nvnpi.parseFullName(scientificName, NomenclaturalCode.ICNAFP, rank);
if (taxonName.hasProblem()) {
problem = true;
}
}
else if (state.getDataHolder().getNomenclatureCode().toString().equals("Bacterial") || state.getDataHolder().getNomenclatureCode().toString().contains("ICBN")) {
- taxonName = nvnpi.parseFullName(scientificName, NomenclaturalCode.ICNB, rank);
+ taxonName = (TaxonName)nvnpi.parseFullName(scientificName, NomenclaturalCode.ICNB, rank);
if (taxonName.hasProblem()) {
problem = true;
}
}
else if (state.getDataHolder().getNomenclatureCode().toString().equals("Cultivar") || state.getDataHolder().getNomenclatureCode().toString().contains("ICNCP")) {
- taxonName = nvnpi.parseFullName(scientificName, NomenclaturalCode.ICNCP, rank);
+ taxonName = (TaxonName)nvnpi.parseFullName(scientificName, NomenclaturalCode.ICNCP, rank);
if (taxonName.hasProblem()) {
problem = true;
}
}
}
else if (state.getDataHolder().getNomenclatureCode().equals("Botanical") || state.getDataHolder().getNomenclatureCode().equals(NomenclaturalCode.ICNAFP.getUuid())) {
- TaxonName taxonName = (TaxonName)parseScientificName(fullName, state, state.getReport(), null);
+ TaxonName taxonName = parseScientificName(fullName, state, state.getReport(), null);
if (taxonName != null){
return taxonName;
}
import org.apache.log4j.Logger;
import eu.etaxonomy.cdm.io.specimen.SpecimenImportConfiguratorBase;
-import eu.etaxonomy.cdm.model.name.ITaxonNameBase;
+import eu.etaxonomy.cdm.model.name.TaxonName;
import eu.etaxonomy.cdm.model.occurrence.DerivedUnit;
import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase;
import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationType;
private final Map<Taxon, List<UnitIdSpecimen>> taxonToAssociatedSpecimens = new HashMap<>();
private final Map<UnitIdSpecimen, List<UnitIdSpecimen>> derivateMap = new HashMap<>();
private final List<UnitIdSpecimen> alreadyExistingSpecimens = new ArrayList<>();
- private final List<ITaxonNameBase> createdNames = new ArrayList<>();
+ private final List<TaxonName> createdNames = new ArrayList<>();
private final List<TaxonNode> createdTaxonNodes = new ArrayList<>();
private final List<String> infoMessages = new ArrayList<>();
createdTaxa.add(taxon);
}
- public void addName(ITaxonNameBase taxonName){
+ public void addName(TaxonName taxonName){
createdNames.add(taxonName);
}
//taxon name
out.println("---Created Taxon Names ("+createdNames.size()+")---");
- for (ITaxonNameBase taxonName : createdNames) {
+ for (TaxonName taxonName : createdNames) {
out.println(taxonName.getTitleCache());
}
out.println("\n");
import eu.etaxonomy.cdm.model.description.TaxonDescription;
import eu.etaxonomy.cdm.model.location.NamedArea;
import eu.etaxonomy.cdm.model.media.Media;
-import eu.etaxonomy.cdm.model.name.ITaxonNameBase;
import eu.etaxonomy.cdm.model.name.NomenclaturalCode;
import eu.etaxonomy.cdm.model.name.TaxonName;
import eu.etaxonomy.cdm.model.name.TaxonNameFactory;
* @param sec
*/
private void setTaxonName(SpecimenSynthesysExcelImportConfigurator config){
- ITaxonNameBase taxonName = null;
+ TaxonName taxonName = null;
Taxon taxon = null;
String scientificName="";
taxonName = TaxonNameFactory.NewNonViralInstance(null);
taxonName.setTitleCache(scientificName, true);
}
- getNameService().save((TaxonName)taxonName);
+ getNameService().save(taxonName);
taxon = Taxon.NewInstance(taxonName, ref); //sec set null
getTaxonService().save(taxon);
// refreshTransaction();
return (Taxon) getTaxonService().find(taxon.getUuid());
}
- private ITaxonNameBase parseScientificName(String scientificName){
+ private TaxonName parseScientificName(String scientificName){
if (DEBUG) {
logger.debug("in parseScientificName");
}
NonViralNameParserImpl nvnpi = NonViralNameParserImpl.NewInstance();
- ITaxonNameBase taxonName = null;
+ TaxonName taxonName = null;
boolean problem=false;
if (DEBUG) {
}
if (nomenclatureCode.toString().equals("Zoological")){
- taxonName = nvnpi.parseFullName(scientificName,NomenclaturalCode.ICZN,null);
+ taxonName = (TaxonName)nvnpi.parseFullName(scientificName,NomenclaturalCode.ICZN,null);
if (taxonName.hasProblem()) {
problem=true;
}
}
if (nomenclatureCode.toString().equals("Botanical")){
- taxonName = nvnpi.parseFullName(scientificName,NomenclaturalCode.ICNAFP,null);
+ taxonName = (TaxonName)nvnpi.parseFullName(scientificName,NomenclaturalCode.ICNAFP,null);
if (taxonName.hasProblem()) {
problem=true;
}}
if (nomenclatureCode.toString().equals("Bacterial")){
- taxonName = nvnpi.parseFullName(scientificName,NomenclaturalCode.ICNB, null);
+ taxonName = (TaxonName)nvnpi.parseFullName(scientificName,NomenclaturalCode.ICNB, null);
if (taxonName.hasProblem()) {
problem=true;
}
}
if (nomenclatureCode.toString().equals("Cultivar")){
- taxonName = nvnpi.parseFullName(scientificName,NomenclaturalCode.ICNCP, null);
+ taxonName = (TaxonName)nvnpi.parseFullName(scientificName,NomenclaturalCode.ICNCP, null);
if (taxonName.hasProblem()) {
problem=true;
}
import eu.etaxonomy.cdm.model.description.IndividualsAssociation;
import eu.etaxonomy.cdm.model.description.TaxonDescription;
import eu.etaxonomy.cdm.model.description.TextData;
-import eu.etaxonomy.cdm.model.name.ITaxonNameBase;
import eu.etaxonomy.cdm.model.name.TaxonName;
import eu.etaxonomy.cdm.model.occurrence.DerivedUnit;
import eu.etaxonomy.cdm.model.reference.Reference;
* @param refMods
* @param nameToBeFilled
*/
- protected void addSource(Reference refMods, ITaxonNameBase nameToBeFilled) {
+ protected void addSource(Reference refMods, TaxonName nameToBeFilled) {
//logger.info("addSource");
sourceUrlRef=CdmBase.deproxy(sourceUrlRef, Reference.class);
Reference sec = CdmBase.deproxy(configState.getConfig().getSecundum(), Reference.class);
import eu.etaxonomy.cdm.model.description.TaxonNameDescription;
import eu.etaxonomy.cdm.model.description.TextData;
import eu.etaxonomy.cdm.model.name.INonViralName;
-import eu.etaxonomy.cdm.model.name.ITaxonNameBase;
import eu.etaxonomy.cdm.model.name.NomenclaturalCode;
import eu.etaxonomy.cdm.model.name.NomenclaturalStatus;
import eu.etaxonomy.cdm.model.name.NomenclaturalStatusType;
}
- private boolean addFollowingTextToName(ITaxonNameBase nameToBeFilled, String followingText) {
+ private boolean addFollowingTextToName(TaxonName nameToBeFilled, String followingText) {
if (nameToBeFilled != null && StringUtils.isNotBlank(followingText)){
if (! followingText.matches("\\d\\.?")){
if(newNameStatus != null){
nameToBeFilled.setAppendedPhrase(newNameStatus);
}
- sourceHandler.addSource(refMods, nameToBeFilled);
+ sourceHandler.addSource(refMods, TaxonName.castAndDeproxy(nameToBeFilled));
if (nameToBeFilled.getNomenclaturalReference() == null) {
acceptedTaxon= Taxon.NewInstance(nameToBeFilled,refMods);
}else if (childName.equalsIgnoreCase("tax:bibref")){
logger.warn(childName + " still preliminary");
- INonViralName currentName = currentMyName == null ? null : currentMyName.getTaxonName();
+ TaxonName currentName = currentMyName == null ? null : currentMyName.getTaxonName();
boolean handled = addFollowingTextToName (currentName, childNode.getTextContent() );
if (! handled){
setParticularDescription(freetext.trim(), acceptedTaxon,acceptedTaxon, refMods, getNotMarkedUpFeatureObject());
}
if(!stringIsEmpty(freetext.trim())) {;
if (! freetext.matches("\\d\\.?")){
- INonViralName currentName = currentMyName == null ? null : currentMyName.getTaxonName();
+ TaxonName currentName = currentMyName == null ? null : currentMyName.getTaxonName();
boolean handled = false;
if (currentName != null && !wasSynonym){
handled = addFollowingTextToName (currentName, childNode.getTextContent() );
boolean parseNameManually=false;
INonViralNameParser<?> parser = NonViralNameParserImpl.NewInstance();
- ITaxonNameBase nameToBeFilledTest ;
+ TaxonName nameToBeFilledTest ;
//if selected the atomised version
if(newName==atomisedNameStr){
nameToBeFilledTest = parseWithExtension(parser, atomisedNameStr, rank, followingText, atomisedMap);
if (nameToBeFilledTest.hasProblem()){
addProblemNameToFile("ato",atomisedNameStr,nomenclaturalCode,rank, nameToBeFilledTest.getParsingProblems().toString());
- nameToBeFilledTest = parser.parseFullName(fullName, nomenclaturalCode, rank);
+ nameToBeFilledTest = (TaxonName)parser.parseFullName(fullName, nomenclaturalCode, rank);
if (nameToBeFilledTest.hasProblem()){
addProblemNameToFile("full",fullName,nomenclaturalCode,rank, nameToBeFilledTest.getParsingProblems().toString());
parseNameManually=true;
nameToBeFilledTest = parseWithExtension(parser, atomisedNameStr, rank, followingText, atomisedMap);
if (nameToBeFilledTest.hasProblem()){
addProblemNameToFile("fullversion",fullName, nomenclaturalCode,rank, nameToBeFilledTest.getParsingProblems().toString());
- nameToBeFilledTest = parser.parseFullName(fullName, nomenclaturalCode,rank);
+ nameToBeFilledTest = (TaxonName)parser.parseFullName(fullName, nomenclaturalCode,rank);
parseNameManually=true;
if(!originalName.equalsIgnoreCase(atomisedNameStr)) {
addNameDifferenceToFile(originalName,atomisedNameStr);
boolean parseNameManually=false;
INonViralNameParser parser = NonViralNameParserImpl.NewInstance();
- ITaxonNameBase nameToBeFilledTest = null;
+ TaxonName nameToBeFilledTest = null;
//if selected the atomised version
if(newName==atomisedNameStr){
nameToBeFilledTest = parseWithExtension(parser, atomisedNameStr, rank, followingText, atomisedMap);
if (nameToBeFilledTest.hasProblem()){
addProblemNameToFile("ato",atomisedNameStr,nomenclaturalCode,rank, nameToBeFilledTest.getParsingProblems().toString());
- nameToBeFilledTest = parser.parseFullName(fullName, nomenclaturalCode,rank);
+ nameToBeFilledTest = (TaxonName)parser.parseFullName(fullName, nomenclaturalCode,rank);
if (nameToBeFilledTest.hasProblem()){
addProblemNameToFile("full",fullName,nomenclaturalCode,rank, nameToBeFilledTest.getParsingProblems().toString());
parseNameManually=true;
nameToBeFilledTest = parseWithExtension(parser, fullName , rank, followingText, atomisedMap);
if (nameToBeFilledTest.hasProblem()){
addProblemNameToFile("fullversion",fullName,nomenclaturalCode,rank, nameToBeFilledTest.getParsingProblems().toString());
- nameToBeFilledTest = parser.parseFullName(fullName, nomenclaturalCode,rank);
+ nameToBeFilledTest = (TaxonName)parser.parseFullName(fullName, nomenclaturalCode,rank);
parseNameManually=true;
if(!originalName.equalsIgnoreCase(atomisedNameStr)) {
addNameDifferenceToFile(originalName,atomisedNameStr);
}
- private ITaxonNameBase parseWithExtension(INonViralNameParser parser, String atomisedNameStr, Rank rank, String followingText, HashMap<String, String> atomisedMap) {
+ private TaxonName parseWithExtension(INonViralNameParser parser, String atomisedNameStr, Rank rank, String followingText, HashMap<String, String> atomisedMap) {
Object[] nameExtensionResult = getPossibleExtension(followingText, atomisedMap, nomenclaturalCode);
TaxonName name = (TaxonName)parser.parseFullName(atomisedNameStr, nomenclaturalCode, rank);
/**
* @param nameToBeFilledTest
*/
- public void setParsedName(ITaxonNameBase nameToBeFilledTest) {
+ public void setParsedName(TaxonName nameToBeFilledTest) {
this.taxonName = TaxonName.castAndDeproxy(nameToBeFilledTest);
}
boolean insertAsExisting =false;
List<Taxon> existingTaxa = new ArrayList<Taxon>();
try {
- existingTaxa = getMatchingTaxa(tnb);
+ existingTaxa = getMatchingTaxa(TaxonName.castAndDeproxy(tnb));
} catch (Exception e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
* @return
*/
@SuppressWarnings("rawtypes")
- private List<Taxon> getMatchingTaxa(ITaxonNameBase tnb) {
+ private List<Taxon> getMatchingTaxa(TaxonName tnb) {
//logger.info("getMatchingTaxon");
if (tnb.getTitleCache() == null){
tnb.setTitleCache(tnb.toString(), tnb.isProtectedTitleCache());
import eu.etaxonomy.cdm.model.common.Language;
import eu.etaxonomy.cdm.model.common.Representation;
import eu.etaxonomy.cdm.model.name.INonViralName;
-import eu.etaxonomy.cdm.model.name.ITaxonNameBase;
import eu.etaxonomy.cdm.model.name.NameRelationship;
import eu.etaxonomy.cdm.model.name.NameRelationshipType;
import eu.etaxonomy.cdm.model.name.NomenclaturalStatus;
}
- protected void addOriginalSpelling(List<TaggedText> tags, ITaxonNameBase name){
+ protected void addOriginalSpelling(List<TaggedText> tags, TaxonName name){
String originalName = getOriginalNameString(name, tags);
if (StringUtils.isNotBlank(originalName)){
tags.add(new TaggedText(TagEnum.name, originalName));
}
}
- private String getOriginalNameString(ITaxonNameBase currentName, List<TaggedText> originalNameTaggs) {
+ private String getOriginalNameString(TaxonName currentName, List<TaggedText> originalNameTaggs) {
List<String> originalNameStrings = new ArrayList<>(1);
currentName = CdmBase.deproxy(currentName);
//Hibernate.initialize(currentName.getRelationsToThisName());
}
}
- private String makeOriginalNameString(ITaxonNameBase currentName, INonViralName originalName,
+ private String makeOriginalNameString(TaxonName currentName, INonViralName originalName,
List<TaggedText> currentNameTags) {
//use cache if necessary
String cacheToUse = null;
import eu.etaxonomy.cdm.hibernate.HibernateProxyHelper;
import eu.etaxonomy.cdm.model.common.CdmBase;
-import eu.etaxonomy.cdm.model.name.ITaxonNameBase;
import eu.etaxonomy.cdm.model.name.TaxonName;
import eu.etaxonomy.cdm.model.reference.Reference;
import eu.etaxonomy.cdm.model.taxon.Synonym;
return tags;
}
- private <X extends ITaxonNameBase> List<TaggedText> getNameTags(T taxonBase) {
+ private <X extends TaxonName> List<TaggedText> getNameTags(T taxonBase) {
List<TaggedText> tags = new ArrayList<>();
TaxonName name = CdmBase.deproxy(taxonBase.getName());
import eu.etaxonomy.cdm.api.service.pager.impl.DefaultPagerImpl;\r
import eu.etaxonomy.cdm.common.UriUtils;\r
import eu.etaxonomy.cdm.model.common.LSID;\r
-import eu.etaxonomy.cdm.model.name.ITaxonNameBase;\r
+import eu.etaxonomy.cdm.model.name.TaxonName;\r
import eu.etaxonomy.cdm.model.taxon.Taxon;\r
import eu.etaxonomy.cdm.model.taxon.TaxonBase;\r
import eu.etaxonomy.cdm.model.view.AuditEvent;\r
return;\r
}\r
\r
- Taxon taxon = Taxon.NewInstance((ITaxonNameBase)null, null);\r
+ Taxon taxon = Taxon.NewInstance((TaxonName)null, null);\r
taxon.setTitleCache("TitleCache", true);\r
taxon.setCreated(new DateTime());\r
taxon.setLsid(new LSID("urn:lsid:example.org:taxonconcepts:1"));\r
return result;
}
-
- /* (non-Javadoc)
- * @see eu.etaxonomy.cdm.api.service.INameService#delete(eu.etaxonomy.cdm.model.name.TaxonNameBase, eu.etaxonomy.cdm.api.service.NameDeletionConfigurator)
- */
@Override
@Transactional(readOnly = false)
public DeleteResult delete(UUID nameUUID, NameDeletionConfigurator config) {
public final void testDeleteSynonymWithAnnotations(){
final String[]tableNames = {
-// "TaxonBase","TaxonBase_AUD", "TaxonNameBase","TaxonNameBase_AUD",
+// "TaxonBase","TaxonBase_AUD", "TaxonName","TaxonName_AUD",
// "HomotypicalGroup","HomotypicalGroup_AUD"
};