Class NcbiIdDesignElementMapper
java.lang.Object
ubic.gemma.core.loader.util.mapper.AbstractGeneIdentifierBasedDesignElementMapper<Integer>
ubic.gemma.core.loader.util.mapper.NcbiIdDesignElementMapper
- All Implemented Interfaces:
DesignElementMapper, EntityMapper<CompositeSequence>
public class NcbiIdDesignElementMapper
extends AbstractGeneIdentifierBasedDesignElementMapper<Integer>
Match design elements using the NCBI ID.
- Author:
- poirigui
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface EntityMapper
EntityMapper.MappingStatistics, EntityMapper.StatefulEntityMapper<T> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected IntegergetIdentifier(Gene gene) Extract an identifier from the gene.getName()Obtain the name of the mapping strategy.protected IntegerprocessIdentifier(String identifier) Extract an identifier from an externally supplied string.Methods inherited from class AbstractGeneIdentifierBasedDesignElementMapper
forCandidates, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface DesignElementMapper
forCandidatesMethods inherited from interface EntityMapper
contains, containsAny, getMappingStatistics, matchAll, matchAll, matchOne, matchOne
-
Constructor Details
-
NcbiIdDesignElementMapper
-
-
Method Details
-
getName
Description copied from interface:EntityMapperObtain the name of the mapping strategy. -
getIdentifier
Description copied from class:AbstractGeneIdentifierBasedDesignElementMapperExtract an identifier from the gene.- Specified by:
getIdentifierin classAbstractGeneIdentifierBasedDesignElementMapper<Integer>
-
processIdentifier
Description copied from class:AbstractGeneIdentifierBasedDesignElementMapperExtract an identifier from an externally supplied string.This may return null if the identifier cannot be parsed.
- Specified by:
processIdentifierin classAbstractGeneIdentifierBasedDesignElementMapper<Integer>
-