org.biojava.bio.seq.impl
Class SimpleFramedFeature
java.lang.Object
org.biojava.utils.AbstractChangeable
org.biojava.bio.seq.impl.SimpleFeature
org.biojava.bio.seq.impl.SimpleStrandedFeature
org.biojava.bio.seq.impl.SimpleFramedFeature
- All Implemented Interfaces:
- Annotatable, Changeable, Feature, FeatureHolder, Frame, FramedFeature, RealizingFeatureHolder, java.io.Serializable, StrandedFeature
- public class SimpleFramedFeature
- extends SimpleStrandedFeature
- implements FramedFeature, Frame
Title: SimpleFramedFeature.
Description: A no frills implementation of FramedFeature.
Copyright: Copyright (c) 2001.
- Version:
- 1.0
- Author:
- Mark Schreiber
- See Also:
- Serialized Form
Methods inherited from class org.biojava.bio.seq.impl.SimpleFeature |
containsFeature, countFeatures, createFeature, equals, featureHolderAllocated, features, fillTemplate, filter, filter, getAnnotation, getChangeSupport, getFeatureHolder, getLocation, getParent, getSchema, getSequence, getSource, getType, hashCode, realizeFeature, removeFeature, setLocation, setSource, setType |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SimpleFramedFeature
public SimpleFramedFeature(Sequence sourceSeq,
FeatureHolder parent,
FramedFeature.Template template)
throws IllegalAlphabetException
getReadingFrame
public FramedFeature.ReadingFrame getReadingFrame()
- Description copied from interface:
FramedFeature
- return the reading frame of the feature.
- Specified by:
getReadingFrame
in interface FramedFeature
getFrame
public int getFrame()
- Description copied from interface:
Frame
- A method to get the frame information of the implementing object
- Specified by:
getFrame
in interface Frame
- Returns:
- an integer from 0 to 2 representing the frame.
makeTemplate
public Feature.Template makeTemplate()
- Description copied from interface:
Feature
- Create a new Template that could be used to generate a feature identical
to this one. The fields of the template can be edited without changing
the feature.
- Specified by:
makeTemplate
in interface Feature
- Overrides:
makeTemplate
in class SimpleStrandedFeature
fillTemplate
protected void fillTemplate(FramedFeature.Template ft)
toString
public java.lang.String toString()
- Overrides:
toString
in class SimpleStrandedFeature