|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RichFeature
Represents a feature that can be given name and rank and be moved from one sequence to another.
Nested Class Summary | |
---|---|
static class |
RichFeature.Template
Added-value extension of Feature.Template including bits we're interested in, eg. |
static class |
RichFeature.Tools
Some useful tools for working with features. |
Nested classes/interfaces inherited from interface org.biojava.bio.seq.StrandedFeature |
---|
StrandedFeature.Strand |
Nested classes/interfaces inherited from interface org.biojava.bio.seq.Feature |
---|
Feature.ByLocationComparator |
Nested classes/interfaces inherited from interface org.biojava.bio.seq.FeatureHolder |
---|
FeatureHolder.EmptyFeatureHolder |
Nested classes/interfaces inherited from interface org.biojava.bio.Annotatable |
---|
Annotatable.AnnotationForwarder |
Field Summary | |
---|---|
static ChangeType |
CROSSREF
|
static ChangeType |
LOCATION
|
static ChangeType |
NAME
|
static ChangeType |
PARENT
|
static ChangeType |
RANK
|
static ChangeType |
RELATION
|
static ChangeType |
SOURCETERM
|
static ChangeType |
TYPETERM
|
Fields inherited from interface org.biojava.bio.seq.StrandedFeature |
---|
NEGATIVE, POSITIVE, STRAND, UNKNOWN |
Fields inherited from interface org.biojava.bio.seq.Feature |
---|
byLocationOrder, PROPERTY_DATA_KEY, SOURCE, TYPE |
Fields inherited from interface org.biojava.bio.seq.FeatureHolder |
---|
EMPTY_FEATURE_HOLDER, FEATURES, SCHEMA |
Fields inherited from interface org.biojava.bio.Annotatable |
---|
ANNOTATION |
Method Summary | |
---|---|
String |
getName()
Returns the name of this feature. |
int |
getRank()
Returns the rank of this feature. |
void |
setName(String name)
Sets the name of this feature. |
void |
setParent(FeatureHolder parent)
Sets the parent of this feature. |
void |
setRank(int rank)
Sets the rank of this feature. |
Methods inherited from interface org.biojava.bio.seq.StrandedFeature |
---|
getStrand, getSymbols, setStrand |
Methods inherited from interface org.biojava.bio.seq.Feature |
---|
features, getLocation, getParent, getSequence, getSource, getSourceTerm, getType, getTypeTerm, makeTemplate, setLocation, setSource, setSourceTerm, setType, setTypeTerm |
Methods inherited from interface org.biojava.bio.seq.FeatureHolder |
---|
containsFeature, countFeatures, createFeature, filter, filter, getSchema, removeFeature |
Methods inherited from interface org.biojava.utils.Changeable |
---|
addChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListener |
Methods inherited from interface org.biojava.bio.Annotatable |
---|
getAnnotation |
Methods inherited from interface org.biojava.utils.Changeable |
---|
addChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListener |
Methods inherited from interface org.biojavax.RankedCrossRefable |
---|
addRankedCrossRef, getRankedCrossRefs, removeRankedCrossRef, setRankedCrossRefs |
Methods inherited from interface org.biojavax.RichAnnotatable |
---|
getNoteSet, getRichAnnotation, setNoteSet |
Methods inherited from interface org.biojavax.bio.seq.RichFeatureRelationshipHolder |
---|
addFeatureRelationship, getFeatureRelationshipSet, removeFeatureRelationship, setFeatureRelationshipSet |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Field Detail |
---|
static final ChangeType NAME
static final ChangeType RANK
static final ChangeType SOURCETERM
static final ChangeType TYPETERM
static final ChangeType LOCATION
static final ChangeType PARENT
static final ChangeType CROSSREF
static final ChangeType RELATION
Method Detail |
---|
void setParent(FeatureHolder parent) throws ChangeVetoException
parent
- the parent the feature should identify itself with.
ChangeVetoException
- if the new value is unacceptable.String getName()
void setName(String name) throws ChangeVetoException
name
- the name the feature should identify itself with.
ChangeVetoException
- if the new value is unacceptable.int getRank()
void setRank(int rank) throws ChangeVetoException
rank
- the rank the feature should identify itself with.
ChangeVetoException
- if the new value is unacceptable.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |