As of BioJava 1.2, the known ChangeTypes of a system follow a simple hierarchy with single inheritance. All ChangeTypes (except ChangeType.UNKNOWN) have a parent ChangeType (defaulting to ChangeType.UNKNOWN). Generally, when a listener is registered for changetype foo
, changes of type bar
should be accepted if bar
is a sub-type of foo
. This can be checked using an expression like:
bar.isMatchingType(foo);@author Thomas Down @author Matthew Pocock @since 1.1
|
|