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

java.lang.Object
  |
  +--uk.ac.sanger.psu.gfmerge.datacomp.GFMergeFeature
        |
        +--uk.ac.sanger.psu.gfmerge.datacomp.GeneModel
All Implemented Interfaces:
GeneModelAble, GFMergeFeatureAble, LocateAble

public class GeneModel
extends GFMergeFeature
implements GeneModelAble

class is representing a genemodel. GeneModel wraps the BioJava feature class.

For example:

 GeneModel gm = new GeneModel(prediction, feature);
 

Version:
1.0
Author:
Sebastian R. Spiegler

Field Summary
private  Prediction prediction
          reference to prediction object.
 
Fields inherited from class uk.ac.sanger.psu.gfmerge.datacomp.GFMergeFeature
 
Constructor Summary
GeneModel(Prediction prediction, org.biojava.bio.seq.StrandedFeature feature)
          constructor for GeneModel objects.
 
Method Summary
 Prediction getPrediction()
          accessor method which returns reference to prediction object.
private  void setPrediction(Prediction _prediction)
          accessor method which sets reference to prediction.
 
Methods inherited from class uk.ac.sanger.psu.gfmerge.datacomp.GFMergeFeature
getExons, getFeature, getIntrons, getLength, getLocation, getStrand, getTotalExonLength
 
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.GFMergeFeatureAble
getExons, getFeature, getIntrons, getLength, getTotalExonLength
 
Methods inherited from interface uk.ac.sanger.psu.gfmerge.datacomp.LocateAble
getLocation
 

Field Detail

prediction

private Prediction prediction
reference to prediction object.

Constructor Detail

GeneModel

public GeneModel(Prediction prediction,
                 org.biojava.bio.seq.StrandedFeature feature)
constructor for GeneModel objects.

Parameters:
prediction - reference to prediction object
feature - reference to BioJava feature object
Method Detail

getPrediction

public Prediction getPrediction()
accessor method which returns reference to prediction object.

Specified by:
getPrediction in interface GeneModelAble
Returns:
reference to prediction

setPrediction

private void setPrediction(Prediction _prediction)
accessor method which sets reference to prediction.

Parameters:
_prediction - reference to prediction object