uk.ac.man.bioinf.sequence.identifier
Class AbstractIdentifier

java.lang.Object
  |
  +--uk.ac.man.bioinf.sequence.identifier.AbstractIdentifier
All Implemented Interfaces:
Identifier
Direct Known Subclasses:
ConsensusIdentifier, DatabaseIdentifier, SimpleIdentifier

public abstract class AbstractIdentifier
extends Object
implements Identifier

AbstractSequenceIdentifier.java Created: Wed Jul 5 16:00:43 2000

Version:
$Id: AbstractIdentifier.java,v 1.3 2001/05/24 15:36:13 lord Exp $
Author:
Phillip Lord

Constructor Summary
AbstractIdentifier(Source source)
           
 
Method Summary
 Source getSource()
          This returns the source of the sequence.
 void setSource(Source source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface uk.ac.man.bioinf.sequence.identifier.Identifier
getTitle
 

Constructor Detail

AbstractIdentifier

public AbstractIdentifier(Source source)
Method Detail

getSource

public Source getSource()
Description copied from interface: Identifier
This returns the source of the sequence. This might be a File object if the sequence has been read straight from file, or a URL from the internet. Alternatively it could be a Java Obect reference if the sequence has been retrieved by calculation, say of a Consensus.

Specified by:
getSource in interface Identifier
Returns:

setSource

public void setSource(Source source)
Specified by:
setSource in interface Identifier