Class FeatureDbReferenceInfo<S extends AbstractSequence<C>,C extends Compound> 
java.lang.Object
org.biojava.nbio.core.sequence.features.Qualifier
org.biojava.nbio.core.sequence.features.DBReferenceInfo
org.biojava.nbio.core.sequence.features.FeatureDbReferenceInfo<S,C> 
- Type Parameters:
 S-C-
- All Implemented Interfaces:
 FeatureInterface<S,C> 
public class FeatureDbReferenceInfo<S extends AbstractSequence<C>,C extends Compound> 
extends DBReferenceInfo
implements FeatureInterface<S,C> 
It is 
DBReferenceInfo which implements FeatureInterface. It allows to keep a dbReferenceInfo as a feature.- Author:
 - Jacek Grzebyta, Paolo Pavan
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddQualifier(String key, Qualifier qualifier) Add a qualifierGet the features contained by this featureGet the description that can be used to describe the featureThe location(s) of this feature where the location should contain a reference to parent and sequence etc.Get the parent featureGet the qualifiers for this featureGet the short description that can be used to describe the featureThe source of the feature.getType()The type of the feature.voidsetChildrenFeatures(List<FeatureInterface<S, C>> features) Set the children featuresvoidsetDescription(String description) Set the description that can be used to describe the featurevoidThe new location for this feature.voidsetParentFeature(FeatureInterface<S, C> feature) Set the parent featurevoidsetQualifiers(Map<String, List<Qualifier>> qualifiers) Set the qualifiersvoidsetShortDescription(String shortDescription) Set the short description that can be used to describe the featurevoidChange the source of the FeatureInterface.voidChange the type of this feature.voidsetUserObject(Object userObject) Methods inherited from class org.biojava.nbio.core.sequence.features.DBReferenceInfo
addProperty, getDatabase, getId, getProperties, setDatabase, setId, setProperties, toStringMethods inherited from class org.biojava.nbio.core.sequence.features.Qualifier
getName, getValue, needsQuotes, setName, setNeedsQuotes, setValue 
- 
Constructor Details
- 
FeatureDbReferenceInfo
 
 - 
 - 
Method Details
- 
getShortDescription
Description copied from interface:FeatureInterfaceGet the short description that can be used to describe the feature- Specified by:
 getShortDescriptionin interfaceFeatureInterface<S extends AbstractSequence<C>,C extends Compound> - Returns:
 
 - 
setShortDescription
Description copied from interface:FeatureInterfaceSet the short description that can be used to describe the feature- Specified by:
 setShortDescriptionin interfaceFeatureInterface<S extends AbstractSequence<C>,C extends Compound> 
 - 
getDescription
Description copied from interface:FeatureInterfaceGet the description that can be used to describe the feature- Specified by:
 getDescriptionin interfaceFeatureInterface<S extends AbstractSequence<C>,C extends Compound> - Returns:
 
 - 
setDescription
Description copied from interface:FeatureInterfaceSet the description that can be used to describe the feature- Specified by:
 setDescriptionin interfaceFeatureInterface<S extends AbstractSequence<C>,C extends Compound> 
 - 
getLocations
Description copied from interface:FeatureInterfaceThe location(s) of this feature where the location should contain a reference to parent and sequence etc.The location may be complicated, or simply a range. The annotation is assumed to apply to all the region contained within the location.
- Specified by:
 getLocationsin interfaceFeatureInterface<S extends AbstractSequence<C>,C extends Compound> - Returns:
 - a Location anchoring this feature
 
 - 
setLocation
Description copied from interface:FeatureInterfaceThe new location for this feature.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.
- Specified by:
 setLocationin interfaceFeatureInterface<S extends AbstractSequence<C>,C extends Compound> - Parameters:
 loc- the new Location for this feature
 - 
getType
Description copied from interface:FeatureInterfaceThe type of the feature.- Specified by:
 getTypein interfaceFeatureInterface<S extends AbstractSequence<C>,C extends Compound> - Returns:
 - the type of this sequence
 
 - 
setType
Description copied from interface:FeatureInterfaceChange the type of this feature.- Specified by:
 setTypein interfaceFeatureInterface<S extends AbstractSequence<C>,C extends Compound> - Parameters:
 type- new type String
 - 
getSource
Description copied from interface:FeatureInterfaceThe source of the feature. This may be a program or process.- Specified by:
 getSourcein interfaceFeatureInterface<S extends AbstractSequence<C>,C extends Compound> - Returns:
 - the source, or generator
 
 - 
setSource
Description copied from interface:FeatureInterfaceChange the source of the FeatureInterface.- Specified by:
 setSourcein interfaceFeatureInterface<S extends AbstractSequence<C>,C extends Compound> - Parameters:
 source- the new source String
 - 
setParentFeature
Description copied from interface:FeatureInterfaceSet the parent feature- Specified by:
 setParentFeaturein interfaceFeatureInterface<S extends AbstractSequence<C>,C extends Compound> 
 - 
getParentFeature
Description copied from interface:FeatureInterfaceGet the parent feature- Specified by:
 getParentFeaturein interfaceFeatureInterface<S extends AbstractSequence<C>,C extends Compound> - Returns:
 
 - 
getChildrenFeatures
Description copied from interface:FeatureInterfaceGet the features contained by this feature- Specified by:
 getChildrenFeaturesin interfaceFeatureInterface<S extends AbstractSequence<C>,C extends Compound> - Returns:
 
 - 
setChildrenFeatures
Description copied from interface:FeatureInterfaceSet the children features- Specified by:
 setChildrenFeaturesin interfaceFeatureInterface<S extends AbstractSequence<C>,C extends Compound> 
 - 
getUserObject
- Specified by:
 getUserObjectin interfaceFeatureInterface<S extends AbstractSequence<C>,C extends Compound> - Returns:
 - the userObject
 
 - 
setUserObject
- Specified by:
 setUserObjectin interfaceFeatureInterface<S extends AbstractSequence<C>,C extends Compound> - Parameters:
 userObject- the userObject to set
 - 
getQualifiers
Description copied from interface:FeatureInterfaceGet the qualifiers for this feature- Specified by:
 getQualifiersin interfaceFeatureInterface<S extends AbstractSequence<C>,C extends Compound> - Returns:
 
 - 
setQualifiers
Description copied from interface:FeatureInterfaceSet the qualifiers- Specified by:
 setQualifiersin interfaceFeatureInterface<S extends AbstractSequence<C>,C extends Compound> 
 - 
addQualifier
Description copied from interface:FeatureInterfaceAdd a qualifier- Specified by:
 addQualifierin interfaceFeatureInterface<S extends AbstractSequence<C>,C extends Compound> 
 
 -