Revision 87e91505
Added by Andreas Müller over 10 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/strategy/match/DefaultMatchStrategy.java | ||
---|---|---|
28 | 28 |
import org.apache.log4j.Logger; |
29 | 29 |
|
30 | 30 |
import eu.etaxonomy.cdm.common.CdmUtils; |
31 |
import eu.etaxonomy.cdm.common.DOI; |
|
31 | 32 |
import eu.etaxonomy.cdm.common.DoubleResult; |
32 | 33 |
import eu.etaxonomy.cdm.hibernate.HibernateProxyHelper; |
33 | 34 |
import eu.etaxonomy.cdm.model.common.CdmBase; |
... | ... | |
211 | 212 |
//result &= matchPrimitiveField(matchFirst, matchSecond, fieldMatcher, replaceModeList); |
212 | 213 |
}else if(fieldType == URI.class){ |
213 | 214 |
result &= matchPrimitiveField(matchFirst, matchSecond, fieldMatcher, replaceModeList); |
215 |
}else if(fieldType == DOI.class){ |
|
216 |
result &= matchPrimitiveField(matchFirst, matchSecond, fieldMatcher, replaceModeList); |
|
214 | 217 |
}else if(isSingleCdmBaseObject(fieldType)){ |
215 | 218 |
result &= matchPrimitiveField(matchFirst, matchSecond, fieldMatcher, replaceModeList); |
216 | 219 |
}else if (isCollection(fieldType)){ |
Also available in: Unified diff
implement DOI class and use in Reference #3572