Package org.biojava.bio.seq
Class Feature.Template
java.lang.Object
org.biojava.bio.seq.Feature.Template
- All Implemented Interfaces:
Serializable
,Cloneable
- Direct Known Subclasses:
RichFeature.Template
,StrandedFeature.Template
- Enclosing interface:
Feature
Template class for a plain feature.
This just has fields for representing the properties of a basic Feature. Each sub-interface should provide a template class that inherits off this, and the constructor or factory methods should make a particular feature implementation from the template.
The equals(), hashcode(), toString() and populate() methods are defined such that two templates are equal if all their fields are equal. These are implemented by reflection, and automatically pick up any extra fields added in subclasses.
- Author:
- Thomas Down, Matthew Pocock
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
location
-
type
-
source
-
typeTerm
-
sourceTerm
-
annotation
-
-
Constructor Details
-
Template
public Template()
-
-
Method Details