public interface RichFeature extends StrandedFeature, RankedCrossRefable, RichAnnotatable, RichFeatureRelationshipHolder, Comparable
Modifier and Type | Interface and Description |
---|---|
static class |
RichFeature.Template
Added-value extension of Feature.Template including bits we're
interested in, eg. featureRelationshipSet for relationships with
other features, and rankedCrossRefs for lookups into other databases.
|
static class |
RichFeature.Tools
Some useful tools for working with features.
|
StrandedFeature.Strand
Feature.ByLocationComparator
FeatureHolder.EmptyFeatureHolder
Annotatable.AnnotationForwarder
Modifier and Type | Field and Description |
---|---|
static ChangeType |
CROSSREF |
static ChangeType |
LOCATION |
static ChangeType |
NAME |
static ChangeType |
PARENT |
static ChangeType |
RANK |
static ChangeType |
RELATION |
static ChangeType |
SOURCETERM |
static ChangeType |
TYPETERM |
NEGATIVE, POSITIVE, STRAND, UNKNOWN
byLocationOrder, PROPERTY_DATA_KEY, SOURCE, TYPE
EMPTY_FEATURE_HOLDER, FEATURES, SCHEMA
ANNOTATION
Modifier and Type | Method and Description |
---|---|
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.
|
getStrand, getSymbols, setStrand
features, getLocation, getParent, getSequence, getSource, getSourceTerm, getType, getTypeTerm, makeTemplate, setLocation, setSource, setSourceTerm, setType, setTypeTerm
containsFeature, countFeatures, createFeature, filter, filter, getSchema, removeFeature
getAnnotation
addChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListener
addRankedCrossRef, getRankedCrossRefs, removeRankedCrossRef, setRankedCrossRefs
getNoteSet, getRichAnnotation, setNoteSet
addFeatureRelationship, getFeatureRelationshipSet, removeFeatureRelationship, setFeatureRelationshipSet
compareTo
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
void setParent(FeatureHolder parent) throws ChangeVetoException
parent
- the parent the feature should identify itself with.ChangeVetoException
- if the new value is unacceptable.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.Copyright © 2014 BioJava. All rights reserved.