public static interface FeatureTypes.Type extends Annotatable
Annotatable.AnnotationForwarder
ANNOTATION
Modifier and Type | Method and Description |
---|---|
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.
|
getAnnotation
addChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListener
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.
java.lang.String getName()
java.util.Set getParents()
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}
.