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