uk.ac.sanger.psu.gfmerge.datacomp
Class Exon

java.lang.Object
  |
  +--uk.ac.sanger.psu.gfmerge.datacomp.FeatureComponent
        |
        +--uk.ac.sanger.psu.gfmerge.datacomp.Exon
All Implemented Interfaces:
ExonAble, FeatureComponentAble, LocateAble

public class Exon
extends FeatureComponent
implements ExonAble

class Exon is representing an biological exon which is a sublocation of a feature.

For example:

 Exon exon = new Exon(geneModel, location);
 

Version:
1.0
Author:
Sebastian R. Spiegler
See Also:
Exon, FeatureComponent, ExonAble

Field Summary
private  ExonType exonType
          typesafe enumeration of the Exon type
 
Fields inherited from class uk.ac.sanger.psu.gfmerge.datacomp.FeatureComponent
 
Constructor Summary
Exon(GFMergeFeature _gfmFeature, org.biojava.bio.symbol.Location _location)
          constructor for Exon object
 
Method Summary
 ExonType getExonType()
          accessor method which return exon type
 int getFrame()
          method which returns frame of the exon.
private  void setExonType()
          accessor method which sets exon type.
 
Methods inherited from class uk.ac.sanger.psu.gfmerge.datacomp.FeatureComponent
getGfmFeature, getLength, getLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface uk.ac.sanger.psu.gfmerge.datacomp.FeatureComponentAble
getGfmFeature, getLength
 
Methods inherited from interface uk.ac.sanger.psu.gfmerge.datacomp.LocateAble
getLocation
 

Field Detail

exonType

private ExonType exonType
typesafe enumeration of the Exon type

Constructor Detail

Exon

public Exon(GFMergeFeature _gfmFeature,
            org.biojava.bio.symbol.Location _location)
constructor for Exon object

Parameters:
_gfmFeature - reference to genemodel exon belongs to
_location - Location of exon
Method Detail

getExonType

public ExonType getExonType()
accessor method which return exon type

Specified by:
getExonType in interface ExonAble
Returns:
type of exon

getFrame

public int getFrame()
method which returns frame of the exon. Not implemented !!! Returns 0.

Specified by:
getFrame in interface ExonAble
Returns:
returns 0. Not implemented

setExonType

private void setExonType()
accessor method which sets exon type.