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
Constructor Summary |
GeneModel(Prediction prediction,
org.biojava.bio.seq.StrandedFeature feature)
constructor for GeneModel objects. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
prediction
private Prediction prediction
- reference to prediction object.
GeneModel
public GeneModel(Prediction prediction,
org.biojava.bio.seq.StrandedFeature feature)
- constructor for GeneModel objects.
- Parameters:
prediction
- reference to prediction objectfeature
- reference to BioJava feature object
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