org.biojava.bio.alignment
Class SimpleAlignmentElement

java.lang.Object
  extended byorg.biojava.bio.alignment.SimpleAlignmentElement
All Implemented Interfaces:
AlignmentElement

public class SimpleAlignmentElement
extends java.lang.Object
implements AlignmentElement

SimpleSimpleAlignment is a simple implementation of AlignmentElement.

Author:
David Waring

Field Summary
protected  java.lang.Object label
           
protected  Location loc
           
protected  SymbolList seq
           
 
Constructor Summary
SimpleAlignmentElement(java.lang.Object label, SymbolList seq, Location loc)
           
 
Method Summary
 java.lang.Object getLabel()
           
 Location getLoc()
           
 SymbolList getSymbolList()
           
 void setLoc(Location nLoc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

label

protected java.lang.Object label

loc

protected Location loc

seq

protected SymbolList seq
Constructor Detail

SimpleAlignmentElement

public SimpleAlignmentElement(java.lang.Object label,
                              SymbolList seq,
                              Location loc)
                       throws BioException
Method Detail

getLabel

public java.lang.Object getLabel()
Specified by:
getLabel in interface AlignmentElement

getLoc

public Location getLoc()
Specified by:
getLoc in interface AlignmentElement

getSymbolList

public SymbolList getSymbolList()
Specified by:
getSymbolList in interface AlignmentElement

setLoc

public void setLoc(Location nLoc)
            throws BioError
Specified by:
setLoc in interface AlignmentElement
Throws:
BioError