meshi.sequences
Class AlignmentCell

java.lang.Object
  extended by meshi.sequences.AlignmentCell
All Implemented Interfaces:
Attributable
Direct Known Subclasses:
AtomAlignmentCell, ResidueAlignmentCell, SequenceAlignmentCell

public abstract class AlignmentCell
extends java.lang.Object
implements Attributable

A container for a protein element and its number.


Field Summary
private  AttributesRack attributes
           
 java.lang.String comment
           
 int number
           
 java.lang.Object obj
           
 
Constructor Summary
AlignmentCell(java.lang.Object obj, int number)
           
AlignmentCell(java.lang.Object obj, int number, java.lang.String comment)
           
 
Method Summary
 void addAttribute(MeshiAttribute attribute)
           
 AlignmentColumn column()
           
abstract  boolean gap()
           
 MeshiAttribute getAttribute(int key)
           
 int number()
           
 java.lang.Object object()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

number

public final int number

obj

public final java.lang.Object obj

comment

public final java.lang.String comment

attributes

private AttributesRack attributes
Constructor Detail

AlignmentCell

public AlignmentCell(java.lang.Object obj,
                     int number)

AlignmentCell

public AlignmentCell(java.lang.Object obj,
                     int number,
                     java.lang.String comment)
Method Detail

object

public java.lang.Object object()

number

public int number()

gap

public abstract boolean gap()

column

public AlignmentColumn column()

addAttribute

public void addAttribute(MeshiAttribute attribute)
Specified by:
addAttribute in interface Attributable

getAttribute

public MeshiAttribute getAttribute(int key)
Specified by:
getAttribute in interface Attributable