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 Annotation
getAnnotation()
Should return the associated annotation object.int
getEnd()
int
getPhase()
double
getScore()
String
getSequenceID()
Term
getSource()
int
getStart()
StrandedFeature.Strand
getStrand()
Term
getType()
void
setEnd(int end)
void
setPhase(int phase)
void
setScore(double score)
void
setSequenceID(String sequenceID)
void
setSource(Term source)
void
setStart(int start)
void
setStrand(StrandedFeature.Strand strand)
void
setType(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:
getSequenceID
in interfaceGFF3Record
-
setSequenceID
public void setSequenceID(String sequenceID)
-
getSource
public Term getSource()
- Specified by:
getSource
in interfaceGFF3Record
-
getType
public Term getType()
- Specified by:
getType
in interfaceGFF3Record
-
getStart
public int getStart()
- Specified by:
getStart
in interfaceGFF3Record
-
setStart
public void setStart(int start)
-
getEnd
public int getEnd()
- Specified by:
getEnd
in interfaceGFF3Record
-
setEnd
public void setEnd(int end)
-
getScore
public double getScore()
- Specified by:
getScore
in interfaceGFF3Record
-
setScore
public void setScore(double score)
-
getStrand
public StrandedFeature.Strand getStrand()
- Specified by:
getStrand
in interfaceGFF3Record
-
setStrand
public void setStrand(StrandedFeature.Strand strand)
-
getPhase
public int getPhase()
- Specified by:
getPhase
in interfaceGFF3Record
-
setPhase
public void setPhase(int phase)
-
getAnnotation
public Annotation getAnnotation()
Description copied from interface:Annotatable
Should return the associated annotation object.- Specified by:
getAnnotation
in interfaceAnnotatable
- Returns:
- an Annotation object, never null
-
-