Package org.biojava.bio.seq
Interface FeatureTypes.Repository
- All Superinterfaces:
Annotatable
,Changeable
- All Known Implementing Classes:
FeatureTypes.RepositoryImpl
- Enclosing class:
FeatureTypes
A named collection of Types.
- Since:
- 1.3
- Author:
- Matthew Pocock
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.biojava.bio.Annotatable
Annotatable.AnnotationForwarder
-
Field Summary
Fields inherited from interface org.biojava.bio.Annotatable
ANNOTATION
-
Method Summary
Methods inherited from interface org.biojava.bio.Annotatable
getAnnotation
Methods inherited from interface org.biojava.utils.Changeable
addChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListener
-
Method Details
-
getName
The name of this repository.
This will be the ${repository} component of any URIs of types defined here.
- Returns:
- the name of the repository
-
getTypes
Get a set of all type names defined in this repository.- Returns:
- a Set of Type names as Strings
-
getType
Find the type for a name.- Parameters:
name
- the name of the Type- Returns:
- the Type of that name
- Throws:
NoSuchElementException
- if that type can not be found
-