X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2Ffeatures%2FFeatureMatcherI.java;h=f1f85855bdd6ad22ba87c7c4eb9102616388550d;hb=0b573ed90b14079f7326281f50c0c9cffdace586;hp=07b060cfc53ae5911629f0c7d52329188ab41265;hpb=b320470d1ddb95476d3678477b72f6f791a51404;p=jalview.git diff --git a/src/jalview/datamodel/features/FeatureMatcherI.java b/src/jalview/datamodel/features/FeatureMatcherI.java index 07b060c..f1f8585 100644 --- a/src/jalview/datamodel/features/FeatureMatcherI.java +++ b/src/jalview/datamodel/features/FeatureMatcherI.java @@ -43,9 +43,23 @@ public interface FeatureMatcherI boolean isByScore(); /** + * Answers true if match is against a feature attribute (text or range) + * + * @return + */ + boolean isByAttribute(); + + /** * Answers the match condition that is applied * * @return */ MatcherI getMatcher(); + + /** + * Answers a string representation of this object suitable for use when + * persisting data, in a format that can be reliably read back. Any changes to + * the format should be backwards compatible. + */ + String toStableString(); }