Package org.biojava.bio.program.gff3
Class GFF3Record.Impl
- java.lang.Object
-
- org.biojava.utils.AbstractChangeable
-
- org.biojava.bio.program.gff3.GFF3Record.Impl
-
- All Implemented Interfaces:
Annotatable,GFF3Record,Changeable
- Enclosing interface:
- GFF3Record
public static final class GFF3Record.Impl extends AbstractChangeable implements GFF3Record
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.biojava.bio.Annotatable
Annotatable.AnnotationForwarder
-
Nested classes/interfaces inherited from interface org.biojava.bio.program.gff3.GFF3Record
GFF3Record.Impl
-
-
Field Summary
-
Fields inherited from interface org.biojava.bio.Annotatable
ANNOTATION
-
-
Constructor Summary
Constructors Constructor Description Impl()Impl(GFF3Record rec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotationgetAnnotation()Should return the associated annotation object.intgetEnd()intgetPhase()doublegetScore()StringgetSequenceID()TermgetSource()intgetStart()StrandedFeature.StrandgetStrand()TermgetType()voidsetEnd(int end)voidsetPhase(int phase)voidsetScore(double score)voidsetSequenceID(String sequenceID)voidsetSource(Term source)voidsetStart(int start)voidsetStrand(StrandedFeature.Strand strand)voidsetType(Term type)-
Methods inherited from class org.biojava.utils.AbstractChangeable
addChangeListener, addChangeListener, generateChangeSupport, getChangeSupport, hasListeners, hasListeners, isUnchanging, removeChangeListener, removeChangeListener
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.biojava.utils.Changeable
addChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListener
-
-
-
-
Constructor Detail
-
Impl
public Impl()
-
Impl
public Impl(GFF3Record rec)
-
-
Method Detail
-
getSequenceID
public String getSequenceID()
- Specified by:
getSequenceIDin interfaceGFF3Record
-
setSequenceID
public void setSequenceID(String sequenceID)
-
getSource
public Term getSource()
- Specified by:
getSourcein interfaceGFF3Record
-
getType
public Term getType()
- Specified by:
getTypein interfaceGFF3Record
-
getStart
public int getStart()
- Specified by:
getStartin interfaceGFF3Record
-
setStart
public void setStart(int start)
-
getEnd
public int getEnd()
- Specified by:
getEndin interfaceGFF3Record
-
setEnd
public void setEnd(int end)
-
getScore
public double getScore()
- Specified by:
getScorein interfaceGFF3Record
-
setScore
public void setScore(double score)
-
getStrand
public StrandedFeature.Strand getStrand()
- Specified by:
getStrandin interfaceGFF3Record
-
setStrand
public void setStrand(StrandedFeature.Strand strand)
-
getPhase
public int getPhase()
- Specified by:
getPhasein interfaceGFF3Record
-
setPhase
public void setPhase(int phase)
-
getAnnotation
public Annotation getAnnotation()
Description copied from interface:AnnotatableShould return the associated annotation object.- Specified by:
getAnnotationin interfaceAnnotatable- Returns:
- an Annotation object, never null
-
-