Package org.biojava.bio.alignment
Class SimpleAlignmentElement
- java.lang.Object
-
- org.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
Fields Modifier and Type Field Description protected java.lang.Objectlabelprotected Locationlocprotected SymbolListseq
-
Constructor Summary
Constructors Constructor Description SimpleAlignmentElement(java.lang.Object label, SymbolList seq, Location loc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetLabel()LocationgetLoc()SymbolListgetSymbolList()voidsetLoc(Location nLoc)
-
-
-
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- Throws:
BioException
-
-
Method Detail
-
getLabel
public java.lang.Object getLabel()
- Specified by:
getLabelin interfaceAlignmentElement
-
getLoc
public Location getLoc()
- Specified by:
getLocin interfaceAlignmentElement
-
getSymbolList
public SymbolList getSymbolList()
- Specified by:
getSymbolListin interfaceAlignmentElement
-
setLoc
public void setLoc(Location nLoc) throws BioError
- Specified by:
setLocin interfaceAlignmentElement- Throws:
BioError
-
-