Show
Ignore:
Timestamp:
08/15/09 09:16:27 (3 years ago)
Author:
jgao
Message:

boolean isMappingSupported(src, tgt) in IDMapperCapabilities

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/corelib/src/org/bridgedb/AbstractIDMapperCapabilities.java

    r129 r157  
    8080        } 
    8181 
     82        /** {@inheritDoc} */ 
     83        public boolean isMappingSupported(DataSource src, DataSource tgt) 
     84                        throws IDMapperException  { 
     85            return getSupportedSrcDataSources().contains(src) 
     86                    && getSupportedTgtDataSources().contains(tgt); 
     87        } 
     88 
    8289        /** {@inheritDoc} */ 
    8390        public boolean isFreeSearchSupported()