|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A type of feature.
Nested Class Summary |
Nested classes inherited from class org.biojava.bio.Annotatable |
Annotatable.AnnotationForwarder |
Field Summary |
Fields inherited from interface org.biojava.bio.Annotatable |
ANNOTATION |
Method Summary | |
java.lang.String |
getName()
Get the name of this type. |
java.util.Set |
getParents()
Get a set of URIs for parent types. |
FeatureFilter |
getSchema()
Get the schema for this type. |
java.lang.String |
getURI()
Get the URI for this type. |
Methods inherited from interface org.biojava.bio.Annotatable |
getAnnotation |
Methods inherited from interface org.biojava.utils.Changeable |
addChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListener |
Method Detail |
public FeatureFilter getSchema()
Get the schema for this type.
The schema is represented as a FeatureFilter. This will almost certainly be a complext filter using ands and ors to combine multiple constraints. A particular type may chose to restrict any one of the feature's properties, their allowed children and their allowed parents in a feature hierachy, the type of the annotation associated with it and anything else that can be expressed using a feature fitler.
For a feature to actualy conform to this type, it must be acceptable by the schema filter.
public java.lang.String getName()
public java.util.Set getParents()
public java.lang.String getURI()
Get the URI for this type.
The URI will be composed according to the rules defined in
FeatureTypes, being of the form
uri:biojava.org:types:${repository}/${type}
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |