public interface FeatureInterface<S extends AbstractSequence<C>,C extends Compound>
Modifier and Type | Method and Description |
---|---|
void |
addQualifier(java.lang.String key,
Qualifier qualifier)
Add a qualifier
|
java.util.List<FeatureInterface<S,C>> |
getChildrenFeatures()
Get the features contained by this feature
|
java.lang.String |
getDescription()
Get the description that can be used to describe the feature
|
AbstractLocation |
getLocations()
The location(s) of this feature where the location should contain a reference to parent and sequence etc.
|
FeatureInterface<S,C> |
getParentFeature()
Get the parent feature
|
java.util.Map<java.lang.String,java.util.List<Qualifier>> |
getQualifiers()
Get the qualifiers for this feature
|
java.lang.String |
getShortDescription()
Get the short description that can be used to describe the feature
|
java.lang.String |
getSource()
The source of the feature.
|
java.lang.String |
getType()
The type of the feature.
|
java.lang.Object |
getUserObject() |
void |
setChildrenFeatures(java.util.List<FeatureInterface<S,C>> features)
Set the children features
|
void |
setDescription(java.lang.String description)
Set the description that can be used to describe the feature
|
void |
setLocation(AbstractLocation loc)
The new location for this feature.
|
void |
setParentFeature(FeatureInterface<S,C> feature)
Set the parent feature
|
void |
setQualifiers(java.util.Map<java.lang.String,java.util.List<Qualifier>> qualifiers)
Set the qualifiers
|
void |
setShortDescription(java.lang.String shortDescription)
Set the short description that can be used to describe the feature
|
void |
setSource(java.lang.String source)
Change the source of the FeatureInterface.
|
void |
setType(java.lang.String type)
Change the type of this feature.
|
void |
setUserObject(java.lang.Object userObject) |
java.lang.String getShortDescription()
void setShortDescription(java.lang.String shortDescription)
shortDescription
- java.lang.String getDescription()
void setDescription(java.lang.String description)
AbstractLocation getLocations()
The location may be complicated, or simply a range. The annotation is assumed to apply to all the region contained within the location.
void setLocation(AbstractLocation loc)
The location may be complicated or simply a range. The annotation is assumed to apply to the entire region contained within the location. Any values returned from methods that rely on the old location must not be affected.
loc
- the new Location for this featurejava.lang.String getType()
void setType(java.lang.String type)
type
- new type Stringjava.lang.String getSource()
void setSource(java.lang.String source)
source
- the new source Stringvoid setParentFeature(FeatureInterface<S,C> feature)
feature
- FeatureInterface<S,C> getParentFeature()
java.util.List<FeatureInterface<S,C>> getChildrenFeatures()
void setChildrenFeatures(java.util.List<FeatureInterface<S,C>> features)
features
- java.lang.Object getUserObject()
void setUserObject(java.lang.Object userObject)
userObject
- the userObject to setjava.util.Map<java.lang.String,java.util.List<Qualifier>> getQualifiers()
void setQualifiers(java.util.Map<java.lang.String,java.util.List<Qualifier>> qualifiers)
qualifiers
- void addQualifier(java.lang.String key, Qualifier qualifier)
qualifier
-