X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2Ffeatures%2FFeatureMatcherI.java;h=f1f85855bdd6ad22ba87c7c4eb9102616388550d;hb=7fb89dadbc3eac97602fc84e519014582abe4649;hp=07b060cfc53ae5911629f0c7d52329188ab41265;hpb=25e75b5a6eac9f5353b76aef114c47ead13a1392;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(); }