Home Original page

SimpleAlignmentElement (biojava-legacy 1.9.5 API)

  • java.lang.Object
    • org.biojava.bio.alignment.SimpleAlignmentElement
  • All Implemented Interfaces:
    AlignmentElement

    public class SimpleAlignmentElement
    extends Object
    implements AlignmentElement

    SimpleSimpleAlignment is a simple implementation of AlignmentElement.

    Author:
    David Waring
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected String label  
      protected Location loc  
      protected SymbolList seq  
    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleAlignmentElement​(String label, SymbolList seq, Location loc)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String 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 String label
      • loc

        protected Location loc
      • seq

        protected SymbolList seq
    • Constructor Detail

      • SimpleAlignmentElement

        public SimpleAlignmentElement​(String label,
                                      SymbolList seq,
                                      Location loc)
                               throws BioException
        Throws:
        BioException
    • Method Detail

      • getLabel

        public String 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